boilerplate.css
77 lines
| 2.3 KiB
| text/css
|
CssLexer
Brian E. Granger
|
r4488 | /** | ||
* HTML5 ✰ Boilerplate | ||||
* | ||||
* style.css contains a reset, font normalization and some base styles. | ||||
* | ||||
* Credit is left where credit is due. | ||||
* Much inspiration was taken from these projects: | ||||
* - yui.yahooapis.com/2.8.1/build/base/base.css | ||||
* - camendesign.com/design/ | ||||
* - praegnanz.de/weblog/htmlcssjs-kickstart | ||||
*/ | ||||
/** | ||||
* html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline) | ||||
* v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark | ||||
* html5doctor.com/html-5-reset-stylesheet/ | ||||
*/ | ||||
html, body, div, span, object, iframe, | ||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||||
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, | ||||
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, | ||||
fieldset, form, label, legend, | ||||
table, caption, tbody, tfoot, thead, tr, th, td, | ||||
article, aside, canvas, details, figcaption, figure, | ||||
footer, header, hgroup, menu, nav, section, summary, | ||||
time, mark, audio, video { | ||||
margin: 0; | ||||
padding: 0; | ||||
border: 0; | ||||
font-size: 100%; | ||||
font: inherit; | ||||
vertical-align: baseline; | ||||
} | ||||
Jez Ng
|
r7504 | sup { vertical-align: super; } | ||
sub { vertical-align: sub; } | ||||
Brian E. Granger
|
r4488 | article, aside, details, figcaption, figure, | ||
footer, header, hgroup, menu, nav, section { | ||||
display: block; | ||||
} | ||||
blockquote, q { quotes: none; } | ||||
blockquote:before, blockquote:after, | ||||
q:before, q:after { content: ""; content: none; } | ||||
ins { background-color: #ff9; color: #000; text-decoration: none; } | ||||
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; } | ||||
del { text-decoration: line-through; } | ||||
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; } | ||||
table { border-collapse: collapse; border-spacing: 0; } | ||||
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; } | ||||
input, select { vertical-align: middle; } | ||||
/** | ||||
* Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/ | ||||
*/ | ||||
body { font:13px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */ | ||||
select, input, textarea, button { font:99% sans-serif; } | ||||
/* Normalize monospace sizing: | ||||
en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */ | ||||
pre, code, kbd, samp { font-family: monospace, sans-serif; } | ||||
Matthias BUSSONNIER
|
r6855 | em,i { font-style: italic; } | ||
b,strong { font-weight: bold; } | ||||