Statistics
| Branch: | Tag: | Revision:

root / cloudcms / static / cloudcms / css / formating.css @ 7405e79a

History | View | Annotate | Download (5.1 kB)

1
/* http://meyerweb.com/eric/tools/css/reset/ 
2
   v2.0 | 20110126
3
   License: none (public domain)
4
*/
5
html, body, div, span, applet, object, iframe,
6
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
7
a, abbr, acronym, address, big, cite, code,
8
del, dfn, em, img, ins, kbd, q, s, samp,
9
small, strike, strong, sub, sup, tt, var,
10
b, u, i, center,
11
dl, dt, dd, ol, ul, li,
12
fieldset, form, label, legend,
13
table, caption, tbody, tfoot, thead, tr, th, td,
14
article, aside, canvas, details, embed, 
15
figure, figcaption, footer, header, hgroup, 
16
menu, nav, output, ruby, section, summary,
17
time, mark, audio, video                                                { border:0; margin:0; padding:0; font-size:100%; font:inherit; vertical-align:baseline; }
18

    
19
/* HTML5 display-role reset for older browsers */
20
article, aside, details, figcaption, figure, 
21
footer, header, hgroup, menu, nav, section                { display:block; }
22

    
23
/* defaults -----------------------------------*/
24
:link, a, a:visited                                                                { color:#F89A1C; text-decoration:none; }
25
a:hover                                                                                        { outline:0; text-decoration:underline; }
26
a:focus                                                                                        { text-decoration:none; }
27
a:active                                                                                { outline:0; text-decoration:none; }
28
a img, :link img, :visited img                                        { border:none; }
29
a span                                                                                        { cursor:pointer; }
30
abbr[title], dfn[title]                                                        { border-bottom:1px dotted; cursor:help; }
31
address                                                                                        { font-style:italic; margin:0 0 1.5em 0; }
32
body                                                                                        { background:white; color:#222; font-family: Antic, Arial, sans-serif; font-size:81.3%; line-height:1.5; text-align:left; letter-spacing:1px;}
33
code, kbd, pre, samp                                                        { font-family:monospace, sans-serif; }
34
del                                                                                                { text-decoration:line-through; }
35
dl                                                                                                { margin:1em 0; }
36
dl dd                                                                                        { margin-left:1em; }
37
dt                                                                                                { font-weight:bold; }
38
em, i                                                                                        { font-style:italic; font-weight:inherit; }
39
h1, h2, h3, h4, h5, h6                                                        { font-weight:bold; line-height:1.4; margin-bottom:0; }
40
/* Typographic scale based on 12px body size */
41
h1                                                                                                { font-size:4em; }
42
h2                                                                                                { font-size:1.154em; }
43
h3                                                                                                { font-size:1em; }
44
h4                                                                                                { font-size:1.5em; }
45
h5                                                                                                { font-size:1.333em; }
46
h6                                                                                                { font-size:1.167em; }
47
hr                                                                                                { border:0; border-top:1px solid; display:block; height:1px; margin:1em 0; padding:0; }
48
img                                                                                                { border:0; vertical-align:middle; }
49
ins                                                                                                { text-decoration:none; }
50
p                                                                                                { margin-bottom:1em; }
51
pre                                                                                                { overflow:auto; line-height:24px; }
52
strong, b                                                                                { font-weight:bold; font-style:inherit; }
53
sub, sup                                                                                { font-size:75%; line-height:0; position:relative; vertical-align:baseline; }
54
sub                                                                                                { bottom:-0.25em; }
55
sup                                                                                                { top:-0.5em; }
56

    
57
button, input, select, textarea                                        { font-size:100%; margin:0; vertical-align:baseline; }
58
button, input                                                                        { line-height:normal; }
59
button[disabled], input[disabled]                                { cursor:default; }
60
button,
61
input[type="image"],
62
input[type="submit"],
63
input[type="reset"],
64
input[type="button"]                                                        { cursor:pointer; overflow:visible; }
65
input[type="checkbox"],
66
input[type="radio"]                                                                { box-sizing:border-box; padding:0; }
67
legend                                                                                        { border:0; white-space:normal; }
68
optgroup                                                                                { font-style:normal; font-weight:bold; }
69
textarea                                                                                { overflow:auto; vertical-align:top; }
70

    
71
q                                                                                                { quotes:"" "" "" ""; } /* http://html5doctor.com/blockquote-q-cite/ */
72
q:before                                                                                { content:""; content:open-quote; }
73
q:after                                                                                        { content:""; content:close-quote; }
74
q q:before                                                                                { content: ""; content: open-quote; }
75
q q:after                                                                                { content: ""; content: close-quote; }
76
blockquote                                                                                { quotes: "" ""; margin:1em 40px; }
77
blockquote p:before                                                                { content: ""; content: open-quote; }
78
blockquote p:after                                                                { content: ""; content: no-close-quote; }
79
blockquote p:last-of-type:after                                        { content: ""; content: close-quote; }
80
blockquote                                                                                { font-style:italic; margin:1em; }
81

    
82
caption                                                                                        { font-weight:bold; text-align:left; margin-bottom:.2em; padding:0; }
83
table                                                                                        { border-collapse:collapse; border-spacing:0; margin-bottom:1em; }
84
tfoot                                                                                        { font-style:italic; }
85
thead td, th                                                                        { font-weight:bold; vertical-align:top; }
86

    
87
ol                                                                                                { list-style-type:decimal; margin:1em 0; padding-left:2em; }
88
ol li                                                                                        { list-style:decimal outside; }
89
ol ol li                                                                                { list-style-type:lower-alpha; }
90
ol ol ol li                                                                                { list-style-type:lower-roman; }
91

    
92
ul                                                                                                { list-style-type:disc; margin:1em 0; padding-left:2em; }
93
ul li                                                                                        { list-style:disc outside; }
94
ul ul li                                                                                { list-style-type:circle; }
95
ul ul ul li                                                                                { list-style-type:square; }
96

    
97
/* helpers ------------------------------------*/
98
.clearfix:before,
99
.clearfix:after                                                                        { content:" "; display:block; height:0; visibility:hidden; } /* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified/ */
100
.clearfix:after                                                                        { clear:both; }
101
.visuallyhidden                                                                        { position:absolute !important; clip:rect(0 0 0 0); }
102

    
103
/* misc ---------------------------------------*/
104
img[align="left"]                                                                { margin:0 1em 0.5em 0; }
105
img[align="right"]                                                                { margin:0 0 0.5em 1em; }