sass-site/source/assets/stylesheets/components/_quick-starts.scss

67 lines
1.1 KiB
SCSS
Raw Normal View History

2013-02-09 04:10:33 +01:00
// ===========================================================================
// QUICK STARTS
.quick-starts {
@extend %content-list;
}
// ---------------------------------------------------------------------------
// iPhone
@mixin quick-starts-iPhone {
.quick-starts {
text-align: left;
li { @extend %clearfix-iPhone; }
h3,
2013-02-11 00:04:29 +01:00
.description {
margin-left: ($font-size * $illustration-size / 1em) + $gutter-width;
}
2013-02-09 04:10:33 +01:00
.illustration {
position: relative;
2013-02-11 00:04:29 +01:00
margin-top: -2em;
@include float-left;
2013-02-09 04:10:33 +01:00
padding: {
top: 0;
bottom: 0;
}
}
2013-02-11 00:04:29 +01:00
.description {
position: relative;
top: -2em;
clear: both;
margin-bottom: -2em;
padding-top: 0;
}
2013-02-09 04:10:33 +01:00
pre { text-align: center; }
}
}
// ---------------------------------------------------------------------------
// SMALL TABLET
@mixin quick-starts-small-tablet {
.quick-starts {
@extend %clearfix-small-tablet;
2013-02-11 00:04:29 +01:00
@include layout(2) {
li {
@include span-columns(1);
&:last-child { @include omega; }
2013-02-09 04:10:33 +01:00
}
}
}
2013-02-11 00:04:29 +01:00
.description { min-height: 7em; }
2013-02-09 04:10:33 +01:00
}