Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-doc
Path: blob/main/website/content/en/layout/css/layout.css
18096 views
1
/*
2
* FreeBSD.org - Layout Styles
3
*
4
* $FreeBSD$
5
*/
6
7
/* Container Definitions */
8
9
/* Page Container */
10
11
#containerwrap {
12
text-align: center; /* Win IE5 */
13
}
14
15
#container {
16
margin: 0em auto;
17
width: 90%;
18
max-width: 1600px;
19
padding: 0;
20
padding-top: 0px;
21
padding-bottom: 15px;
22
text-align: left; /* Win IE5 */
23
}
24
25
/* Header */
26
27
#headercontainer {
28
padding-bottom: 2px;
29
}
30
31
#header {
32
position: relative;
33
height: 75px;
34
margin: 0;
35
padding: 0;
36
clear: both;
37
}
38
39
#headerlogoleft {
40
position: relative;
41
border: 0px;
42
padding: 0px;
43
top: 0px;
44
float: left;
45
}
46
47
#headerlogoleft img {
48
border: 0px;
49
}
50
51
#headerlogoright {
52
position: relative;
53
border: 0px;
54
padding-left: 0px;
55
float: right;
56
}
57
58
#headerlogoright img {
59
border: 0px;
60
}
61
62
/* Search */
63
64
@media screen {
65
#search {
66
text-align: right;
67
padding: 0;
68
color: #666;
69
}
70
71
#search form {
72
margin: 0; /* need for IE Mac */
73
text-align: right; /* need for IE Mac */
74
white-space: nowrap; /* for Opera */
75
}
76
77
#search form label {
78
color: #666;
79
}
80
81
#search form #submit {
82
background: transparent;
83
color: #fff;
84
border-right: 1px solid #DADADA;
85
border-bottom: 1px solid #DADADA;
86
border-top: 1px solid #DADADA;
87
border-left: 1px solid #DADADA;
88
padding: 1px 5px 1px 5px;
89
}
90
91
#search form #words {
92
width: 65%;
93
border: 1px solid #DADADA;
94
background: #FFFFFF;
95
color: #666;
96
padding: 2px 2px 2px 5px;
97
}
98
}
99
100
@media print {
101
#search { display: none; }
102
}
103
104
/* Mirror Select */
105
106
#mirror {
107
text-align: right;
108
padding: 0;
109
margin: 0;
110
margin-top: 6px;
111
color: #666;
112
}
113
114
#mirror form {
115
padding-top: 5px;
116
right: 0;
117
margin: 0; /* need for IE Mac */
118
text-align: right; /* need for IE Mac */
119
white-space: nowrap; /* for Opera */
120
}
121
122
#mirror form label {
123
color: #666;
124
font-size: 0.8em;
125
}
126
127
#mirror form select {
128
font-size: 0.8em;
129
}
130
131
#mirror form #mirrorsel {
132
font-size: 0.8em;
133
width: 150px;
134
border: 1px solid #DADADA;
135
background: #FFFFFF;
136
color: #666;
137
}
138
139
#mirror input {
140
font-size: 0.8em;
141
background: transparent;
142
color: #666;
143
border: 1px solid #DADADA;
144
}
145
146
/* Content */
147
148
#content {
149
clear: both;
150
display: block;
151
}
152
153
#frontcontainer {
154
width: 100%;
155
}
156
157
#frontfeaturecontainer {
158
clear: both;
159
}
160
161
#frontfeatureleft{
162
width: 30%;
163
margin: 0;
164
padding: 0;
165
float: left;
166
}
167
168
#frontfeatureleft h2 {
169
border: none;
170
margin-top: 0;
171
}
172
173
#frontfeatureleft p {
174
margin: 0 0 1em 0;
175
}
176
177
#frontfeaturecontent {
178
margin: 10px 10px 10px 13px;
179
}
180
181
#frontfeaturemiddle {
182
float: left;
183
margin-top: 20px;
184
background: url(../images/beastie.png) no-repeat center left;
185
min-height: 196px;
186
width: 30%;
187
}
188
189
#frontfeatureright {
190
position: relative;
191
border: 0px;
192
padding: 0px;
193
margin: 0px;
194
width: 30%;
195
float: right;
196
}
197
198
/* News/Events/Media/Security Box */
199
200
#frontnemscontainer {
201
width: 100%;
202
background: #eee;
203
display: inline;
204
float: left;
205
margin-top: 8px;
206
margin-bottom: 8px;
207
}
208
209
#frontnews {
210
width: 24%;
211
margin: 0;
212
padding: 0;
213
float: left;
214
}
215
216
#frontnewscontent {
217
margin: 17px 15px 24px 18px;
218
}
219
220
#frontevents {
221
width: 24%;
222
margin: 0;
223
padding: 0;
224
float: left;
225
}
226
227
#fronteventscontent {
228
margin: 17px 15px 24px 14px;
229
}
230
231
#frontmedia {
232
width: 24%;
233
margin: 0;
234
padding: 0;
235
float: left;
236
}
237
238
#frontmediacontent {
239
margin: 17px 15px 24px 14px;
240
}
241
242
#frontsecurity {
243
width: 24%;
244
margin: 0;
245
padding: 0;
246
float: left;
247
}
248
249
#frontsecuritycontent {
250
margin: 17px 15px 24px 14px;
251
}
252
253
/* No way to get equal columns in pure CSS - setting height is a temporary hack */
254
.frontseparator {
255
width: 0.5%;
256
height: 500px;
257
margin: 0;
258
padding: 0;
259
background-color: #fff;
260
float: left;
261
}
262
263
.newseventswrap {
264
padding-left: 5px;
265
}
266
267
.newseventslist {
268
list-style: none;
269
margin: 0;
270
padding: 0;
271
display: inline;
272
}
273
274
.newseventslist img.rssimage {
275
display: inline;
276
border: 0;
277
vertical-align: bottom;
278
}
279
280
.newseventslist li {
281
padding: 0 0.3em 0 0.5em;
282
display: inline;
283
border-right: 1px solid #B6B6B6;
284
}
285
286
.newseventslist li a {
287
}
288
289
.newseventslist li.last-child {
290
border-right: 0;
291
padding-right: 0;
292
display: inline-block;
293
line-height: 0.9em;
294
}
295
296
.newseventslist li.first-child {
297
margin: 0;
298
padding-left: 12px;
299
background-image: url(../images/blt_red_arrow.png);
300
background-repeat: no-repeat;
301
background-position: 0px 0.5em;
302
}
303
304
.newseventslist li.only-child {
305
border-right: 0;
306
padding-left: 0;
307
}
308
309
/* Shortcuts */
310
311
#frontshortcuts {
312
margin: 0;
313
padding: 0;
314
color: #666;
315
}
316
317
#frontshortcutscontent {
318
float: right;
319
margin: 0;
320
padding: 0;
321
padding-left: 15px;
322
padding-top: 20px;
323
}
324
325
#frontshortcutslist {
326
margin: 0;
327
padding: 0;
328
margin-left: 5px;
329
margin-top: 5px;
330
list-style: none;
331
}
332
333
#frontshortcutslist li {
334
margin: 0;
335
padding-left: 12px;
336
background-image: url(../images/blt_red_arrow.png);
337
background-repeat: no-repeat;
338
background-position: 0px 0.5em;
339
}
340
341
/* Latest Releases */
342
343
#frontreleases {
344
padding: 0;
345
margin: 8px;
346
margin-left: 210px;
347
margin-top: 5px;
348
padding-bottom: 20px;
349
color: #666;
350
width: 85%;
351
}
352
353
#frontreleasescontent {
354
margin: 0;
355
padding: 0;
356
}
357
358
#frontreleaseslist {
359
margin: 0;
360
padding: 0;
361
margin-left: 5px;
362
margin-top: 5px;
363
list-style: none;
364
}
365
366
#frontreleaseslist li {
367
margin: 0;
368
padding-left: 12px;
369
background-image: url(../images/blt_red_arrow.png);
370
background-repeat: no-repeat;
371
background-position: 0px 0.5em;
372
}
373
374
/* New User Box */
375
376
/* height and width details */
377
.frontnewtop div, .frontnewtop, .frontnewbot div, .frontnewbot {
378
width: 100%;
379
height: 12px;
380
}
381
382
.frontnewcontent {
383
margin: 0;
384
padding: 0;
385
margin-top: -4px;
386
margin-bottom: -4px;
387
text-align: center;
388
font-size: 1.1em;
389
font-weight: bold;
390
}
391
392
.frontnewcontent a, .frontnewcontent a:link, .frontnewcontent a:visited, .frontnewcontent a:hover, .frontnewcontent a:active {
393
color: #990000;
394
text-decoration: none;
395
}
396
397
.frontnewroundbox {
398
float: left;
399
margin: 0;
400
margin-top: 30px;
401
padding: 0;
402
width: 130px;
403
background-color: #D8D8D8;
404
border-radius: 10px;
405
}
406
407
/* Donate Button */
408
/* height and width details */
409
.frontdonatetop div, .frontdonatetop, .frontdonatebot div, .frontdonatebot {
410
width: 20%;
411
height: 10px;
412
font-size: 1px;
413
text-align: center;
414
}
415
416
.frontdonatecontent {
417
margin: 0;
418
padding: 0;
419
margin-top: -4px;
420
margin-bottom: -4px;
421
text-align: center;
422
font-size: 1.1em;
423
font-weight: bold;
424
}
425
426
.frontdonatecontent a, .frontdonatecontent a:link, .frontdonatecontent a:visited, .frontdonatecontent a:hover, .frontdonatecontent a:active {
427
color: #990000;
428
text-decoration: none;
429
}
430
431
.frontdonateroundbox {
432
margin-top: 0.5em;
433
padding: 0;
434
white-space: nowrap;
435
background-color: white;
436
border-radius: 10px;
437
}
438
439
/* Get FreeBSD Box */
440
441
/* height and width details */
442
.frontgettop div, .frontgettop, .frontgetbot div, .frontgetbot {
443
width: 100%;
444
height: 18px;
445
font-size: 1px;
446
}
447
448
.frontgetcontent {
449
margin: 0;
450
padding: 0;
451
margin-top: -8px;
452
margin-bottom: -8px;
453
text-align: center;
454
font-size: 1.3em;
455
font-weight: bold;
456
}
457
458
.frontgetcontent a, .frontgetcontent a:link, .frontgetcontent a:visited, .frontgetcontent a:hover, .frontgetcontent a:active {
459
color: #990000;
460
text-decoration: none;
461
}
462
463
.frontgetroundbox {
464
margin-top: 10px;
465
margin-left: 210px;
466
padding: 0;
467
width: 325px;
468
background-color: #facc2e;
469
border-radius: 15px;
470
}
471
472
.frontgetroundbox.newtofreebsd {
473
margin-top: 50px;
474
background-color: #eee;
475
}
476
477
/* Secondary Pages */
478
479
@media screen {
480
#sidewrap {
481
float: left;
482
width: 166px;
483
margin-top: 15px;
484
margin-right: -170px;
485
}
486
487
#rightwrap {
488
float: right;
489
width: 166px;
490
margin-left: 15px;
491
}
492
493
#contentwrap {
494
margin-left: 170px;
495
padding-top: 15px;
496
}
497
}
498
499
@media print {
500
#sidewrap, #rightwrap { display: none; }
501
#contentwrap { margin-left: 16px; padding-top: 15px; }
502
}
503
504
/* Footer */
505
506
#footer {
507
font-size: 0.9em;
508
text-align: center;
509
color: #737373;
510
line-height: 1.3em;
511
padding-top: 5px;
512
clear: both;
513
}
514
515
/* Misc Classes */
516
517
.clearboth {
518
clear: both;
519
margin: 0;
520
padding: 0;
521
}
522
523
.blockhide {
524
display: none;
525
height: 0;
526
width: 0;
527
overflow: hidden;
528
position: absolute; /* IE5 Mac */
529
}
530
531
img {
532
border: 0;
533
}
534
535