A mixin for writing @font-face rules in SASS.
Create a font face rule. Embedded OpenType, WOFF2, WOFF, TrueType, and SVG files are automatically sourced.
@include font-face(Samplino, fonts/Samplino);
<?php | |
$images = getFieldOrder('img'); | |
$i = 0; | |
foreach($images as $image) { | |
$i++; | |
$nuevos = array ("w" => 300, "h" => 200, "zc" => 1, "q" => 100); | |
$image_thumb = get_image('img', 1, $i, 0, NULL, $nuevos); | |
$image_link = get_image('img', 1, $i, 0, NULL); ?> | |
<?php echo $image_thumb; ?><br/> |
<?php | |
wp_reset_query(); | |
global $withcomments; | |
$withcomments = 1; | |
comments_template( '', true ); |
@media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ } | |
@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ } | |
@media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ } | |
@media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ } | |
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ } | |
@media (min-width:1281px) { /* hi-res laptops and desktops */ } |
/* @include font-face(SourceSansPro, '/fonts/Source_Sans_Pro/SourceSansPro-Regular'); */ | |
@font-face { | |
font-family: SourceSansPro; | |
font-weight: normal; | |
font-style: normal; | |
src: url(/assets/Source_Sans_Pro/SourceSansPro-Regular.eot); | |
src: url(/assets/Source_Sans_Pro/SourceSansPro-Regular.eot?#iefix) format("embedded-opentype"), | |
url(/assets/Source_Sans_Pro/SourceSansPro-Regular.woff) format("woff"), | |
url(/assets/Source_Sans_Pro/SourceSansPro-Regular.ttf) format("truetype"), |
git ls-files -z | xargs -0n1 git blame -w | perl -n -e '/^.*\((.*?)\s*[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n |