summaryrefslogtreecommitdiff
path: root/!NetSurf/Resources/CSS,f79
blob: 143681a129f1723073d5545895e400f705b9ab29 (plain)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
address, blockquote, body, center, dd, div,
dl, dt, fieldset, form,
h1, h2, h3, h4, h5, h6, html,
ol, p, ul,
hr, menu, pre   { display: block }
/* a, abbr, acronym, b, code,
em, i, q, s, strong, u, font, span,
var             { display: inline } */
li              { display: /* list-item */ block }
head, noframes  { display: none }
table           { display: table }
tr              { display: table-row }
thead           { display: table-header-group }
tbody           { display: table-row-group }
tfoot           { display: table-footer-group }
col             { display: table-column }
colgroup        { display: table-column-group }
td, th          { display: table-cell }
caption         { display: table-caption }
img { color: #888; }

h1 { font-size: xx-large; font-weight: bold; margin: 0.58em 0; }
h2 { font-size: x-large; margin: 0.69em 0; }
h3 { font-size: large; font-weight: bold; margin: 0.83em 0; }
h4 { font-size: medium; font-weight: bold; margin: 1em 0; }
h5 { font-size: medium; font-style: italic; margin: 1em 0; }
h6 { font-size: medium; font-style: italic; margin: 1em 0; }
b, strong { font-weight: bold; }
i, cite, dfn, em, var, address { font-style: italic; }
u { text-decoration: underline; }
s { text-decoration: line-through; }
ins { color: green; }
del { color: red; text-decoration: line-through; }
a:link { color: #00f; text-decoration: underline; }
th { font-weight: bold; }
td { text-align: left; }

body { margin: 5px; }
p { margin-top: 1em; margin-bottom: 1em; }

/* kludge until this gets implemented */
dl, ul, ol { padding-left: 0.5em; }
li, dd { padding-left: 1em; margin-bottom: 0.3em; }

blockquote { margin: 1em; }
hr { background-color: #000; height: 1px; }

center { text-align: center; }
center * { margin-left: auto; margin-right: auto; }
small { font-size: smaller; }
big { font-size: larger; }
input { background-color: #fff; color: #000; width: 10em;
	height: 1.5em; text-align: left; border-width: 1px;
	border-color: #000; border-style: solid; }
select { background-color: #ddd; color: #000; width: 10em;
	height: 1.5em; text-align: left; border-width: medium;
	border-color: #aaa #eee #eee #aaa; border-style: inset; }
textarea { background-color: #fff; color: #000; text-align: left;
	border-width: 1px; border-color: #000; border-style: solid; }
input[type=button], input[type=reset], input[type=submit], button {
	background-color: #ddd; color: #000; width: auto;
	border-width: medium; border-color: #eee #aaa #aaa #eee;
	border-style: outset; height: auto; text-align: center;}
input[type=image] { background-color: #ddd; color: #000; width: auto;
	height: auto; }
input[type=checkbox], input[type=radio] { background-color: transparent;
	padding: 0 0.1em; border: 0; width: 1em; height: 1em; }

[align=left] { text-align: left; }
[align=center] { text-align: center; }
[align=right] { text-align: right; }
img[align=left], table[align=left] { float: left; }
img[align=right], table[align=right] { float: right; text-align: left; }

br[clear=all] { clear: both; }
br[clear=left] { clear: left; }
br[clear=right] { clear: right; }

font[size="1"] { font-size: x-small; }
font[size="2"] { font-size: small; }
font[size="3"] { font-size: medium; }
font[size="4"] { font-size: large; }
font[size="5"] { font-size: x-large; }
font[size="6"] { font-size: xx-large; }
font[size="7"] { font-size: xx-large; }
font[size="-1"] { font-size: smaller; }
font[size="+1"] { font-size: larger; }

td[nowrap], th[nowrap] { white-space: nowrap; }

code, kbd, pre, samp, tt { font-family: monospace; }
abbr, acronym { font-variant: small-caps; }

pre { white-space: pre; }