1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
/* (ALL) Use a better box model */
*,
::before,
::after {
box-sizing: border-box;
}
/* (ALL) Disable page margin */
body {
margin: 0;
}
/* (ALL) Use sans-serif by default */
body {
font-family: sans-serif;
}
/* (ALL) Fix monospace sizing for <code>, <kbd>, <pre>, <samp> */
code,
kbd,
pre,
samp {
/* Browsers change font-size when there is monospace by itself in the font
* family, this stupid hack bypasses this dumb ass-default. */
font-family: monospace, monospace;
}
/* (ALL) Normalise <hr> colour */
hr {
border: 1px inset #888;
}
/* (ALL) <sub>, <sup> should not affect line-height */
sub,
sup {
font-size: 0.75em;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/* (Blink/WebKit) <b>, <strong> should have relative boldness */
b,
strong {
font-weight: bolder;
}
/* (Blink/Gecko) Fix vertical alignment */
progress {
vertical-align: baseline;
}
/* (WebKit) Show dotted underline */
abbr[title] {
text-decoration-line: underline;
text-decoration-style: dotted;
}
|