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 | |
// Load parent style sheet | |
add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' ); | |
function enqueue_parent_theme_style() { | |
wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); | |
} | |
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin breakpoint( $breakpoint, $size: min ) { | |
@media only screen and (#{$size}-width : $breakpoint) { | |
@content; | |
} | |
} |
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
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin bgimage($name,$ext:png) { | |
$url:"../../images/#{$name}.#{$ext}"; | |
background: url($url); | |
} |
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
<section class="tier1-event"> | |
This is content | |
</section> | |
<section class="tier1-event"> | |
This is content | |
</section> | |
<section class="tier1-event"> | |
This is content | |
</section> | |
<p>I'm text</p> |
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
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
.property-transactions { | |
padding: rem-calc(10) 30px/2; | |
&__item { | |
display: flex; |
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
gulp.task('styles', function() { | |
gulp.src('assets/sass/**/*.scss') | |
.pipe(sourcemaps.init()) | |
.pipe(sass({ | |
outputStyle: 'compressed' | |
}) | |
.on('error', notify.onError(function(error) { | |
return "Error: " + error.message; | |
})) | |
) |
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
{ | |
"rules" : | |
[ | |
{ | |
"class": "HeaderSubTitleRule", | |
"selector" : "header .subheadline" | |
}, | |
{ | |
"class": "SocialEmbedRule", | |
"selector" : ".entry-media figure iframe", |
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
<html> | |
<head> | |
<link rel="canonical" href="http://freebeacon.com/politics/cuomo-american-people-find-clintons-answers-war-terror-unsatisfying/"/> | |
<meta charset="utf-8"/> | |
<meta property="op:generator" content="facebook-instant-articles-sdk-php"/> | |
<meta property="op:generator:version" content="1.1.0"/> | |
<meta property="op:generator:application" content="facebook-instant-articles-wp"/> | |
<meta property="op:generator:application:version" content="2.11"/> | |
<meta property="op:generator:transformer" content="facebook-instant-articles-sdk-php"/> | |
<meta property="op:generator:transformer:version" content="1.1.0"/> |
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
<figure class="placeholder" data-large="{path to large image}"> | |
<img src="{path to small image}" class="img-small loaded" alt="{alt}" /> <!-- small image about 50px wide and height to match ratio; keep to less than 3k --> | |
<div style="padding-bottom: {image ratio}%;"></div> <!-- ratio is height-in-px/width-in-px * 100 --> | |
</figure> |
OlderNewer