]> git.cworth.org Git - cworth.org/blob - src/style.css
eaf8c2ede6e5526db5de198d75f9ad96bbe01c12
[cworth.org] / src / style.css
1 /* ikiwiki style sheet */
2
3 /* Note that instead of modifying this style sheet, you can instead edit
4  * local.css and use it to override or change settings in this one.
5  */
6
7 .header {
8         margin: 0;
9         font-weight: bold;
10         line-height: 1em;
11         display: block;
12 }
13
14 .author {
15         margin: 0;
16         font-weight: bold;
17         display: block;
18 }
19
20 .actions ul {
21         margin: 0;
22         padding: 6px;
23         list-style-type: none;
24         border-bottom: 1px solid #000;
25 }
26
27 .inlinepage .actions ul {
28         border-bottom: 0;
29 }
30
31 .actions li {
32         display: inline;
33         padding: .2em .4em;
34 }
35
36 .tags {
37         clear: both;
38 }
39
40 #pageinfo {
41         clear: both;
42         margin: 1em 0;
43         border-top: 1px solid #000;
44 }
45
46 div.tags {
47         margin-top: 1em;
48 }
49
50 #backlinks {
51         margin-top: 1em;
52 }
53
54 #searchform {
55         display: inline;
56         float: right;
57 }
58
59 #editcontent {
60         width: 100%;
61 }
62
63 img {
64         border-style: none;
65 }
66
67 /* Stuff for the RecentChanges table. */
68 tr.changeheader {
69         background: #eee;
70         color: black !important;
71 }
72 tr.changeinfo {
73         background: #eee;
74         color: black !important;
75 }
76 th.changeheader {
77         padding: 1px .3em;
78 }
79 td.changeinfo {
80         padding: 1px .3em;
81 }
82 td.changetime {
83         white-space: nowrap;
84         padding: 1px .3em;
85 }
86 td.changelog {
87         font-style: italic;
88 }
89
90 /* Used for adding a blog page. */
91 #blogform {
92         padding: 10px 10px;
93         border: 1px solid #aaa;
94         background: #eee;
95         color: black !important;
96 }
97
98 .inlinepage {
99         padding: 10px 10px;
100         border: 1px solid #aaa;
101 }
102
103 .pagedate {
104         clear: both;
105         font-style: italic;
106         display: block;
107         margin-top: 1em;
108 }
109
110 /* Used for invalid form fields. */
111 .fb_invalid {
112         color: red;
113         background: white !important;
114 }
115
116 /* Used for required form fields. */
117 .fb_required {
118         font-weight: bold;
119 }
120
121 /* Orange feed button. */
122 .feedbutton {
123         background: #ff6600;
124         color: white !important;
125         border-left: 1px solid #cc9966;
126         border-top: 1px solid #ccaa99;
127         border-right: 1px solid #993300;
128         border-bottom: 1px solid #331100;
129         padding: 0px 0.5em 0px 0.5em;
130         font-family: sans-serif;
131         font-weight: bold;
132         font-size: small;
133         text-decoration: none;
134         margin-top: 1em;
135 }
136 .feedbutton:hover {
137         color: white !important;
138         background: #ff9900;
139 }
140
141 /* Tag cloud. */
142 .pagecloud {
143         float: right;
144         width: 30%;
145         text-align: center;
146         padding: 10px 10px;
147         border: 1px solid #aaa;
148         background: #eee;
149         color: black !important;
150 }
151 .smallestPC { font-size: 70%; }
152 .smallPC { font-size: 85%; }
153 .normalPC { font-size: 100%; }
154 .bigPC { font-size: 115%; }
155 .biggestPC { font-size: 130%; }
156
157 #sidebar {
158         line-height: 3ex;
159         width: 20ex;
160         float: right;
161         margin-left: 40px;
162         margin-bottom: 40px;
163         padding: 2ex 2ex;
164 }
165
166 /* outlines */
167 li.L1 {
168         list-style: upper-roman;
169 }
170 li.L2 {
171         list-style: decimal;
172 }
173 li.L3 {
174         list-style: lower-alpha;
175 }
176 li.L4 {
177         list-style: disc;
178 }
179 li.L5 {
180         list-style: square;
181 }
182 li.L6 {
183         list-style: circle;
184 }
185 li.L7 {
186         list-style: lower-roman;
187 }
188 li.L8 {
189         list-style: upper-alpha;
190 }
191
192 hr.poll {
193         height: 10pt;
194         color: white !important;
195         background: #eee;
196         border: 2px solid black;
197 }
198 div.poll {
199         margin-top: 1ex;
200         margin-bottom: 1ex;
201         padding: 1ex 1ex;
202         border: 1px solid #aaa;
203 }
204
205 input#openid_url {
206         background: url(wikiicons/openidlogin-bg.gif) no-repeat;
207         background-color: #fff;
208         background-position: 0 50%;
209         color: #000;
210         padding-left: 18px;
211 }
212
213 /* Things to hide in printouts. */
214 @media print {
215         .actions { display: none; }
216         .tags { display: none; }
217         .feedbutton { display: none; }
218         #searchform { display: none; }
219         #blogform { display: none; }
220         #backlinks { display: none; }
221 }
222
223 /* Provided for use by template plugin for floating info boxes. */
224 .infobox {
225         float: right;
226         margin-left: 2ex;
227         margin-top: 1ex;
228         margin-bottom: 1ex;
229         padding: 1ex 1ex;
230         border: 1px solid #aaa;
231 }
232
233 /* Provided for use by template plugin for floating note boxes. */
234 .notebox {
235         float: right;
236         margin-left: 2ex;
237         margin-top: 1ex;
238         margin-bottom: 1ex;
239         padding: 1ex 1ex;
240         border: 1px solid #aaa;
241         width: 25%
242 }
243
244 /* Used by the popup template and for backlinks hiding. */
245 .popup {
246         border-bottom: 1px dotted #366;
247         color: #366;
248 }
249 .popup .balloon,
250 .popup .paren,
251 .popup .expand {
252         display: none;
253 }
254 .popup:hover .balloon,
255 .popup:focus .balloon {
256         position: absolute;
257         display: inline;
258         margin: 1em 0 0 -2em;
259         padding: 0.625em;
260         border: 2px solid;
261         background-color: #dee;
262         color: black;
263         
264         /* Nonstandard, but very nice. */
265         opacity: 0.95;
266         -moz-opacity: 0.95;
267         filter: alpha(opacity=95);
268 }
269
270 /* Formbuilder styling */
271 fieldset {
272         margin: 1ex 0;
273         border: 1px solid black;
274 }
275 legend {
276         padding: 0 1ex;
277 }
278 .fb_submit {
279         float: left;
280         margin: 2px 0;
281 }
282 #signin_openid_url_label {
283         float: left;
284         margin-right: 1ex;
285 }
286 #signin_openid {
287         padding: 10px 10px;
288         border: 1px solid #aaa;
289         background: #eee; 
290         color: black !important;
291 }