|
| 1 | +/** |
| 2 | + * HTML5 ✰ Boilerplate |
| 3 | + * |
| 4 | + * style.css contains a reset, font normalization and some base styles. |
| 5 | + * |
| 6 | + * Credit is left where credit is due. |
| 7 | + * Much inspiration was taken from these projects: |
| 8 | + * - yui.yahooapis.com/2.8.1/build/base/base.css |
| 9 | + * - camendesign.com/design/ |
| 10 | + * - praegnanz.de/weblog/htmlcssjs-kickstart |
| 11 | + */ |
| 12 | + |
| 13 | + |
| 14 | +/** |
| 15 | + * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline) |
| 16 | + * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark |
| 17 | + * html5doctor.com/html-5-reset-stylesheet/ |
| 18 | + */ |
| 19 | + |
| 20 | +html, body, div, span, object, iframe, |
| 21 | +h1, h2, h3, h4, h5, h6, p, blockquote, pre, |
| 22 | +abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, |
| 23 | +small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, |
| 24 | +fieldset, form, label, legend, |
| 25 | +table, caption, tbody, tfoot, thead, tr, th, td, |
| 26 | +article, aside, canvas, details, figcaption, figure, |
| 27 | +footer, header, hgroup, menu, nav, section, summary, |
| 28 | +time, mark, audio, video { |
| 29 | + margin: 0; |
| 30 | + padding: 0; |
| 31 | + border: 0; |
| 32 | + font-size: 100%; |
| 33 | + font: inherit; |
| 34 | + vertical-align: baseline; |
| 35 | +} |
| 36 | + |
| 37 | +sup { vertical-align: super; } |
| 38 | +sub { vertical-align: sub; } |
| 39 | + |
| 40 | +article, aside, details, figcaption, figure, |
| 41 | +footer, header, hgroup, menu, nav, section { |
| 42 | + display: block; |
| 43 | +} |
| 44 | + |
| 45 | +blockquote, q { quotes: none; } |
| 46 | + |
| 47 | +blockquote:before, blockquote:after, |
| 48 | +q:before, q:after { content: ""; content: none; } |
| 49 | + |
| 50 | +ins { background-color: #ff9; color: #000; text-decoration: none; } |
| 51 | + |
| 52 | +mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; } |
| 53 | + |
| 54 | +del { text-decoration: line-through; } |
| 55 | + |
| 56 | +abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; } |
| 57 | + |
| 58 | +table { border-collapse: collapse; border-spacing: 0; } |
| 59 | + |
| 60 | +hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; } |
| 61 | + |
| 62 | +input, select { vertical-align: middle; } |
| 63 | + |
| 64 | + |
| 65 | +/** |
| 66 | + * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/ |
| 67 | + */ |
| 68 | + |
| 69 | +body { font:13px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */ |
| 70 | +select, input, textarea, button { font:99% sans-serif; } |
| 71 | + |
| 72 | +/* Normalize monospace sizing: |
| 73 | + en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */ |
| 74 | +pre, code, kbd, samp { font-family: monospace, sans-serif; } |
| 75 | + |
| 76 | +em,i { font-style: italic; } |
| 77 | +b,strong { font-weight: bold; } |
0 commit comments