diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-03-10 02:37:21 +0000 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-03-10 02:37:21 +0000 |
| commit | b3db90545c5bd76d4acb6abfe5356e87b0f0cdcf (patch) | |
| tree | d3ddbd294fc79428948e9dfcb9a4be89702e60e7 /static/blueprint/src/reset.css | |
| download | ihatemoney-mirror-b3db90545c5bd76d4acb6abfe5356e87b0f0cdcf.zip ihatemoney-mirror-b3db90545c5bd76d4acb6abfe5356e87b0f0cdcf.tar.gz ihatemoney-mirror-b3db90545c5bd76d4acb6abfe5356e87b0f0cdcf.tar.bz2 | |
initial import
Diffstat (limited to 'static/blueprint/src/reset.css')
| -rwxr-xr-x | static/blueprint/src/reset.css | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/static/blueprint/src/reset.css b/static/blueprint/src/reset.css new file mode 100755 index 0000000..1417c4c --- /dev/null +++ b/static/blueprint/src/reset.css @@ -0,0 +1,67 @@ +/* -------------------------------------------------------------- + + reset.css + * Resets default browser CSS. + +-------------------------------------------------------------- */ + +html { + margin:0; + padding:0; + border:0; +} + +body, div, span, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, code, +del, dfn, em, img, q, dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, dialog, figure, footer, header, +hgroup, nav, section { + margin: 0; + padding: 0; + border: 0; + font-weight: inherit; + font-style: inherit; + font-size: 100%; + font-family: inherit; + vertical-align: baseline; +} + +/* This helps to make newer HTML5 elements behave like DIVs in older browers */ +article, aside, dialog, figure, footer, header, +hgroup, nav, section { + display:block; +} + +/* Line-height should always be unitless! */ +body { + line-height: 1.5; + background: white; +} + +/* Tables still need 'cellspacing="0"' in the markup. */ +table { + border-collapse: separate; + border-spacing: 0; +} +/* float:none prevents the span-x classes from breaking table-cell display */ +caption, th, td { + text-align: left; + font-weight: normal; + float:none !important; +} +table, th, td { + vertical-align: middle; +} + +/* Remove possible quote marks (") from <q>, <blockquote>. */ +blockquote:before, blockquote:after, q:before, q:after { content: ''; } +blockquote, q { quotes: "" ""; } + +/* Remove annoying border on linked images. */ +a img { border: none; } + +/* Remember to define your own focus styles! */ +:focus { outline: 0; }
\ No newline at end of file |
