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
/* | |
Really Simple Grid Sysrem | |
*/ | |
.grid img { | |
max-width: 100%; | |
height: auto; | |
} | |
.grid { | |
width: 100%; |
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
#your-thing-id.your-toggle-class { | |
/* | |
Any styling you like can go in here, for example... | |
*/ | |
background: yellow; | |
} |
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
<?php $hero = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' ); ?> | |
<div class="hero-background-image" style="background: url('<?php echo $hero['0'];?>') center top no-repeat;"> | |
<!-- Put your loop <header> in here. --> | |
</div> |
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
.hero-background-image[style] { | |
height: 340px !important; | |
background-color: #888 !important; | |
background-size: auto 340px !important; | |
@media (min-width: 768px) { | |
height: 440px !important; | |
background-size: auto 440px !important; | |
} | |
@media (min-width: 1024px) { | |
height: 500px !important; |
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
.sticky { | |
position: absolute; | |
right: 0; | |
z-index: 150; | |
transform: rotate(5deg); | |
width: 200px; | |
min-height: 150px; | |
margin: -10px 10px 10px; | |
padding: 10px; | |
font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", "Comic Neue", 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
/* Responsive Container (because Bootstrap 4.0.0 doesn't have this) */ | |
.container-responsive { | |
width: 100%; | |
max-width: 1140px; | |
padding-right: 15px; | |
padding-left: 15px; | |
margin-right: auto; | |
margin-left: auto; | |
} |
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
.container-responsive { | |
width: 100%; | |
max-width: 1140px; | |
padding-right: 15px; | |
padding-left: 15px; | |
margin-right: auto; | |
margin-left: auto; | |
} | |
.navbar > .container-responsive { |
OlderNewer