This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
forked from abelards/web_primer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
light.css
250 lines (212 loc) · 5.33 KB
/
light.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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
@import url(http://fonts.googleapis.com/css?family=Quicksand:300,400,700);
@import url('http://fonts.googleapis.com/css?family=Josefin+Sans');
body {
font-family: Quicksand, Helvetica, Arial, sans-serif;
background-color: #F7F7F7;
font-weight: 300;
font-size: 16px;
color: #555555;
width: 100%;
margin: 0;
}
#navbar {
height: 2em;
width: 100%;
background-color: #D3360B;
background-image: -moz-linear-gradient(top, #D3360B 0%, #C2260D 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#D3360B), color-stop(100%,#C2260D));
background-image: -webkit-linear-gradient(top, #D3360B 0%,#C2260D 100%);
background-image: -o-linear-gradient(top, #D3360B 0%,#C2260D 100%);
background-image: -ms-linear-gradient(top, #D3360B 0%,#C2260D 100%);
background-image: linear-gradient(to bottom, #D3360B 0%,#C2260D 100%);
}
#navbar div { float: left; margin: 0.25em 0; padding: 0 0.5em;
border-right: 1px solid #FFAA88; }
#navbar div.tooltip { border-right: 1px solid #6F1607; }
#navbar .nob { border-right: none; }
#navbar a { font-weight: bold; color: white; }
#flags li { width: 2.5em; text-align: center; }
#navbar #about hr { display: block; border-color: #C2260D; }
#navbar #about .tooltip a { color: #C2260D; text-decoration: underline; }
#cc_by_sa { height: 31px; width: 88px; margin-left: 55px; }
#sidebar { background: #F3562B; color: white; }
#sidebar .content { width: 100%; text-align: left; }
#sidebar p { margin: 0; }
ul li {
line-height:20px; margin: 1px; padding: 1px;
pointer: cursor; color: white; width: 10em;
}
li:hover { background-color: #D3360B; }
.group {
color: #999999;
border: 1px solid silver;
width: 14em;
margin: 1em auto;
background: #F7F7F7;
}
.item {
color: #333333;
background: #EEEEEE;
width: 10em;
padding: 1em;
margin: 0.75em;
}
.group, .item {
transition: box-shadow 0.75s ease;
border-radius: 2px;
}
.group:hover {
box-shadow: #888888 0px 0px 10px;
color: #555555;
}
.item:hover {
box-shadow: inset #888888 0px 0px 10px;
}
.active, .focus, .item.active { background-color: #FFAA88; }
.tooltip { display:none; text-align: left; }
div:hover > .tooltip { display: block; }
li:hover > .tooltip { display: block; }
.tooltip, .up:hover, .down:hover, .ret:hover {
border: 1px outset #C3270D;
background-color: #FFAA88;
position: absolute;
color: #C3270D;
font-size: 80%;
padding: 3px;
height: auto;
width: 16em;
z-index: 42;
}
.up, .down, .ret, .nodown, .noup {
width: 2em;
height: 1.5em;
overflow: hidden;
font-size: 80%;
}
.up, .noup, .fr { float: right; }
.down, .ret, .nodown { float: left; }
.up:before { content: '\2191' }
.down:before { content: '\2193' }
.ret:before { content: '\21B3' }
.ret { width: 1em; }
.tooltip, .up, .down, .ret {
font-family: "Helvetica Neue", Helvetica, Tahoma, Arial, sans-serif;
}
h1,h2,h3,h4,h5,h6{
margin: 0;
font-family: "Josefin Sans", Helvetica, Arial, sans-serif;
font-weight: bold;
}
p {
margin: 0.25em 1em 1em 1em;
word-wrap: break-word;
clear: both;
}
p.help {
font-size: 75%;
width: 90%;
}
p.breaking {
padding: 0.25em 0.5em;
background: #FAFAFA;
border-top: 1px solid silver;
border-bottom: 1px solid silver;
}
img {
border:0;
width:auto;
height:auto;
max-width:100%;
vertical-align:middle;
-ms-interpolation-mode:bicubic;
}
a img { width: 16px; height: 16px; }
ul {
clear:both;
padding:0;
margin: 0;
}
ul { list-style-type: none; }
ul ul,ul ol,ol ol,ol ul { margin-bottom:0; }
hr { clear:both; }
.fl { float:left; margin-left:1em; }
h1 { font-size:32px; line-height:45px; font-weight:300;
font-family: Quicksand, Helvetica, sans-serif;
text-align: center; }
h2 { font-size:28px; line-height:32px; font-weight:400;
margin-top: 0.5em; }
h3 { font-size:20px; line-height:32px; font-weight:400;
padding-left: 0.5em; }
a { color:#D3360B; text-decoration:none; font-weight:500; }
a:hover { color:#F3562B; text-decoration:underline; }
h3 a { font-weight:700; }
a.wp {
padding-left: 20px;
font-family: serif;
background-image: url("img/wikipedia.ico");
background-repeat: no-repeat;
}
li.cat { margin-top: 0.75em; }
.content {
text-align: center;
margin: 0 1em;
clear: both;
}
.short { display: none; }
.alt { display: none; }
.tab {display: none;}
@media screen and (min-width:870px) {
#title {
position:absolute;
left: 20%;
}
#page {
position:absolute;
left: 25%;
top: 6em;
}
#sidebar {
width: 190px;
position: absolute;
}
}
#GitHubFork {
background: url("https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png");
position: absolute;
text-align: right;
height: 149px;
width: 149px;
border: none;
z-index: 42;
right: 0;
top: 0;
}
@media screen and (max-width:870px) {
#sidebar {
position: relative;
padding: 0.25em;
min-height: 7.5em;
margin: auto;
}
#sidebar h2 { display: none; }
hr, li.cat { display: none; }
ul li { float: left; }
#sidebar { min-height: 10em; }
#sidebar .content { margin: 0 auto; }
}
@media screen and (max-width:700px) {
#sidebar { min-height: 13em; }
}
@media screen and (max-width:600px) {
.tab { display: inline; }
p.tab { display: block; }
.lng { display: none; }
#GitHubFork { display: none; }
#sidebar .keywords { display: none; }
#sidebar { min-height: 7em; }
}
@media screen and (max-width:450px) {
.txt { display: none; }
.short { display: inline; }
ul li { float: left; width: 47%; }
}