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 padding-right: 2px; /* "kerning" adjustment */
122 vertical-align: middle;
126 font-family: $alt-font;
127 // @include adjust-font-size-to(12px);
128 color: lighten($text, 20%);
132 margin: rhythm(0.5) $indent-amount;
136 margin: rhythm(0.5) $indent-amount;
137 // @include adjust-font-size-to(12px);
138 color: lighten($text, 30%);
150 color: $monospace-font-color;
151 font-family: $sourcecode;
152 //font-size: $monospace-font-size;
161 word-wrap: break-word;
168 content: attr(data-filename);
169 background-color: $gray-medium;
178 text-decoration: underline;
181 .static-code-container {
182 // @include adjust-font-size-to(13px);
191 // @include adjust-font-size-to(13px);
203 padding-left: $indent-amount*1.6;
206 padding-left: $indent-amount*1.9;
212 border-bottom: $default-border;
213 padding-bottom: -1px;
218 text-transform: uppercase;
221 /* Support a hack for the ::first-element rules below, which only apply if
222 * the element has a subset of displays, which include inline-block.
224 * Use the data-inline-block attribute rather than a class on the element
225 * because the templates may end up overriding the class attribute.
231 .uncapitalize::first-letter {
232 text-transform: lowercase;
235 .capitalize::first-letter {
236 text-transform: uppercase;
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 -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;
252 -moz-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;
253 box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #ffffff inset;
254 -webkit-border-radius: 3px;
255 -moz-border-radius: 3px;