chiark / gitweb /
padding
[ArtibusWiki.git] / local.css
1 /* ikiwiki local style sheet */
2
3 /* Add local styling here, instead of modifying style.css. */
4
5 tr:nth-child(odd) {background: #EEE}
6 tr:last-child {background: white}
7 table {border-collapse: collapse; 
8        margin-top: 6pt}
9 td {border: 1px solid black; 
10     border-top: 0px; 
11     border-bottom: 0px;
12     padding-left: 4px;
13     padding-right: 4px}
14 td:first-child {border-left: 0px}
15 td:last-child {border-right: 0px}
16 thead {border: 1px solid black; 
17        border-top: 0px; 
18        border-left: 0px; 
19        border-right: 0px}
20 th {border: 1px solid black; 
21     border-top: 0px; 
22     border-bottom: 0px;
23     padding-left: 4px;
24     padding-right: 4px}
25 th:first-child {border-left: 0px}
26 th:last-child {border-right: 0px}
27 a.footnote {font-size: .83em;
28             vertical-align: sub;}
29
30 .header {margin-bottom:8px}
31
32 br {clear:left;}
33
34 ul.splitlist {overflow: auto;}
35
36 @media all and (min-width: 500pt) {
37     li.doublelist {width: 40%;
38                    float: left;}
39
40     div.virtflaw {float: left;
41                   padding-left: 2%;}
42 }
43
44 div.multicol ul {list-style-type: none;
45                  padding-left: 1em;}
46
47
48 @media all and (min-width: 500pt) and (max-width: 729pt) {
49     div.multicol ul li {width: 45%;
50                         float: left;
51                         margin-right: 1%;}
52
53 }
54
55 @media all and (min-width: 730pt) and (max-width: 959pt) {
56     div.multicol ul li {width: 31%;
57                         float: left;
58                         margin-right: 1%;}
59 }
60
61 @media all and (min-width: 960pt) and (max-width: 1189pt) {
62     div.multicol ul li {width: 23.6%;
63                         float: left;
64                         margin-right: 1%;}
65 }
66
67 @media all and (min-width: 1190pt) and (max-width: 1419pt) {
68     div.multicol ul li {width: 19.1%;
69                         float: left;
70                         margin-right: 0.5%;}
71 }
72
73 @media all and (min-width: 1420pt) and (max-width: 1649pt) {
74     div.multicol ul li {width: 16%;
75                         float: left;
76                         margin-right: 0.5%;} 
77 }
78
79 @media all and (min-width: 1650pt) {
80     div.multicol ul li {width: 11.2%;
81                         float: left;
82                         margin-right: 0.3%;} 
83     
84 }
85