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 & {
89 text-decoration: none;
90 word-wrap: break-word;
91 transition: opacity 0.3s ease 0s;
94 color: $link-hover-color;
102 footer[role="contentinfo"] {
103 font-size: 0.84615385em;
107 color: $footer-link-color;
110 text-decoration: none;
111 word-wrap: break-word;
114 color: $link-hover-color;
120 font-size: $body-font-size;
132 padding-right: 2px; /* "kerning" adjustment */
136 vertical-align: middle;
140 font-family: $alt-font;
141 // @include adjust-font-size-to(12px);
142 color: lighten($text, 20%);
146 margin: rhythm(0.5) $indent-amount;
150 margin: rhythm(0.5) $indent-amount;
151 // @include adjust-font-size-to(12px);
152 color: lighten($text, 30%);
164 color: $monospace-font-color;
165 font-family: $sourcecode;
166 //font-size: $monospace-font-size;
175 word-wrap: break-word;
182 content: attr(data-filename);
183 background-color: $gray-medium;
192 text-decoration: underline;
195 .static-code-container {
196 // @include adjust-font-size-to(13px);
205 // @include adjust-font-size-to(13px);
217 padding-left: $indent-amount*1.6;
220 padding-left: $indent-amount*1.9;
226 border-bottom: $default-border;
227 padding-bottom: -1px;
232 * Use the data-inline-block attribute rather than a class on the element
233 * because the templates may end up overriding the class attribute.
240 background-color: #f7f7f7;
241 border: 1px solid #ccc;
245 text-shadow: 0 1px 0 #fff;
246 font-family: Arial,Helvetica,sans-serif;
247 display: inline-block;
248 padding: 0.1em 0.6em;
251 box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;