These are WordPress plugins created for blogs.brynmawr.edu:
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 breakpoints | |
// 320 - 480 - 768 - 1024 | |
// ========================================================================== | |
@media screen and (max-width: 30em) { | |
// helper to display 320px width on desktop | |
// comment this out if you need to look @ 480px width | |
.wl-appwrapper { | |
width: 320px; |
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
// ========================================================================== | |
// cf | |
// ========================================================================== | |
@mixin cf { | |
*zoom: 1; | |
&:before, | |
&:after { | |
content: ""; | |
display: table; |
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
// ========================================================================== | |
// cf | |
// ========================================================================== | |
@mixin cf { | |
*zoom: 1; | |
&:before, | |
&:after { | |
content: ""; | |
display: table; |
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 any additional compass plugins here. | |
require 'susy' | |
require 'modular-scale' | |
require 'sassy-buttons' | |
require 'breakpoint' | |
require 'compass-css-arrow' | |
require 'rgbapng' | |
# Set this to the root of your project when deployed: | |
http_path = "/" |
Sass fallback for browsers that don't support media queries - i.e., IE8 and below.
A Pen by Catherine Farman on CodePen.
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 clearfix { | |
*zoom: 1; | |
&:before, | |
&:after { | |
content: ""; | |
display: table; | |
} | |
&:after { | |
clear: both; | |
} |
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
div.column { | |
background: white; | |
@include clearfix; | |
} |
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 breakpoint($screenWidth: 400px) { | |
// output the mixin content inside of a media query | |
@media screen and (min-width: $screenWidth) { @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
$smallScreen: 400px; | |
$mediumScreen: 700px; | |
div.column { | |
width: 100%; | |
// column width changes to be half the viewport | |
@include breakpoint($smallScreen) { | |
width: 50%; | |
float: left; | |
} |
OlderNewer