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
| background: rgba(0, 0, 0, 0); |
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
| @mixin caret($point, $border-width, $color) { | |
| $opposite: opposite-position($point); | |
| border: $border-width solid transparent; | |
| border-#{$opposite}: $border-width solid $color; | |
| border-#{$point}: 0; | |
| height: 0; | |
| width: 0; | |
| } |
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
| ul { | |
| list-style: none; | |
| li { | |
| padding-left: 1em; | |
| text-indent: -.7em; | |
| } | |
| li:before { | |
| content: "\002022"; |
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
| /* ******************** | |
| * Limit post excerpts. Within theme files used as | |
| * print string_limit_words(get_the_excerpt(), 20); | |
| ******************************************************************** */ | |
| function string_limit_words($string, $word_limit) { $words = explode(' ', $string, ($word_limit + 1)); if(count($words) > $word_limit) array_pop($words); return implode(' ', $words); } |
NewerOlder