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
| span.text-content { | |
| background: rgba(0,0,0,0.5); | |
| color: white; | |
| cursor: pointer; | |
| display: table; | |
| height: 150px; | |
| left: 0; | |
| position: absolute; | |
| top: 0; | |
| width: 150px; |
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
| span.text-content { | |
| background: rgba(0,0,0,0.5); | |
| color: white; | |
| cursor: pointer; | |
| display: table; | |
| height: 150px; | |
| left: 0; | |
| position: absolute; | |
| top: 0; | |
| width: 150px; |
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
| span.text-content { | |
| background: rgba(0,0,0,0.5); | |
| color: white; | |
| cursor: pointer; | |
| display: table; | |
| height: 150px; | |
| left: 0; | |
| position: absolute; | |
| top: 0; | |
| width: 150px; |
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.img-list { | |
| list-style-type: none; | |
| margin: 0; | |
| padding: 0; | |
| text-align: center; | |
| } | |
| ul.img-list li { | |
| display: inline-block; | |
| height: 150px; |
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 class="img-list"> | |
| <li> | |
| <a href="http://nataliemac.com"> | |
| <img src="http://geekgirllife.com/images/filename.jpg" width="150" height="150" /> | |
| <span class="text-content"><span>Place Name</span></span> | |
| </a> | |
| </li> | |
| ... | |
| </ul> |
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
| converting pixels to rems | |
| @function cr($size) { | |
| $remSize: $size / 16px; | |
| @return #{$remSize}rem; | |
| } | |
| Calling the function: | |
| body { |
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
| Setting up breakpoints: | |
| @mixin bp($point) { | |
| @if $point == lg { | |
| @media screen and (min-width: 960px) { @content; } | |
| } | |
| @else if $point == md { | |
| @media screen and (min-width: 600px) { @content; } | |
| } | |
| @else if $point == sm { |
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
| .site-description { | |
| font-family: 'Rouge Script', cursive; | |
| } |
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, h2, h3, h4, h5, h6 { | |
| font-family: 'Holtwood One SC', serif; | |
| } |
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
| function ggl_load_styles() { | |
| if (!is_admin()) { | |
| wp_register_style('googleFont', 'http://fonts.googleapis.com/css?family=Holtwood+One+SC|Rouge+Script'); | |
| wp_enqueue_style('ggl', get_stylesheet_uri(), array('googleFont') ); | |
| } | |
| } | |
| add_action('wp_enqueue_scripts', 'ggl_load_styles'); |