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
.DS_Store | |
.AppleDouble | |
.LSOverride | |
# Icon must ends with two \r. | |
Icon | |
# Thumbnails | |
._* |
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
.font-size(@sizeValue) { | |
@pxValue: @sizeValue; | |
@remValue: (@sizeValue / 10); | |
font-size: ~"@{pxValue}px"; | |
font-size: ~"@{remValue}rem"; | |
} | |
//Apply it by adding .font-size(16); to get 16px and 1.6rem |
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 | |
if ( has_post_thumbnail() ) { | |
the_post_thumbnail('posts-thumb', array('class' => 'img-responsive')); | |
} | |
else { | |
echo '<img src="http://placehold.it/300x320&text=No+featured+image" class="img-responsive" alt="">'; | |
} | |
?> |
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
li { | |
width: 200px; | |
min-height: 250px; | |
display: -moz-inline-stack; | |
display: inline-block; | |
vertical-align: top; | |
zoom: 1; | |
*display: inline; | |
_height: 250px; | |
} |
NewerOlder