forked from nowthis/sankeymatic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
193 lines (157 loc) · 3.08 KB
/
main.css
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
body {
font-family: sans-serif;
background-color: #FBFDFD;
margin: 0;
}
p#buildlink {
font-size: larger;
padding-top: 20px;
}
main { margin: 1em; }
div#main,
p#buildlink,
.center {
margin: 0 auto;
display: table;
}
.ad_center {
margin: 0.5em auto;
text-align: center;
}
ul { text-align: left; }
.indented { margin-left: 5%; }
.do_not_break { break-inside: avoid; }
.breaker { clear: both; }
hr.narrow { width: 60%; }
dl dt {
font-weight: bold;
color: #036;
}
/* cellspacing=0 for all tables */
table {
border-collapse: collapse;
border-spacing: 0;
}
td {
vertical-align: top;
padding: 2px;
}
footer,
#footer-content {
background-color: #EEF8FF;
text-align: center;
clear: both;
}
header {
border-bottom: #000 1px dotted;
}
header a { color: white; }
header td {
padding: 0.3em 1em;
}
header td.active_tab {
background-color: #ADF;
color: #036;
border-bottom: #069 1px dotted;
}
header td.leftmost { padding-left: 0.2em; }
header td.active_tab a { color: #036; }
/* For gallery, manual: */
textarea {
font-family: sans-serif;
font-size: 12px;
}
img.figure_right,
table.float_right,
div.float_right {
float: right;
margin-left: 4px;
margin-bottom: 4px;
}
img.figure_left {
float: left;
margin-right: 4px;
}
.dotted_border { border: 1px dotted #069; }
.center_content { text-align: center; }
.align_right { text-align: right; }
.no_wrap { white-space: nowrap; }
#news_main { margin: 2em; }
#news_main ul li,
p.top_padded {
margin-top: 0.5em;
}
#news_main h2 {
padding-top: 1em;
border-top: 4px double #069;
clear: both;
}
#news_main h3 {
padding-top: 0.8em;
color: #069;
border-top: 1px dotted #069;
clear: both;
}
#news_main figure {
margin: 0 1em 0.2em;
}
/* Sometimes a figure is vertically included rather than set to the side: */
#news_main figure.no_indent {
margin: 0 0 0.2em;
}
#news_main figure img {
padding: 0.1em;
margin: 0.1em;
border: 1px dotted #069;
}
#news_main figure img.no_border {
border: none;
}
#news_main figcaption {
font-size: smaller;
}
#news_main hr,
hr.ad_divider {
border-top: 4px double #069;
}
/* Present themes with different color counts.
Each color swatch uses one non-breaking space (0.3em) plus padding.
12 colors: 12em = (12 * 0.3em) + (12 * .7em) */
.color_sample_12 {
padding-left: 0.35em;
padding-right: 0.35em;
}
/* 10 colors: 12em = (10 * 0.3em) + (10 * .9em) */
.color_sample_10 {
padding-left: 0.45em;
padding-right: 0.45em;
}
/* 9 colors: 12em = (9 * 0.3em) + (9 * 1.0333em) */
.color_sample_9 {
padding-left: 0.517em;
padding-right: 0.517em;
}
/* 8 colors: 12em = (8 * 0.3em) + (8 * 1.2em)
0.6em actually made this row appear too wide by a teeny amount,
so we use 0.599em instead. :-| */
.color_sample_8 {
padding-left: 0.599em;
padding-right: 0.599em;
}
legend {
font-weight: bold;
color: black;
background-color: #eef8ff;
border: 1px solid #9ac;
padding: 0.1em 0.4em;
margin-bottom: 0;
}
fieldset {
border: 1px solid #9ac;
}
.fieldset_contents {
padding-left: 0.5em;
padding-right: 0.5em;
margin-top: 0;
padding-top: 0;
}