chiark / gitweb /
More fiddling
[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
28 .header {margin-bottom:8px}
29
30 br {clear:left;}
31
32 ul.splitlist {overflow: auto;}
33
34 @media all and (min-width: 500pt) {
35     li.doublelist {width: 40%;
36                    float: left;}
37
38     div.virtflaw {width: 40%;
39                   float: left;}
40 }
41
42 div.multicol ul li {list-style: none;
43                     margin-left: 0;
44                     padding-left: 4em;
45                     text-indent: -4em;}
46
47 @media all and (min-width: 500pt) and (max-width: 729pt) {
48     div.multicol ul li {width: 45%;
49                         float: left;
50                         margin-right: 1%;}
51 }
52
53 @media all and (min-width: 730pt) and (max-width: 959pt) {
54     div.multicol ul li {width: 31%;
55                         float: left;
56                         margin-right: 1%;}
57 }
58
59 @media all and (min-width: 960pt) and (max-width: 1189pt) {
60     div.multicol ul li {width: 23.6%;
61                         float: left;
62                         margin-right: 1%;}
63 }
64
65 @media all and (min-width: 1190pt) and (max-width: 1419pt) {
66     div.multicol ul li {width: 19.1%;
67                         float: left;
68                         margin-right: 0.5%;}
69 }
70
71 @media all and (min-width: 1420pt) and (max-width: 1649pt) {
72     div.multicol ul li {width: 16%;
73                         float: left;
74                         margin-right: 0.5%;} 
75 }
76
77 @media all and (min-width: 1650pt) {
78     div.multicol ul li {width: 11.2%;
79                         float: left;
80                         margin-right: 0.3%;} 
81     
82 }
83