-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cobalt.css
1150 lines (899 loc) · 18.7 KB
/
Cobalt.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
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
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*****************************************************************
1. INITIAL SETTINGS
*****************************************************************/
/* Limited Reset
----------------------------------------------------------------*/
.pun table, .pun div, .pun form, .pun p, .pun h1, .pun h2, .pun h3,
.pun h4, .pun h5, .pun pre, .pun blockquote, .pun ul, .pun ol, .pun li, .pun dl,
.pun dt, .pun dd, .pun th, .pun td, .pun fieldset, .pun img, .pun abbr, .pun cite {
margin: 0;
padding: 0;
border: 0;
}
.pun ul, .pun ol {
list-style: none
}
/* Structural Settings
----------------------------------------------------------------*/
.pun .clearer, .pun .nosize {
height: 0;
width: 0;
line-height: 0;
font-size: 0;
overflow: hidden
}
.pun .clearer, .pun .clearb {
clear: both
}
.pun .nosize {
position: absolute;
left: -9999em;
text-indent: -9999em;
width: 0;
}
* html .inbox, * html .inform, * html .pun, * html .tclcon, * html .codebox {
height: 1px
}
.pun, .pun .inbox, .pun .inform, .pun .tclcon, .pun .codebox {
min-height: 1px
}
.clearl {
clear: left;
}
/* Hidden Elements
----------------------------------------------------------------*/
#brdfooter h2, #brdstats h2, #brdstats .conl dt, #brdstats .conr dt,
#modcontrols dt, #searchlinks dt, div.postright h3, span.closedtext,
.pun .required strong span {
position: absolute;
display: block;
overflow: hidden;
width: 0;
left: -9999em;
text-indent: -9999em;
}
/*****************************************************************
2. TEXT & CONTENT
*****************************************************************/
/* Text Defaults
----------------------------------------------------------------*/
.pun {
font: 68.75%/1.4545em Verdana, Helvetica, Arial, sans-serif;
line-height: normal;
}
.pun table, .pun td, .pun th, .pun input, .pun select, .pun optgroup, .pun textarea, .pun samp, .pun legend {
font-size: 1em;
font-family: verdana, helvetica, arial, sans-serif;
}
.pun pre, .pun code {
font-size: 1.182em;
font-family: consolas, monaco, "bitstream vera sans mono", "courier new", courier, monospace
}
.pun pre code {
font-size: 1em;
}
.pun strong {
font-weight: bold;
}
.pun em {
font-style: italic;
}
/* Content Defaults
----------------------------------------------------------------*/
.pun p, .pun ul, .pun ol, .pun dl {
font-size: 1em;
padding: 3px 0;
}
.pun h2 {
font-size: 1em;
font-weight: normal;
padding: 4px 6px;
}
.pun h3 {
font-size: 1.091em;
padding: 3px 0;
}
.pun table p, .pun table h3 {
padding: 0;
}
.pun span.warntext, .pun p.warntext {
font-weight: bold
}
/* User Content (Announcements, Rules, Posts)
----------------------------------------------------------------*/
.pun .usercontent p, .pun .postmsg p {
padding: 0.75em 0
}
.pun .usercontent ul, .pun .postmsg ul {
padding: 0.75em 1em 0.75em 2.5em;
list-style: disc
}
.pun .usercontent ol, .pun .postmsg ol {
padding: 0.75em 1em 0.75em 2.5em;
list-style: decimal
}
.pun .usercontent ol.alpha, .pun .postmsg ol.alpha {
list-style: lower-alpha
}
.pun .usercontent li ol, .pun .usercontent li ul, .pun .postmsg li ol, .pun .postmsg li ul {
padding: 0.25em 1em 0.75em 2.5em
}
.pun .usercontent li p, .pun .postmsg li p {
padding: 0
}
.pun .usercontent h1 {
font-size: 1.4em;
font-weight: bold;
padding: 0.75em 0 0 0
}
.pun .usercontent h2 {
font-size: 1.2em;
font-weight: bold;
padding: 0.75em 0 0 0
}
.pun .usercontent h3 {
font-size: 1.1em;
font-weight: bold;
padding: 0.75em 0 0 0
}
.pun .usercontent h4, .pun .usercontent h5, .pun .usercontent h6 {
font-size: 1em;
font-weight: bold;
padding: 0.75em 0 0 0
}
.pun .quotebox cite {
font-weight: bold;
font-style: normal;
padding: 0.75em 0.75em 0 0.75em
}
.pun span.bbu {
text-decoration: underline
}
.pun span.bbs, .pun del {
text-decoration: line-through;
}
.pun .postmsg ins, #punhelp samp ins {
text-decoration: none;
}
.pun div.postmsg h5, #punhelp h5 {
font-size: 1.1em;
font-weight: bold;
padding: 0.75em 0 0 0;
}
/*****************************************************************
3. COMMON STYLES
*****************************************************************/
/* Page Layout
----------------------------------------------------------------*/
html, body {
margin: 0;
padding: 0
}
.pun {
max-width: 1070px;
width: 95%;
margin: 0 auto;
padding: 12px 20px;
}
#punredirect, #punmaint, #puninstall, #pundb_update {
margin: 50px 20% 12px 20%
}
/* Vertical Element Spacing
----------------------------------------------------------------*/
#brdheader {
margin: 0 0 12px 0;
}
#brdtitle p {
padding-top: 0px
}
#announce, #brdstats {
margin: 12px 0 12px 0;
}
.pun .blocktable, .pun .block, .pun .blockform, .pun .block2col, #postreview {
margin-bottom: 12px
}
#punindex .blocktable, .pun .blockpost {
margin-bottom: 6px
}
#postreview .blockpost {
margin-bottom: -1px;
}
.pun .block2col .blockform, .pun .block2col .block {
margin-bottom: 0px
}
.pun .linkst, .pun .linksb {
margin-top: -12px
}
.pun .postlinksb {
margin-top: -6px
}
/* External Borders
----------------------------------------------------------------*/
.pun .box {
border-style: solid;
border-width: 1px;
}
#brdheader .box {
border-top-width: 4px;
}
/* Default Internal Spacing
----------------------------------------------------------------*/
.pun .block .inbox, .pun .blockmenu .inbox {
padding: 3px 6px
}
/*****************************************************************
4. COMMON BOARD ELEMENTS
*****************************************************************/
/* Board Header
----------------------------------------------------------------*/
#brdtitle h1 {
font-size: 1.4em;
font-weight: bold;
padding: 3px 0 0 0;
}
#brdmenu li {
display: inline;
margin-right: 12px;
}
#brdmenu a:link, #brdmenu a:visited {
text-decoration: none
}
#brdmenu a:hover, #brdmenu a:active {
text-decoration: underline
}
#brdwelcome .conl {
float: left;
}
#brdwelcome .conr {
float: right;
text-align: right;
}
/* Breadcrumbs and Post Links
----------------------------------------------------------------*/
.pun .linkst {
padding: 8px 6px 3px 6px
}
.pun .linksb, .pun .postlinksb {
padding: 3px 6px 8px 6px
}
.pun .crumbs {
clear: both;
width: 100%;
overflow: hidden;
}
.pun .crumbs li {
display: inline;
white-space: nowrap;
font-weight: bold;
}
.pun .pagelink {
float: left;
white-space: nowrap;
}
.pun .postlink {
font-weight: bold;
white-space: nowrap;
}
.pun .postlink, .pun .modbuttons {
float: right;
text-align: right;
}
.pun .modbuttons {
padding: 1px 0;
white-space: nowrap;
}
.pun .modbuttons input {
margin-left: 6px;
}
.pun .postlink a:link, .pun .postlink a:visited {
text-decoration: none
}
.pun .postlink a:hover, .pun .postlink a:active {
text-decoration: underline;
}
#punindex .subscribelink {
margin-top: 6px;
}
/* Board Footer
----------------------------------------------------------------*/
#brdfooter .conl {
float: left;
}
#brdfooter .conr {
float: right;
text-align: right;
}
#brdfooter #modcontrols {
border-bottom-style: solid;
border-bottom-width: 1px;
text-align: center;
}
#brdfooter #modcontrols dd {
display: inline;
margin:0 6px;
}
/* Board Stats
----------------------------------------------------------------*/
#brdstats .conl {
float: left;
}
#brdstats .conr {
float: right;
text-align: right;
}
#onlinelist dd, #onlinelist dt {
display: inline;
}
/*****************************************************************
5. MAIN TABLES
*****************************************************************/
.pun table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
empty-cells: show;
}
.pun .blocktable table {
table-layout: fixed;
}
.pun td, .pun th {
padding: 4px 6px;
text-align: left;
font-weight: normal;
}
.pun td, .pun th {
border-style: solid none none solid;
border-width: 1px;
}
.pun .tcl {
border-left: 0;
width: auto;
}
.pun .tc2, .pun .tc3, .pun .tcmod {
width: 10%;
text-align: center;
padding: 4px 0;
}
.pun .tcr {
width: 30%;
}
.pun .tcl h3 {
font-size: 1.091em;
font-weight: bold;
}
.pun .tcl h3 span.newtext {
font-size: 0.917em;
}
.pun .tcl span.newtext, .pun .tcl span.pagestext {
white-space: nowrap;
font-weight: normal;
}
.pun td span.byuser {
white-space: nowrap;
}
.pun .tcl p {
padding: 5px 0 0 0
}
#punsearch #vf .tc2 {
width: 18%;
text-align: left;
padding: 4px 6px;
}
#users1 .tcr {
width: 25%
}
#users1 .tc2 {
width: 25%;
text-align: left;
padding: 4px 6px;
}
#debug .tcl {
width: 10%
}
#debug .tcr {
width: 90%;
white-space: normal
}
#punindex .tcr .byuser {
display: block
}
.pun .blocktable .tclcon {
padding: 0 11px 0 12px;
overflow: hidden;
min-height: 1px;
position: relative;
}
.pun .blocktable .tclcon div {
width: 100%;
overflow: hidden;
}
.pun .icon {
margin: 0.1em 0 0 0.2em;
border-width: 0.6em;
border-style: solid;
height: 0;
width: 0;
overflow: hidden;
float: left;
}
.pun .icon div {
position: absolute;
left: -9999em;
text-indent: -9999em;
height: 0;
}
.pun .iposted .ipost {
position: absolute;
left: 0;
font-weight: bold;
width: 8px;
padding-left: 4px;
text-align: center;
top: 0;
}
/*****************************************************************
6. MAIN FORMS
*****************************************************************/
.pun .blockform form, .pun .fakeform {
PADDING: 20px 20px 15px 20px
}
.pun .forminfo {
margin-bottom: 12px;
padding: 9px 10px;
border-style: solid;
border-width: 1px;
}
.pun .forminfo h3 {
font-weight: bold;
}
.pun .inform {
padding-bottom: 12px
}
.pun fieldset {
padding: 0px 12px 0px 12px;
border-style: solid;
border-width: 1px
}
.pun legend {
padding: 0px 6px
}
.pun .infldset {
padding: 9px 0px 12px 0
}
.pun label {
display: block;
padding: 3px 0
}
.pun label.conl {
float: left;
overflow: visible;
margin-right: 10px
}
.pun fieldset .rbox br {
display: none;
}
.pun fieldset .rbox label {
padding: 3px 0 3px 25px;
position: relative;
vertical-align: middle;
}
.pun fieldset .rbox input {
margin: 0 9px 0 -25px;
padding: 0;
width: 16px;
position: relative;
vertical-align: middle;
}
.pun .txtarea {
width: 75%
}
.pun .txtarea textarea, .pun input.longinput {
width: 100%
}
.pun .bblinks {
padding-bottom: 10px;
padding-left: 4px
}
.pun .bblinks li {
display: inline;
padding-right: 20px
}
.pun .blockform .buttons {
padding-left: 12px;
}
.pun .blockform .buttons input {
margin-right: 8px;
}
#posterror ul {
list-style: square;
padding: 3px 0 3px 24px;
}
.pun .deletemsg {
border-style: solid;
border-width: 1px;
padding: 6px 15px;
}
.pun p.actions span {
margin-right: 12px;
}
.pun .multiselect {
float: left;
padding-bottom: 7px;
}
.pun .checklist {
border-width: 1px;
border-style: solid;
max-height: 9em;
width: 20em;
overflow: auto;
padding: 0.3em 0.5em;
margin: 0.25em 16px 0 0.15em;
}
.pun .checklist fieldset {
border: 0;
padding: 0;
}
.pun .checklist legend {
padding: 0;
}
.pun .checklist legend span {
width: auto;
max-width: 25em;
}
/*****************************************************************
7. PROFILES AND ADMIN
*****************************************************************/
.pun .block2col {
padding-bottom: 1px
}
.pun .block2col .blockform, .pun .block2col .block {
margin-left: 14em
}
.pun .blockmenu {
float:left;
width: 13em
}
.pun .blockmenu li {
padding: 3px 0;
font-weight: bold;
}
.pun .blockmenu a:link, .pun .blockmenu a:visited {
text-decoration: none
}
.pun .blockmenu a:hover, .pun .blockmenu a:active {
text-decoration: underline
}
#viewprofile dl {
float: left;
width: 100%;
overflow: hidden
}
#viewprofile dd {
margin-left: 14em;
padding: 3px;
}
#viewprofile dt {
float: left;
width: 13em;
margin: 3px 0;
}
#profileavatar img {
float: right;
margin-left: 1em
}
#adintro ul {
list-style-type: disc;
margin-left: 8px;
padding-left: 16px;
}
/*****************************************************************
8. MAIN POSTS
*****************************************************************/
.pun .blockpost h2 a:link, .pun .blockpost h2 a:visited {
text-decoration: none;
}
.pun .blockpost h2 a:hover, .pun .blockpost h2 a:active {
text-decoration: underline;
}
.pun .blockpost h2 .conr {
float: right;
text-align: right;
}
#punsearch .blockpost h2 span {
white-space: nowrap;
}
.pun .blockpost .box {
overflow: hidden;
}
.pun .postleft, .pun .postfootleft {
float:left;
width: 18em;
position: relative;
overflow: hidden;
}
.pun .postleft dl {
padding: 6px;
}
.pun .postleft .usercontacts, .pun .postleft .icon {
margin-top: 6px
}
.pun .postleft .postavatar, .pun .postleft .usertitle {
margin-bottom: 6px;
display: block;
}
.pun .blockpost dt {
font-size: 1.091em;
font-weight: bold;
}
.pun .blockpost dt a:link, .pun .blockpost dt a:visited {
text-decoration: none;
}
.pun .blockpost dt a:hover, .pun .blockpost dt a:active {
text-decoration: underline;
}
.pun .postright, .pun .postfootright {
border-left-width: 18em;
border-left-style: solid
}
#postpreview .postright {
border-left: 0
}
.pun .postright {
padding: 0 6px;
}
.pun .postfootright, .pun .multidelete {
text-align: right
}
.pun .postmsg {
width:98%;
overflow: hidden;
padding-bottom: 6px;
word-wrap: break-word;
}
.pun .postfootright ul, .pun .postfootright div, .pun .postfootright p,
.pun .postfootleft p {
padding: 10px 6px 5px 6px;
}
.pun .postfootright li {
display: inline;
}
.pun .postfootright li:before {
content: " | ";
}
.pun .postfootright li:first-child:before {
content: "";
}
.pun .postfootright a:link, .pun .postfootright a:visited {
text-decoration: none
}
.pun .postfootright a:hover, .pun .postfootright a:active {
text-decoration: underline
}
.pun .codebox {
border-style: solid;
border-width: 1px;
margin: 0.75em 1em;
padding: 0;
}
.pun .quotebox {
border-style: solid;
border-width: 1px;
margin: 0.75em 1em;
padding: 0 0.75em;
}
.pun .quotebox cite {
display: block;
padding: 0.75em 0 0 0;
}
.pun .quotebox blockquote {
width: 100%;
overflow: hidden
}
.pun .codebox pre {
overflow: auto;
width: 100%;
overflow-y:hidden
}
* html .pun .codebox pre {
padding-bottom: 10px;
}
*+html .pun .codebox pre {
padding-bottom: 10px
}
.pun .codebox pre code {
display: block;
padding: 0.75em;
}
.pun .codebox pre.vscroll {
height: 32em;
overflow: auto;
overflow-y: auto
}
.pun .postmsg img {
vertical-align: bottom;
}
.pun .postsignature hr {
margin-left: 0px;
width: 200px;
text-align: left;
height: 1px;
border:none
}
.pun .postmsg .postimg img {
max-width: 98%;
vertical-align: middle;
margin: 7px 0.5em 7px 0;
}
.pun .postmsg .postimg a:link img, .pun .postmsg .postimg a:visited img {
border-style: solid;
border-width: 2px;
}
.pun .blockpost label {
padding: 3px 6px;
border-style: solid;
border-width: 1px;
vertical-align: middle;
display: inline-block;
}
.pun .blockpost label * {
vertical-align: middle;
margin: 0;
padding: 0;
}
/****************************************************************/
/* 9. HELP FILES AND MISC. */
/****************************************************************/
#punhelp h2 {
margin-top: 12px
}
#punhelp div.box {
padding: 10px
}
#debugtime {
margin-top: -12px;
text-align: center;
}
#brdwelcome, #brdfooter dl a, div.blockmenu li, div.rbox input {
line-height: 1.4em
}
#announce div.inbox div {
padding: 3px 0
}
/*****************************************************************
COLOUR SCHEME
*****************************************************************/
/* Background / Text
----------------------------------------------------------------*/
body {
background: #2a2a2a;
color: #d4d4d4
}
.pun {
color: #d4d4d4
}
.pun .box, #adminconsole fieldset th {
background-color: #383838
}
.pun td.tc2, .pun td.tc3, .pun td.tcmod, #postpreview, #viewprofile dd, .pun .forminfo,
#brdfooter #modcontrols, #adminconsole fieldset td, .pun .blockmenu .box, #adstats dd {
background-color: #424242
}
.pun h2, #brdmenu {
background-color: #565656;
color: #d4d4d4
}
.pun th {