Skip to content

Instantly share code, notes, and snippets.

@jchild3rs
Created November 20, 2014 22:02
Show Gist options
  • Save jchild3rs/c5536d1a119d99835227 to your computer and use it in GitHub Desktop.
Save jchild3rs/c5536d1a119d99835227 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.4.7)
// Compass (v1.0.1)
// ----
$fad-img--width: 940px; $fad-img--height: 724px; %inherit-font { color: #000; font-weight: normal; } .fad-landing__img { width: $fad-img--width; height: $fad-img--height; display: table; background-repeat: no-repeat; background-position: center; overflow: hidden; padding-top: 10px; .fad-landing__img__txt { display: table-cell; vertical-align: middle; padding: 120px 0 0 80px; p { @extend %inherit-font; } ul { margin: -15px 0 0 30px; line-height: 120%; & li { @extend %inherit-font; } } } }
.fad-landing__img .fad-landing__img__txt p, .fad-landing__img .fad-landing__img__txt ul li {
color: #000;
font-weight: normal;
}
.fad-landing__img {
width: 940px;
height: 724px;
display: table;
background-repeat: no-repeat;
background-position: center;
overflow: hidden;
padding-top: 10px;
}
.fad-landing__img .fad-landing__img__txt {
display: table-cell;
vertical-align: middle;
padding: 120px 0 0 80px;
}
.fad-landing__img .fad-landing__img__txt ul {
margin: -15px 0 0 30px;
line-height: 120%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment