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
<snippet> | |
<content><![CDATA[ | |
@include breakpoint(${1:massive / huge / larger / large / medium / small / extra-small}) { | |
${2:} | |
} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>mq</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> |
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
$padding: 20px; | |
$total-width:580px; | |
textarea { | |
width:100% - (percentage($padding / total-width)*2); | |
padding:0 percentage($padding / total-width); | |
} |
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
<snippet> | |
<content><![CDATA[ | |
<img src="http://lorempixel.com/${1:}/${2:}/${3:abstract / animals / business / cats / city / food / nightlife / fashion / people / nature / sports / technics / transport}/${4:Enter a Number 1 / 10}/" width="${1:}" height="${2:}" /> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>lorempic</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> |
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
<snippet> | |
<content><![CDATA[@extend .clearfix;]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>cf</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
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 /* making sure we 'orderby' correctly */ | |
query_posts( $query_string . '&orderby=date&order=DEC' ); ?> | |
<?php if ( have_posts() ) : ?> | |
<?php | |
/* Setup */ | |
$display_year = ''; | |
$format = 'd/m/Y'; | |
$year_position = 2; |
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
//Simple comment up here to explain that accordion is a accordion with 3 parts blah blah blah | |
.accordion { | |
.js & { | |
display: none; | |
} | |
.js .open + & { | |
display: block; | |
} | |
//dont use & unless it changes the order here. | |
li { |
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
.media{ | |
__img{ | |
--rev{ | |
} | |
} | |
__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
// Generate inline class names for your elements | |
// | |
// <div class="actions u-inset-vert-S"> | |
// <button type="submit">Totes click me!</button> | |
// </div> | |
$spacing-sizes: flush 0, XS 1, S 2, D 4, M 6, L 10 !default; | |
$spacing-base: 3px !default; | |
@function spacing($n) { |
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
var DISQUSWIDGETS, disqus_domain, disqus_shortname; | |
typeof DISQUSWIDGETS == "undefined" && (DISQUSWIDGETS = function () { | |
var d = {}, m = document.getElementsByTagName("HEAD")[0] || document.body, | |
n = 0, | |
f = {}, j = { | |
identifier: 1, | |
url: 2, | |
slug: 3 | |
}; | |
d.domain = "disqus.com"; |
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
// method does not set a default. | |
.Separator{ | |
} | |
.Separator--1{ | |
border-style: dashed; | |
border-color: $colour--Neutral600; | |
border-width: 0 0 1px 0; | |
} |