1 |
87dbc3bf
|
Benjamin Luce
|
/**
|
2 |
|
|
* @file
|
3 |
|
|
* Normalize.css is intended to be used as an alternative to CSS resets.
|
4 |
|
|
*
|
5 |
|
|
* This file is a slight fork of these original sources:
|
6 |
|
|
* - normalize.css v2.1.2 | MIT License | git.io/normalize
|
7 |
|
|
* - normalize.scss v2.1.2 | MIT/GPLv2 License | bit.ly/normalize-with-compass
|
8 |
|
|
*
|
9 |
|
|
* It's suggested that you read the normalize.scss file and customise it to meet
|
10 |
|
|
* your needs, rather then including the file in your project and overriding the
|
11 |
|
|
* defaults later in your CSS.
|
12 |
|
|
* @see http://nicolasgallagher.com/about-normalize-css/
|
13 |
|
|
*
|
14 |
|
|
* Also: @see http://meiert.com/en/blog/20080419/reset-style-sheets-are-bad/
|
15 |
|
|
* @see http://snook.ca/archives/html_and_css/no_css_reset/
|
16 |
|
|
*/
|
17 |
|
|
|
18 |
|
|
/**
|
19 |
|
|
* HTML5 display definitions
|
20 |
|
|
*/
|
21 |
|
|
|
22 |
|
|
/* Correct `block` display not defined in IE 8/9. */
|
23 |
|
|
article,
|
24 |
|
|
aside,
|
25 |
|
|
details,
|
26 |
|
|
figcaption,
|
27 |
|
|
figure,
|
28 |
|
|
footer,
|
29 |
|
|
header,
|
30 |
|
|
main,
|
31 |
|
|
nav,
|
32 |
|
|
section,
|
33 |
|
|
summary {
|
34 |
|
|
display: block;
|
35 |
|
|
}
|
36 |
|
|
|
37 |
|
|
/* Correct `inline-block` display not defined in IE 8/9. */
|
38 |
|
|
audio,
|
39 |
|
|
canvas,
|
40 |
|
|
video {
|
41 |
|
|
display: inline-block;
|
42 |
|
|
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
43 |
|
|
*display: inline;
|
44 |
|
|
*zoom: 1;
|
45 |
|
|
}
|
46 |
|
|
}
|
47 |
|
|
|
48 |
|
|
/**
|
49 |
|
|
* Prevent modern browsers from displaying `audio` without controls.
|
50 |
|
|
* Remove excess height in iOS 5 devices.
|
51 |
|
|
*/
|
52 |
|
|
audio:not([controls]) {
|
53 |
|
|
display: none;
|
54 |
|
|
height: 0;
|
55 |
|
|
}
|
56 |
|
|
|
57 |
|
|
/* Address styling not present in IE 8/9. */
|
58 |
|
|
[hidden] {
|
59 |
|
|
display: none;
|
60 |
|
|
}
|
61 |
|
|
|
62 |
|
|
/**
|
63 |
|
|
* Base
|
64 |
|
|
*
|
65 |
|
|
* Instead of relying on the fonts that are available on a user's computer, you
|
66 |
|
|
* can use web fonts which, like images, are resources downloaded to the user's
|
67 |
|
|
* browser. Because of the bandwidth and rendering resources required, web fonts
|
68 |
|
|
* should be used with care.
|
69 |
|
|
*
|
70 |
|
|
* Numerous resources for web fonts can be found on Google. Here are a few
|
71 |
|
|
* websites where you can find Open Source fonts to download:
|
72 |
|
|
* - http://www.fontsquirrel.com/fontface
|
73 |
|
|
* - http://www.theleagueofmoveabletype.com
|
74 |
|
|
*
|
75 |
|
|
* In order to use these fonts, you will need to convert them into formats
|
76 |
|
|
* suitable for web fonts. We recommend the free-to-use Font Squirrel's
|
77 |
|
|
* Font-Face Generator:
|
78 |
|
|
* http://www.fontsquirrel.com/fontface/generator
|
79 |
|
|
*
|
80 |
|
|
* The following is an example @font-face declaration. This font can then be
|
81 |
|
|
* used in any ruleset using a property like this: font-family: Example, serif;
|
82 |
|
|
*
|
83 |
|
|
* Since we're using Sass, you'll need to declare your font faces here, then you
|
84 |
|
|
* can add them to the font variables in the _init.scss partial.
|
85 |
|
|
*/
|
86 |
|
|
/*
|
87 |
|
|
@font-face {
|
88 |
|
|
font-family: 'Example';
|
89 |
|
|
src: url('../fonts/example.eot');
|
90 |
|
|
src: url('../fonts/example.eot?iefix') format('eot'),
|
91 |
|
|
url('../fonts/example.woff') format('woff'),
|
92 |
|
|
url('../fonts/example.ttf') format('truetype'),
|
93 |
|
|
url('../fonts/example.svg#webfontOkOndcij') format('svg');
|
94 |
|
|
font-weight: normal;
|
95 |
|
|
font-style: normal;
|
96 |
|
|
}
|
97 |
|
|
*/
|
98 |
|
|
|
99 |
|
|
/**
|
100 |
|
|
* 1. Set default font family to sans-serif.
|
101 |
|
|
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
102 |
|
|
* user zoom.
|
103 |
|
|
* 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
|
104 |
|
|
* `em` units.
|
105 |
|
|
*/
|
106 |
|
|
html {
|
107 |
|
|
font-family: $base-font-family; /* 1 */
|
108 |
|
|
font-size: 100% * ($base-font-size / 16px); /* 3 */
|
109 |
|
|
-ms-text-size-adjust: 100%; /* 2 */
|
110 |
|
|
-webkit-text-size-adjust: 100%; /* 2 */
|
111 |
|
|
// Establish a vertical rhythm unit using $base-line-height.
|
112 |
|
|
@include adjust-leading-to(1);
|
113 |
|
|
}
|
114 |
|
|
|
115 |
|
|
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
116 |
|
|
/* Address `font-family` inconsistency between `textarea` and other form elements. */
|
117 |
|
|
button,
|
118 |
|
|
input,
|
119 |
|
|
select,
|
120 |
|
|
textarea {
|
121 |
|
|
font-family: $base-font-family;
|
122 |
|
|
}
|
123 |
|
|
}
|
124 |
|
|
|
125 |
|
|
/* Remove default margin. */
|
126 |
|
|
body {
|
127 |
|
|
margin: 0;
|
128 |
|
|
padding: 0;
|
129 |
|
|
}
|
130 |
|
|
|
131 |
|
|
/**
|
132 |
|
|
* Links
|
133 |
|
|
*
|
134 |
|
|
* The order of link states are based on Eric Meyer's article:
|
135 |
|
|
* http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
|
136 |
|
|
*/
|
137 |
|
|
a:link {
|
138 |
|
|
}
|
139 |
|
|
a:visited {
|
140 |
|
|
}
|
141 |
|
|
a:hover,
|
142 |
|
|
a:focus {
|
143 |
|
|
}
|
144 |
|
|
a:active {
|
145 |
|
|
}
|
146 |
|
|
|
147 |
|
|
/* Address `outline` inconsistency between Chrome and other browsers. */
|
148 |
|
|
a:focus {
|
149 |
|
|
outline: thin dotted;
|
150 |
|
|
}
|
151 |
|
|
|
152 |
|
|
/* Improve readability when focused and also mouse hovered in all browsers. */
|
153 |
|
|
a:active,
|
154 |
|
|
a:hover {
|
155 |
|
|
outline: 0;
|
156 |
|
|
}
|
157 |
|
|
|
158 |
|
|
/**
|
159 |
|
|
* Typography
|
160 |
|
|
*
|
161 |
|
|
* To achieve a pleasant vertical rhythm, we use Compass' Vertical Rhythm mixins
|
162 |
|
|
* so that the line height of our base font becomes the basic unit of vertical
|
163 |
|
|
* measurement. We use multiples of that unit to set the top and bottom margins
|
164 |
|
|
* for our block level elements and to set the line heights of any fonts.
|
165 |
|
|
* For more information, see http://24ways.org/2006/compose-to-a-vertical-rhythm
|
166 |
|
|
*/
|
167 |
|
|
|
168 |
|
|
/* Set 1 unit of vertical rhythm on the top and bottom margin. */
|
169 |
|
|
p,
|
170 |
|
|
pre {
|
171 |
|
|
margin: rhythm(1) 0;
|
172 |
|
|
}
|
173 |
|
|
blockquote {
|
174 |
|
|
/* Also indent the quote on both sides. */
|
175 |
|
|
margin: rhythm(1) $indent-amount;
|
176 |
|
|
}
|
177 |
|
|
|
178 |
|
|
/**
|
179 |
|
|
* Address variable `h1` font-size and margin within `section` and `article`
|
180 |
|
|
* contexts in Firefox 4+, Safari 5, and Chrome.
|
181 |
|
|
*/
|
182 |
|
|
h1 {
|
183 |
|
|
/* Set the font-size and line-height while keeping a proper vertical rhythm. */
|
184 |
|
|
@include adjust-font-size-to( $h1-font-size );
|
185 |
|
|
|
186 |
|
|
/* Set 1 unit of vertical rhythm on the top and bottom margins. */
|
187 |
|
|
@include leader(1, $h1-font-size);
|
188 |
|
|
@include trailer(1, $h1-font-size);
|
189 |
|
|
}
|
190 |
|
|
h2 {
|
191 |
|
|
@include adjust-font-size-to( $h2-font-size );
|
192 |
|
|
@include leader(1, $h2-font-size);
|
193 |
|
|
@include trailer(1, $h2-font-size);
|
194 |
|
|
}
|
195 |
|
|
h3 {
|
196 |
|
|
@include adjust-font-size-to( $h3-font-size );
|
197 |
|
|
@include leader(1, $h3-font-size);
|
198 |
|
|
@include trailer(1, $h3-font-size);
|
199 |
|
|
}
|
200 |
|
|
h4 {
|
201 |
|
|
@include adjust-font-size-to( $h4-font-size );
|
202 |
|
|
@include leader(1, $h4-font-size);
|
203 |
|
|
@include trailer(1, $h4-font-size);
|
204 |
|
|
}
|
205 |
|
|
h5 {
|
206 |
|
|
@include adjust-font-size-to( $h5-font-size );
|
207 |
|
|
@include leader(1, $h5-font-size);
|
208 |
|
|
@include trailer(1, $h5-font-size);
|
209 |
|
|
}
|
210 |
|
|
h6 {
|
211 |
|
|
@include adjust-font-size-to( $h6-font-size );
|
212 |
|
|
@include leader(1, $h6-font-size);
|
213 |
|
|
@include trailer(1, $h6-font-size);
|
214 |
|
|
}
|
215 |
|
|
|
216 |
|
|
/* Address styling not present in IE 8/9, Safari 5, and Chrome. */
|
217 |
|
|
abbr[title] {
|
218 |
|
|
border-bottom: 1px dotted;
|
219 |
|
|
}
|
220 |
|
|
|
221 |
|
|
/* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. */
|
222 |
|
|
b,
|
223 |
|
|
strong {
|
224 |
|
|
font-weight: bold;
|
225 |
|
|
}
|
226 |
|
|
|
227 |
|
|
/* Address styling not present in Safari 5 and Chrome. */
|
228 |
|
|
dfn {
|
229 |
|
|
font-style: italic;
|
230 |
|
|
}
|
231 |
|
|
|
232 |
|
|
/* Address differences between Firefox and other browsers. */
|
233 |
|
|
hr {
|
234 |
|
|
@include box-sizing(content-box);
|
235 |
|
|
height: 0;
|
236 |
|
|
border: 1px solid #666;
|
237 |
|
|
padding-bottom: -1px;
|
238 |
|
|
margin: rhythm(1) 0;
|
239 |
|
|
}
|
240 |
|
|
|
241 |
|
|
/* Address styling not present in IE 8/9. */
|
242 |
|
|
mark {
|
243 |
|
|
background: #ff0;
|
244 |
|
|
color: #000;
|
245 |
|
|
}
|
246 |
|
|
|
247 |
|
|
/* Correct font family set oddly in Safari 5 and Chrome. */
|
248 |
|
|
code,
|
249 |
|
|
kbd,
|
250 |
|
|
pre,
|
251 |
|
|
samp,
|
252 |
|
|
tt,
|
253 |
|
|
var {
|
254 |
|
|
font-family: $font-monospace; // The value of $font-monospace ends with ", serif".
|
255 |
|
|
@if $legacy-support-for-ie6 {
|
256 |
|
|
_font-family: 'courier new', monospace;
|
257 |
|
|
}
|
258 |
|
|
@include adjust-font-size-to( $base-font-size );
|
259 |
|
|
}
|
260 |
|
|
|
261 |
|
|
/* Improve readability of pre-formatted text in all browsers. */
|
262 |
|
|
pre {
|
263 |
|
|
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
264 |
|
|
white-space: pre;
|
265 |
|
|
white-space: pre-wrap;
|
266 |
|
|
word-wrap: break-word;
|
267 |
|
|
}
|
268 |
|
|
@else {
|
269 |
|
|
white-space: pre-wrap;
|
270 |
|
|
}
|
271 |
|
|
}
|
272 |
|
|
|
273 |
|
|
/* Set consistent quote types. */
|
274 |
|
|
q {
|
275 |
|
|
quotes: "\201C" "\201D" "\2018" "\2019";
|
276 |
|
|
}
|
277 |
|
|
|
278 |
|
|
/* Address inconsistent and variable font size in all browsers. */
|
279 |
|
|
small {
|
280 |
|
|
font-size: 80%;
|
281 |
|
|
}
|
282 |
|
|
|
283 |
|
|
/* Prevent `sub` and `sup` affecting `line-height` in all browsers. */
|
284 |
|
|
sub,
|
285 |
|
|
sup {
|
286 |
|
|
font-size: 75%;
|
287 |
|
|
line-height: 0;
|
288 |
|
|
position: relative;
|
289 |
|
|
vertical-align: baseline;
|
290 |
|
|
}
|
291 |
|
|
sup {
|
292 |
|
|
top: -0.5em;
|
293 |
|
|
}
|
294 |
|
|
sub {
|
295 |
|
|
bottom: -0.25em;
|
296 |
|
|
}
|
297 |
|
|
|
298 |
|
|
/**
|
299 |
|
|
* Lists
|
300 |
|
|
*/
|
301 |
|
|
dl,
|
302 |
|
|
menu,
|
303 |
|
|
ol,
|
304 |
|
|
ul {
|
305 |
|
|
/* Address margins set differently in IE 6/7. */
|
306 |
|
|
margin: rhythm(1) 0;
|
307 |
|
|
}
|
308 |
|
|
ol,
|
309 |
|
|
ul {
|
310 |
|
|
ol,
|
311 |
|
|
ul {
|
312 |
|
|
/* Turn off margins on nested lists. */
|
313 |
|
|
margin: 0;
|
314 |
|
|
}
|
315 |
|
|
}
|
316 |
|
|
dd {
|
317 |
|
|
margin: 0 0 0 $indent-amount; /* LTR */
|
318 |
|
|
}
|
319 |
|
|
|
320 |
|
|
/* Address paddings set differently in IE 6/7. */
|
321 |
|
|
menu,
|
322 |
|
|
ol,
|
323 |
|
|
ul {
|
324 |
|
|
padding: 0 0 0 $indent-amount; /* LTR */
|
325 |
|
|
}
|
326 |
|
|
|
327 |
|
|
@if $legacy-support-for-ie7 {
|
328 |
|
|
/* Correct list images handled incorrectly in IE 7. */
|
329 |
|
|
nav ul,
|
330 |
|
|
nav ol {
|
331 |
|
|
list-style: none;
|
332 |
|
|
list-style-image: none;
|
333 |
|
|
}
|
334 |
|
|
}
|
335 |
|
|
|
336 |
|
|
/**
|
337 |
|
|
* Embedded content and figures
|
338 |
|
|
*
|
339 |
|
|
* @todo Look into adding responsive embedded video.
|
340 |
|
|
*/
|
341 |
|
|
img {
|
342 |
|
|
/* Remove border when inside `a` element in IE 8/9. */
|
343 |
|
|
border: 0;
|
344 |
|
|
@if $legacy-support-for-ie7 {
|
345 |
|
|
/* Improve image quality when scaled in IE 7. */
|
346 |
|
|
-ms-interpolation-mode: bicubic;
|
347 |
|
|
}
|
348 |
|
|
|
349 |
|
|
/* Suppress the space beneath the baseline */
|
350 |
|
|
/* vertical-align: bottom; */
|
351 |
|
|
|
352 |
|
|
/* Responsive images */
|
353 |
|
|
max-width: 100%;
|
354 |
|
|
height: auto;
|
355 |
|
|
@if $legacy-support-for-ie8 {
|
356 |
|
|
/* Correct IE 8 not scaling image height when resized. */
|
357 |
|
|
width: auto;
|
358 |
|
|
}
|
359 |
|
|
}
|
360 |
|
|
|
361 |
|
|
/* Correct overflow displayed oddly in IE 9. */
|
362 |
|
|
svg:not(:root) {
|
363 |
|
|
overflow: hidden;
|
364 |
|
|
}
|
365 |
|
|
|
366 |
|
|
/* Address margin not present in IE 8/9 and Safari 5. */
|
367 |
|
|
figure {
|
368 |
|
|
margin: 0;
|
369 |
|
|
}
|
370 |
|
|
|
371 |
|
|
/**
|
372 |
|
|
* Forms
|
373 |
|
|
*/
|
374 |
|
|
|
375 |
|
|
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
376 |
|
|
/* Correct margin displayed oddly in IE 6/7. */
|
377 |
|
|
form {
|
378 |
|
|
margin: 0;
|
379 |
|
|
}
|
380 |
|
|
}
|
381 |
|
|
|
382 |
|
|
/* Define consistent border, margin, and padding. */
|
383 |
|
|
fieldset {
|
384 |
|
|
margin: 0 2px;
|
385 |
|
|
/* Apply borders and padding that keep the vertical rhythm. */
|
386 |
|
|
border-color: #c0c0c0;
|
387 |
|
|
@include apply-side-rhythm-border(top, $width: 1px, $lines: 0.35);
|
388 |
|
|
@include apply-side-rhythm-border(bottom, $width: 1px, $lines: 0.65);
|
389 |
|
|
@include apply-side-rhythm-border(left, $width: 1px, $lines: 0.65);
|
390 |
|
|
@include apply-side-rhythm-border(right, $width: 1px, $lines: 0.65);
|
391 |
|
|
}
|
392 |
|
|
|
393 |
|
|
/**
|
394 |
|
|
* 1. Correct `color` not being inherited in IE 8/9.
|
395 |
|
|
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
396 |
|
|
* 3. Correct alignment displayed oddly in IE 6/7.
|
397 |
|
|
*/
|
398 |
|
|
legend {
|
399 |
|
|
border: 0; /* 1 */
|
400 |
|
|
padding: 0; /* 2 */
|
401 |
|
|
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
402 |
|
|
*margin-left: -7px; /* 3 */ /* LTR */
|
403 |
|
|
}
|
404 |
|
|
}
|
405 |
|
|
|
406 |
|
|
/**
|
407 |
|
|
* 1. Correct font family not being inherited in all browsers.
|
408 |
|
|
* 2. Correct font size not being inherited in all browsers.
|
409 |
|
|
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
410 |
|
|
* 4. Improve appearance and consistency with IE 6/7.
|
411 |
|
|
* 5. Keep form elements constrained in their containers.
|
412 |
|
|
*/
|
413 |
|
|
button,
|
414 |
|
|
input,
|
415 |
|
|
select,
|
416 |
|
|
textarea {
|
417 |
|
|
font-family: inherit; /* 1 */
|
418 |
|
|
font-size: 100%; /* 2 */
|
419 |
|
|
margin: 0; /* 3 */
|
420 |
|
|
@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
|
421 |
|
|
vertical-align: baseline; /* 4 */
|
422 |
|
|
*vertical-align: middle; /* 4 */
|
423 |
|
|
}
|
424 |
|
|
max-width: 100%; /* 5 */
|
425 |
|
|
@include box-sizing(border-box); /* 5 */
|
426 |
|
|
}
|
427 |
|
|
|
428 |
|
|
/**
|
429 |
|
|
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
430 |
|
|
* the UA stylesheet.
|
431 |
|
|
*/
|
432 |
|
|
button,
|
433 |
|
|
input {
|
434 |
|
|
line-height: normal;
|
435 |
|
|
}
|
436 |
|
|
|
437 |
|
|
/**
|
438 |
|
|
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
439 |
|
|
* All other form control elements do not inherit `text-transform` values.
|
440 |
|
|
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
|
441 |
|
|
* Correct `select` style inheritance in Firefox 4+ and Opera.
|
442 |
|
|
*/
|
443 |
|
|
button,
|
444 |
|
|
select {
|
445 |
|
|
text-transform: none;
|
446 |
|
|
}
|
447 |
|
|
|
448 |
|
|
/**
|
449 |
|
|
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
450 |
|
|
* and `video` controls.
|
451 |
|
|
* 2. Correct inability to style clickable `input` types in iOS.
|
452 |
|
|
* 3. Improve usability and consistency of cursor style between image-type
|
453 |
|
|
* `input` and others.
|
454 |
|
|
* 4. Remove inner spacing in IE 7 without affecting normal text inputs.
|
455 |
|
|
* Known issue: inner spacing remains in IE 6.
|
456 |
|
|
*/
|
457 |
|
|
button,
|
458 |
|
|
html input[type="button"], /* 1 */
|
459 |
|
|
input[type="reset"],
|
460 |
|
|
input[type="submit"] {
|
461 |
|
|
-webkit-appearance: button; /* 2 */
|
462 |
|
|
cursor: pointer; /* 3 */
|
463 |
|
|
@if $legacy-support-for-ie7 {
|
464 |
|
|
*overflow: visible; /* 4 */
|
465 |
|
|
}
|
466 |
|
|
}
|
467 |
|
|
|
468 |
|
|
/**
|
469 |
|
|
* Re-set default cursor for disabled elements.
|
470 |
|
|
*/
|
471 |
|
|
button[disabled],
|
472 |
|
|
html input[disabled] {
|
473 |
|
|
cursor: default;
|
474 |
|
|
}
|
475 |
|
|
|
476 |
|
|
/**
|
477 |
|
|
* 1. Address box sizing set to `content-box` in IE 8/9.
|
478 |
|
|
* 2. Remove excess padding in IE 8/9.
|
479 |
|
|
* 3. Remove excess padding in IE 7.
|
480 |
|
|
* Known issue: excess padding remains in IE 6.
|
481 |
|
|
*/
|
482 |
|
|
input[type="checkbox"],
|
483 |
|
|
input[type="radio"] {
|
484 |
|
|
@include box-sizing(border-box); /* 1 */
|
485 |
|
|
padding: 0; /* 2 */
|
486 |
|
|
@if $legacy-support-for-ie7 {
|
487 |
|
|
*height: 13px; /* 3 */
|
488 |
|
|
*width: 13px; /* 3 */
|
489 |
|
|
}
|
490 |
|
|
}
|
491 |
|
|
|
492 |
|
|
/**
|
493 |
|
|
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
494 |
|
|
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
495 |
|
|
* (include `-moz` to future-proof).
|
496 |
|
|
*/
|
497 |
|
|
input[type="search"] {
|
498 |
|
|
-webkit-appearance: textfield; /* 1 */
|
499 |
|
|
@include box-sizing(content-box); /* 2 */
|
500 |
|
|
}
|
501 |
|
|
|
502 |
|
|
/**
|
503 |
|
|
* Remove inner padding and search cancel button in Safari 5 and Chrome
|
504 |
|
|
* on OS X.
|
505 |
|
|
*/
|
506 |
|
|
input[type="search"]::-webkit-search-cancel-button,
|
507 |
|
|
input[type="search"]::-webkit-search-decoration {
|
508 |
|
|
-webkit-appearance: none;
|
509 |
|
|
}
|
510 |
|
|
|
511 |
|
|
/* Remove inner padding and border in Firefox 4+. */
|
512 |
|
|
button::-moz-focus-inner,
|
513 |
|
|
input::-moz-focus-inner {
|
514 |
|
|
border: 0;
|
515 |
|
|
padding: 0;
|
516 |
|
|
}
|
517 |
|
|
|
518 |
|
|
/**
|
519 |
|
|
* 1. Remove default vertical scrollbar in IE 8/9.
|
520 |
|
|
* 2. Improve readability and alignment in all browsers.
|
521 |
|
|
*/
|
522 |
|
|
textarea {
|
523 |
|
|
overflow: auto; /* 1 */
|
524 |
|
|
vertical-align: top; /* 2 */
|
525 |
|
|
}
|
526 |
|
|
|
527 |
|
|
/* Drupal-style form labels. */
|
528 |
|
|
label {
|
529 |
|
|
display: block;
|
530 |
|
|
font-weight: bold;
|
531 |
|
|
}
|
532 |
|
|
|
533 |
|
|
/**
|
534 |
|
|
* Tables
|
535 |
|
|
*/
|
536 |
|
|
table {
|
537 |
|
|
/* Remove most spacing between table cells. */
|
538 |
|
|
border-collapse: collapse;
|
539 |
|
|
border-spacing: 0;
|
540 |
|
|
/* Prevent cramped-looking tables */
|
541 |
|
|
/* width: 100%; */
|
542 |
|
|
/* Add vertical rhythm margins. */
|
543 |
|
|
@include leader(1);
|
544 |
|
|
@include trailer(1);
|
545 |
|
|
} |