1 /* =============================================================================
4 To achieve a pleasant vertical rhythm, we use Compass' Vertical Rhythm mixins
5 so that the line height of our base font becomes the basic unit of vertical
6 measurement. We use multiples of that unit to set the top and bottom margins
7 for our block level elements and to set the line heights of any fonts.
8 For more information, see http://24ways.org/2006/compose-to-a-vertical-rhythm
9 ========================================================================== */
13 font-family: $base-font;
17 font-size: $body-font-size;
21 h1, h2, h3, h4 ,h5 ,h6 {
22 font-family: $headline-font;
24 color: $headline-color;
30 @include adjust-font-size-to( $h1-font-size );
36 @include adjust-font-size-to( $h2-font-size );
37 @include leader(2, $h2-font-size);
38 @include trailer(0, $h2-font-size);
39 @include adjust-leading-to(1.4, $h2-font-size);
42 @include adjust-font-size-to( $h3-font-size );
43 @include leader(1, $h3-font-size);
44 @include trailer(0.4, $h3-font-size);
45 @include adjust-leading-to(1.4, $h2-font-size);
48 @include adjust-font-size-to( $h4-font-size );
49 @include leader(0, $h4-font-size);
50 @include trailer(0, $h4-font-size);
53 @include adjust-font-size-to( $h5-font-size );
54 @include leader(0, $h5-font-size);
55 @include trailer(0, $h5-font-size);
58 @include adjust-font-size-to( $h6-font-size );
59 @include leader(0, $h6-font-size);
60 @include trailer(0, $h6-font-size);
63 // @media only screen and (max-width: $break-small) {
65 // font-size: $h1-font-size - 0.6 !important;
71 &.noindent, &.caption & {
87 text-decoration: none;
88 word-wrap: break-word;
89 transition: opacity 0.3s ease 0s;
92 color: $link-hover-color;
100 footer[role="contentinfo"] {
101 font-size: 0.84615385em;
105 color: $footer-link-color;
108 text-decoration: none;
109 word-wrap: break-word;
112 color: $link-hover-color;
118 vertical-align: middle;
122 font-family: $alt-font;
123 // @include adjust-font-size-to(12px);
124 color: lighten($text, 20%);
128 margin: rhythm(0.5) $indent-amount;
132 margin: rhythm(0.5) $indent-amount;
133 // @include adjust-font-size-to(12px);
134 color: lighten($text, 30%);
146 color: $monospace-font-color;
147 font-family: $sourcecode;
148 //font-size: $monospace-font-size;
153 word-wrap: break-word;
160 content: attr(data-filename);
161 background-color: $gray-medium;
170 text-decoration: underline;
173 .static-code-container {
174 // @include adjust-font-size-to(13px);
183 // @include adjust-font-size-to(13px);
195 padding-left: $indent-amount*1.6;
198 padding-left: $indent-amount*1.9;
204 border-bottom: $default-border;
205 padding-bottom: -1px;
210 text-transform: uppercase;
213 /* Support a hack for the ::first-element rules below, which only apply if
214 * the element has a subset of displays, which include inline-block.
216 * Use the data-inline-block attribute rather than a class on the element
217 * because the templates may end up overriding the class attribute.
223 .uncapitalize::first-letter {
224 text-transform: lowercase;
227 .capitalize::first-letter {
228 text-transform: uppercase;