Skip to content

Instantly share code, notes, and snippets.

@erikflowers
Created February 21, 2015 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erikflowers/cdd93025c85e6cd22141 to your computer and use it in GitHub Desktop.
Save erikflowers/cdd93025c85e6cd22141 to your computer and use it in GitHub Desktop.
output CSS from bootstrap less mxins
.masthead {
margin-left: -15px;
margin-right: -15px;
}
.masthead:before,
.masthead:after {
content: " ";
/* 1 */
display: table;
/* 2 */
}
.masthead:after {
clear: both;
}
.masthead:before,
.masthead:after {
content: " ";
/* 1 */
display: table;
/* 2 */
}
.masthead:after {
clear: both;
}
.masthead .main-story {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
}
@media (min-width: 768px) {
.masthead .main-story {
float: left;
width: 50%;
}
}
@media (min-width: 992px) {
.masthead .main-story {
float: left;
width: 58.33333333%;
}
}
@media (min-width: 22000px) {
.masthead .main-story {
float: left;
width: 50%;
}
}
.masthead .second-story {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
}
@media (min-width: 768px) {
.masthead .second-story {
float: left;
width: 50%;
}
}
@media (min-width: 992px) {
.masthead .second-story {
float: left;
width: 41.66666667%;
}
}
@media (min-width: 22000px) {
.masthead .second-story {
float: left;
width: 50%;
}
}
.content-container {
margin-left: -15px;
margin-right: -15px;
}
.content-container:before,
.content-container:after {
content: " ";
/* 1 */
display: table;
/* 2 */
}
.content-container:after {
clear: both;
}
.content-container:before,
.content-container:after {
content: " ";
/* 1 */
display: table;
/* 2 */
}
.content-container:after {
clear: both;
}
.content-container .main-content {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
}
@media (min-width: 768px) {
.content-container .main-content {
float: left;
width: 100%;
}
}
@media (min-width: 992px) {
.content-container .main-content {
margin-left: 8.33333333%;
}
}
@media (min-width: 992px) {
.content-container .main-content {
float: left;
width: 83.33333333%;
}
}
@media (min-width: 22000px) {
.content-container .main-content {
margin-left: 0%;
}
}
@media (min-width: 22000px) {
.content-container .main-content {
float: left;
width: 100%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment