Skip to content

Instantly share code, notes, and snippets.

@erikflowers
Created February 21, 2015 16:42
Show Gist options
  • Save erikflowers/4d6aff2facf4b210549d to your computer and use it in GitHub Desktop.
Save erikflowers/4d6aff2facf4b210549d to your computer and use it in GitHub Desktop.
.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;
}
.main-story {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
}
@media (min-width: 768px) {
.main-story {
float: left;
width: 50%;
}
}
@media (min-width: 992px) {
.main-story {
float: left;
width: 58.33333333%;
}
}
@media (min-width: 22000px) {
.main-story {
float: left;
width: 50%;
}
}
.second-story {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
}
@media (min-width: 768px) {
.second-story {
float: left;
width: 50%;
}
}
@media (min-width: 992px) {
.second-story {
float: left;
width: 41.66666667%;
}
}
@media (min-width: 22000px) {
.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;
}
.main-content {
position: relative;
min-height: 1px;
padding-left: 15px;
padding-right: 15px;
}
@media (min-width: 768px) {
.main-content {
float: left;
width: 100%;
}
}
@media (min-width: 992px) {
.main-content {
margin-left: 8.33333333%;
}
}
@media (min-width: 992px) {
.main-content {
float: left;
width: 83.33333333%;
}
}
@media (min-width: 22000px) {
.main-content {
margin-left: 0%;
}
}
@media (min-width: 22000px) {
.main-content {
float: left;
width: 100%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment