downtown2.css
8.86 KB
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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
/*Here is downtown2.css, a variation of downtown.css that I
made 2 days ago for my W3C people page. As a beginner in CSS
I was exposing to a colleague how I wanted images to spring out
on mouse hover without knowing if that was at all feasible ; I was
pointed to http://diveintomark.org/ and was told "I think it does
what you want." I was told it was a bit tricky. The style at
diveintomark.org is exactly the one I was looking for! --05jan2005
"Based
on stylesheets from diveintomark.org, copyright (c) 2004 Mark Pilgrim.
Used here with permission" --18feb2004
--memento background-color:
purple: a880bd
rosy: ecdeff--
Opera 7.54u1:mac displays a scaled flower in the top square on the lelft.--09jan2005*/
body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
color: #000000;
}
/*diveintomark.org nifty looking banner on top of page*/
.skip {
display: none;
}
.squares {
position: absolute;
width: 688px;
left: 50%;
top: 25px;
margin-left: -344px;
padding-bottom: 20px;
height: 180px;
/*clear: both; evite que ca se superimpose --ne marche que pour les positions statiques*/
}
#a1, #a2, #a3, #a4, #a5, #a6, #a7, #a8, #a9, #a10, #a11, #a12, #a13 {
top: 0px;
}
#b1, #b2, #b3, #b4, #b5, #b6, #b7, #b8, #b9, #b10, #b11, #b12, #b13 {
top: 58px;
}
#c1, #c2, #c3, #c4, #c5, #c6, #c7, #c8, #c9, #c10, #c11, #c12, #c13 {
top: 116px;
}
#a1, #b1, #c1 {
left: 0px;
}
#a2, #b2, #c2 {
left: 58px;
}
#a3, #b3, #c3 {
left: 116px;
}
#a4, #b4, #c4 {
left: 174px;
}
#a5, #b5, #c5 {
left: 232px;
}
#a6, #b6, #c6 {
left: 290px;
}
#a7, #b7, #c7 {
left: 348px;
}
#a8, #b8, #c8 {
left: 406px;
}
#a9, #b9, #c9 {
left: 464px;
}
#a10, #b10, #c10 {
left: 522px;
}
#a11, #b11, #c11 {
left: 580px;
}
#a12, #b12, #c12 {
left: 638px;
}
#a13, #b13, #c13 {
left: 696px;
}
.squares span, .squares a {
background-image: url(orchids.jpg);
}
#a1 { background-position: -3px -3px; }
#a2 { background-position: -61px -3px; }
#a3 { background-position: -119px -3px; }
#a4 { background-position: -177px -3px; }
#a5 { background-position: -235px -3px; }
#a6 { background-position: -293px -3px; }
#a7 { background-position: -351px -3px; }
#a8 { background-position: -409px -3px; }
#a9 { background-position: -467px -3px; }
#a10 {background-position: -525px -3px; }
#a11 {background-position: -583px -3px; }
#a12 {background-position: -641px -3px; }
#b1 { background-position: -3px -61px; }
#b2 { background-position: -61px -61px; }
#b3 { background-position: -119px -61px; }
#b4 { background-position: -177px -61px; }
#b5 { background-position: -235px -61px; }
#b6 { background-position: -293px -61px; }
#b7 { background-position: -351px -61px; }
#b8 { background-position: -409px -61px; }
#b9 { background-position: -467px -61px; }
#b10 {background-position: -525px -61px; }
#b11 {background-position: -583px -61px; }
#b12 {background-position: -641px -61px; }
#c1 { background-position: -3px -119px; }
#c2 { background-position: -61px -119px; }
#c3 { background-position: -119px -119px; }
#c4 { background-position: -177px -119px; }
#c5 { background-position: -235px -119px; }
#c6 { background-position: -293px -119px; }
#c7 { background-position: -351px -119px; }
#c8 { background-position: -409px -119px; }
#c9 { background-position: -467px -119px; }
#c10 {background-position: -525px -119px; }
#c11 {background-position: -583px -119px; }
#c12 {background-position: -641px -119px; }
.squares span.q,
.squares a.t,
.squares a.nav {
display: block;
position: absolute;
border: 1px solid #ccc;
width: 50px;
height: 50px;
text-align: center;
background-color: #ecdeff;
color: #fff;
}
.squares a.t {
font-family: monospace;
font-size: 24px;
font-weight: bold;
background-color: #ecdeff;
color: #fff;
text-decoration: none;
padding-top: 12px;
height: 38px;
/*text-shadow: 2px 2px 2px #999;*/
}
.squares a.t:hover {
margin-top: -3px;
margin-left: -3px;
padding: 13px 3px 5px 3px;
font-size: 28px;
}
.squares span.q:hover {
margin-top: -3px;
margin-left: -3px;
width: 56px;
height: 56px;
}
htmlbody #a1:hover { background-position: 0 0; }
htmlbody #a2:hover { background-position: -58px 0; }
htmlbody #a3:hover { background-position: -116px 0; }
htmlbody #a4:hover { background-position: -174px 0; }
htmlbody #a5:hover { background-position: -232px 0; }
htmlbody #a6:hover { background-position: -290px 0; }
htmlbody #a7:hover { background-position: -348px 0; }
htmlbody #a8:hover { background-position: -406px 0; }
htmlbody #a9:hover { background-position: -464px 0; }
htmlbody #a10:hover {background-position: -522px 0; }
htmlbody #a11:hover {background-position: -580px 0; }
htmlbody #a12:hover {background-position: -638px 0; }
htmlbody #b1:hover { background-position: 0 -58px; }
htmlbody #b2:hover { background-position: -58px -58px; }
htmlbody #b3:hover { background-position: -116px -58px; }
htmlbody #b4:hover { background-position: -174px -58px; }
htmlbody #b5:hover { background-position: -232px -58px; }
htmlbody #b6:hover { background-position: -290px -58px; }
htmlbody #b7:hover { background-position: -348px -58px; }
htmlbody #b8:hover { background-position: -406px -58px; }
htmlbody #b9:hover { background-position: -464px -58px; }
htmlbody #b10:hover {background-position: -522px -58px; }
htmlbody #b11:hover {background-position: -580px -58px; }
htmlbody #b12:hover {background-position: -638px -58px; }
htmlbody #c1:hover { background-position: 0 -116px; }
htmlbody #c2:hover { background-position: -58px -116px; }
htmlbody #c3:hover { background-position: -116px -116px; }
htmlbody #c4:hover { background-position: -174px -116px; }
htmlbody #c5:hover { background-position: -232px -116px; }
htmlbody #c6:hover { background-position: -290px -116px; }
htmlbody #c7:hover { background-position: -348px -116px; }
htmlbody #c8:hover { background-position: -406px -116px; }
htmlbody #c9:hover { background-position: -464px -116px; }
htmlbody #c10:hover {background-position: -522px -116px; }
htmlbody #c11:hover {background-position: -580px -116px; }
htmlbody #c12:hover {background-position: -638px -116px; }
.squares ul.nav {
list-style: none;
}
.squares a.nav {
text-decoration: none;
background-color: #ecdeff;
color: #fff;
padding-top: 19px;
height: 31px;
font-size: 11px;
font-weight: normal;
}
.squares a.nav:hover {
background-color: #ecdeff;
color: #fff;
margin-top: -3px;
margin-left: -3px;
padding: 20px 3px 5px 3px;
font-size: 13px;
}
.squares a.navcontact,
.squares a.navwhat,
.squares a.navwho,
.squares a.navlinks,
.squares a.navfun {
background-color: #a880bd;
color: #fff;
}
/* For the pullquote or other text directly under the navigation bar. */
#headline {
font-size: .65em;
padding-top: 10px;
text-align: justify;
background-color: #ecdeff;
padding-left: 100px;
padding-right: 100px;
padding-bottom: 4px;
margin-left: 110px;
margin-right: 110px;
margin-bottom: 0;
line-height: 1.5em;
margin-top: 200px;
border-top: 10px solid white; }
/* For the byline on the pullquote. */
p.byline {
text-align: right;
margin-bottom: 0;
}
/* Banner across top of page that says the name of the whole site */
#main-title {
font-size: 0.8em;
margin-bottom: 0px;
margin-left: 110px;
margin-right: 110px;
text-align: left;
margin-top: 0px;
padding-bottom: 8px;
font-weight: bold;
padding-top: 8px;
padding-left: 50px;
background-color: #a880bd;
color: #ffffff;
border-top: 1px #000000 solid;
border-bottom: 1px #000000 solid;
letter-spacing: 0.1em; }
/* Contains all the main body of text on the page, including the h2 elements. */
h1 {
margin-left: 110px;
font-size: .8em;
padding-bottom: 3px;
padding-top: 23px;
padding-left: 50px;
padding-right: 50px;
border-bottom: 1px #a880bd solid;
font-weight: normal;
background-color: #ecdeff;
margin-top: 0;
margin-bottom: 0;
top: 0px;
margin-right: 110px;
letter-spacing: 0.1em; }
h2 {
padding-bottom: 3px;
padding-right: 0;
color: #000000;
border-bottom: 1px #000000 solid;
font-weight: normal;
margin-left: 50px;
margin-right: 50px;
font-size: 1em;
padding-top: 10px;
letter-spacing: 0.1em; }
#main-text {
margin-top: 0;
margin-bottom: 0;
margin-left: 110px;
margin-right: 110px;
font-size: .7em;
line-height: 1.8em;
background-color: #ecdeff;
}
#main-text p {
text-align: justify;
margin-left: 50px;
margin-right: 50px;
}
p, ul, ol, table {
margin-top: 17px;
margin-bottom: 0;
}
ol, ul {
margin-left: 75px;
margin-right: 75px;
}
a:link, a:visited {
text-decoration: none;
font-weight: bold;
color: #854e92;
}
a:hover {
text-decoration: underline;
}
/* Styles for the footer at the bottom of the page */
#footer {
text-align: center;
padding-bottom: 8px;
font-size: .65em;
margin-top: 20px;
padding-right: 50px;
background-color: #a880bd;
color: #ffffff;
font-weight: bold;
border-top: 1px #000000 solid;
border-bottom: 1px #000000 solid;
margin-bottom: 20px;
padding-top: 8px;
padding-left: 50px;
}
#footer a:link, #footer a:visited {
color: #ffffff;
text-decoration: none;
}
#footer a:hover {
text-decoration: underline;
color: #ffffff;
}