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
.module > *:last-child, | |
.module > *:last-child > *:last-child, | |
.module > *:last-child > *:last-child > *:last-child { | |
margin: 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
.small-0 { display:none; } | |
@media #{$small} { | |
.medium-0 { display:none; } | |
[class*="medium-"]:not(.medium-0) { display:block; } // resets the .small-0 display property | |
} | |
@media #{$medium} { | |
.large-0 { display:none; } | |
[class*="large-"]:not(.large-0) { display:block; } // resets the .medium-0 display property |
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
// | |
// Responsive Floats | |
// | |
.small-float-right { float:right; } | |
.small-float-left { float:left; } | |
.small-float-reset { float:none; } | |
.small-clear-left { clear:left; } | |
.small-clear-right { clear:right; } | |
.small-clear-both { clear:both; } | |
.small-clear-reset { clear:none; } |
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 Styles | |
// | |
.relative { position:relative; } | |
.clear { clear:both; } | |
.clear-reset { clear:none; } | |
.vert-middle { vertical-align:middle; } |
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
// | |
// Miscellaneous useful HTML classes and responsive overrides | |
// for alignment, floats, margins, and padding | |
// | |
.left, %left { float: left !important; } | |
.right, %right { float: right !important; } | |
.clear, %clear { clear: both !important; } | |
.clear-left, %clear-left { clear: left !important; } | |
.clear-right, %clear-right { clear: right !important; } | |
.float-reset, %float-reset { float: none !important; } |
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 countCSSRules() { | |
var results = '', | |
log = ''; | |
if (!document.styleSheets) { | |
return; | |
} | |
for (var i = 0; i < document.styleSheets.length; i++) { | |
countSheet(document.styleSheets[i]); | |
} | |
function countSheet(sheet) { |