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
<Episodes> | |
<h2 class="title">My Title</h2> | |
</Episodes> |
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
@mixin insertParent($class, $append: false) { | |
$selString: quote(&); | |
$parent: str-slice($selString, 0, str-index($selString, " ") - 1); | |
$minusParent: str-slice($selString, str-index($selString, " ") + 1); | |
$firstChild: str-slice($minusParent, 0, str-index($minusParent, " ") - 1); | |
$otherChildren: str-slice($selString, str-index($selString, $firstChild) + str-length($firstChild) + 1); | |
$selector: unquote(""); | |
@if $append { | |
$selector: $parent #{$firstChild}#{$class} $otherChildren; |
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
if(/*@cc_on!@*/false || !!document.documentMode) { | |
document.querySelector('html').className += " is-IE"; | |
} | |
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
@keyframes bounce { | |
from { | |
transform: translateY(0); | |
} | |
to { | |
transform: translateY(18px); | |
} | |
} |
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
.arrow { | |
animation: arrow-bounce 1s ease-in-out infinite alternate; | |
} | |
@keyframes arrow-bounce { | |
from { | |
transform: translateY(0); | |
} | |
to { | |
transform: translateY(1rem); |
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
require 'fileutils' | |
require 'date' | |
# {query} is the user input from Alfred. Not used in this particular script. | |
query = "{query}" | |
firstDay = Date.parse("25-02-2013") | |
report_source_dir = "#{Dir.home}/Dropbox/Lampo/Weekly Reports/#{Date.today.year}/MD Source/" | |
vol = ((Date.today.year * 12 + Date.today.month) - (firstDay.year * 12 + firstDay.month)) / 12 + 1 |
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) | |
// ---- | |
.SpeakerList { | |
$baseComponent: &; | |
$compactComponent: selector-append($baseComponent, --compact); | |
&-image { |
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
function getUrlParameter(parameterName) { | |
var results = new RegExp('[\?&]' + parameterName + '=([^&#]*)').exec(window.location.search); | |
if (results === null) { | |
return ""; | |
} else { | |
return results[1] || ""; | |
} | |
}; |
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
.post__title, | |
.post__subtitle { | |
color: black; | |
} | |
.theme--forest .post__title { | |
color: forestgreen; | |
} | |
.theme--forest .post__subtitle { |
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) | |
// ---- | |
//Generator | |
@mixin theme-generator( | |
$post__title: "", | |
$post__subtitle: "" | |
) { |
NewerOlder