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