This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // a js/node sleep/delay because I always forget how | |
| // credit: https://stackoverflow.com/a/49139664/17252 | |
| await new Promise(resolve => setTimeout(resolve, 2000)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| document.addEventListener('keydown', function(e) { | |
| if (e.keyCode == 75 && (e.ctrlKey || e.metaKey)) { | |
| console.clear(); | |
| } | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // puts a little box in the bottom right instead of changing the body bg color | |
| body:after { | |
| content: 'xlg'; | |
| position: fixed; | |
| z-index: 99999; | |
| bottom: 0; | |
| right: 0; | |
| padding: 2px 5px; | |
| border: 1px solid; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $table-rounded-border-color-outer: #ccc; | |
| $table-rounded-border-color-inner: #ddd; | |
| $table-rounded-border-radius: 5px; | |
| .table-rounded { | |
| border-collapse: separate; | |
| border: 1px solid $table-rounded-border-color-outer; | |
| border-width: 1px 0 0 1px; | |
| border-radius: $table-rounded-border-radius; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| input[type="password"] { | |
| font-family: Verdana, Impact, serif; | |
| font-weight: bolder; | |
| letter-spacing: 0.1em; | |
| // reset for placeholders (if using them) | |
| // assumes '$font-sans' is the default font for your inputs | |
| &::-webkit-input-placeholder { | |
| font-family: $font-sans; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h1>abcd efg hijk lmnop qrs tuv wxyz</h1> | |
| <h1>1234567890 ?! $#@%&*() - = + :;""''.,/</h1> | |
| <h1>ABCD EFG HIJK LMNOP QRS TUV WXYZ</h1> | |
| <h2>abcd efg hijk lmnop qrs tuv wxyz</h2> | |
| <h2>1234567890 ?! $#@%&*() - = + :;""''.,/</h2> | |
| <h2>ABCD EFG HIJK LMNOP QRS TUV WXYZ</h2> | |
| <h3>abcd efg hijk lmnop qrs tuv wxyz</h3> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $category-colors: ( | |
| alpha: red, | |
| bravo: darkorange, | |
| charlie: gold, | |
| delta: yellowgreen, | |
| echo: green, | |
| foxtrot: skyblue, | |
| golf: blue, | |
| hotel: purple, | |
| india: violet, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $max-columns: 8; | |
| @for $i from 2 through $max-columns { | |
| @for $j from 1 through ($i - 1) { | |
| .col-#{$j}-#{$i} { | |
| width: decimal-floor((($j / $i) * 100%), 3); | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $total-cols: 12; | |
| .col-group { | |
| position: relative; | |
| // @include clearfix; // bourbon | |
| // @include pie-clearfix; // compass | |
| } | |
| .col { |