This file contains hidden or 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
$base-font-size: 16px; | |
$base-line-height: 1.5; | |
// this value may vary for each font | |
// unitless value relative to 1em | |
$cap-height: 0.68; | |
@mixin baseline($font-size, $scale: 2) { |
This file contains hidden or 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
// | |
// Paths | |
// | |
var basePaths = { | |
src: 'source/', | |
dest: 'source/' | |
}; | |
var paths = { |
This file contains hidden or 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
<ul class="items"> | |
<li class="item">Thing 1</li> | |
<li class="item">Thing 2</li> | |
<li class="item">Thing 3</li> | |
<li class="item">Thing 4</li> | |
</ul> |
This file contains hidden or 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.3.7) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
$ands: ( | |
de: "und", | |
en: "and", | |
es: "y", | |
fr: "et", |
This file contains hidden or 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
<div class="outer-container"> | |
<div class="row"> | |
<div class="col16">16</div> | |
</div> | |
<div class="row"> | |
<div class="col4">4</div> | |
<div class="col4">4</div> | |
<div class="col4">4</div> | |
<div class="col4">4</div> | |
</div> |
This file contains hidden or 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
.comment { | |
background: #666; | |
color: #222; | |
&:after { | |
position: absolute; | |
background: inherit; | |
content: " "; | |
width: 100%; | |
} | |
} |
This file contains hidden or 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
<div class="outer-container"> | |
<div class="row"> | |
<div class="col16">16</div> | |
</div> | |
<div class="row"> | |
<div class="col4">4</div> | |
<div class="col4">4</div> | |
<div class="col4">4</div> | |
<div class="col4">4</div> | |
</div> |
This file contains hidden or 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
#!/usr/bin/env bash | |
# | |
# Check if MySQL is running and start it if it's not | |
UP=$(pgrep mysql | wc -l); | |
if [ "$UP" -ne 1 ]; | |
then | |
echo "MySQL is down."; | |
mysql.server start |
This file contains hidden or 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
// From https://github.com/joshfry/point-guard | |
@mixin omega-reset($nth) { | |
&:nth-child(#{$nth}) { margin-right: flex-gutter(); } | |
&:nth-child(#{$nth}+1) { clear: none } | |
} |
This file contains hidden or 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(){ | |
var list = $("ul li").toArray(); | |
var elemlength = list.length; | |
var randomnum = Math.floor(Math.random()*elemlength); | |
var randomitem = list[randomnum]; | |
$(randomitem).css("display", "block"); | |
}); |