This file contains 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() { | |
} |
This file contains 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'); | |
} | |
} |
This file contains 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') ); | |
} | |
} |
This file contains 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'); |
This file contains 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 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 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 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 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 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; |
OlderNewer