]> sipb.mit.edu Git - ikiwiki.git/blob - doc/style.css
Add wish about not using 'cp -a'
[ikiwiki.git] / doc / 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-size: 22px;
10         font-weight: bold;
11         line-height: 1em;
12         display: block;
13 }
14
15 .author {
16         margin: 0;
17         font-size: 18px;
18         font-weight: bold;
19         display: block;
20 }
21
22 .actions ul {
23         margin: 0;
24         padding: 6px;
25         list-style-type: none;
26         border-bottom: 1px solid #000;
27 }
28
29 .inlinepage .actions ul {
30         border-bottom: 0;
31 }
32
33 .actions li {
34         display: inline;
35         padding: .2em .4em;
36 }
37
38 .pagefooter {
39         clear: both;
40 }
41
42 .tags {
43 }
44
45 #pageinfo {
46         margin: 1em 0;
47         border-top: 1px solid #000;
48 }
49
50 div.tags {
51         margin-top: 1em;
52 }
53
54 .mapparent {
55         text-decoration: none;
56 }
57
58 .img caption {
59         font-size: 80%;
60         caption-side: bottom;
61         text-align: center;
62 }
63
64 #backlinks {
65         margin-top: 1em;
66 }
67
68 #searchform {
69         display: inline;
70         float: right;
71 }
72
73 #editcontent {
74         width: 100%;
75 }
76
77 img {
78         border-style: none;
79 }
80
81 div.recentchanges {
82         border-style: solid;
83         border-width: 1px;
84         overflow: auto;
85         clear: both;
86         width: 100%;
87         background: #eee;
88         color: black !important;
89 }
90 .recentchanges .metadata {
91         padding: 0px 0.5em;
92 }
93 .recentchanges .changelog {
94         font-style: italic;
95         clear: both;
96         display: block;
97         padding: 1px 2px;
98         background: white !important;
99         color: black !important;
100 }
101 .recentchanges .desc {
102         display: none;
103 }
104 .recentchanges .diff {
105         display: none;
106 }
107 .recentchanges .committer {
108         float: left;
109         margin: 0;
110         width: 40%;
111 }
112 .recentchanges .committype {
113         float: left;
114         margin: 0;
115         width: 5%;
116         font-size: small;
117 }
118 .recentchanges .changedate {
119         float: left;
120         margin: 0;
121         width: 35%;
122         font-size: small;
123 }
124 .recentchanges .pagelinks {
125         float: right;
126         margin: 0;
127         width: 60%;
128 }
129
130 /* Used for adding a blog page. */
131 #blogform {
132         padding: 10px 10px;
133         border: 1px solid #aaa;
134         background: #eee;
135         color: black !important;
136 }
137
138 .inlinepage {
139         padding: 10px 10px;
140         border: 1px solid #aaa;
141 }
142
143 .pagedate,
144 .pagelicense,
145 .pagecopyright {
146         font-style: italic;
147         display: block;
148         margin-top: 1em;
149 }
150
151 .error {
152         color: #C00;
153 }
154
155 /* Used for invalid form fields. */
156 .fb_invalid {
157         color: red;
158         background: white !important;
159 }
160
161 /* Used for required form fields. */
162 .fb_required {
163         font-weight: bold;
164 }
165
166 /* Orange feed button. */
167 .feedbutton {
168         background: #ff6600;
169         color: white !important;
170         border-left: 1px solid #cc9966;
171         border-top: 1px solid #ccaa99;
172         border-right: 1px solid #993300;
173         border-bottom: 1px solid #331100;
174         padding: 0px 0.5em 0px 0.5em;
175         font-family: sans-serif;
176         font-weight: bold;
177         font-size: small;
178         text-decoration: none;
179         margin-top: 1em;
180 }
181 .feedbutton:hover {
182         color: white !important;
183         background: #ff9900;
184 }
185
186 /* Tag cloud. */
187 .pagecloud {
188         float: right;
189         width: 30%;
190         text-align: center;
191         padding: 10px 10px;
192         border: 1px solid #aaa;
193         background: #eee;
194         color: black !important;
195 }
196 .smallestPC { font-size: 70%; }
197 .smallPC { font-size: 85%; }
198 .normalPC { font-size: 100%; }
199 .bigPC { font-size: 115%; }
200 .biggestPC { font-size: 130%; }
201
202 #sidebar {
203         line-height: 3ex;
204         width: 20ex;
205         float: right;
206         margin-left: 40px;
207         margin-bottom: 40px;
208         padding: 2ex 2ex;
209         background: white;
210         color: black !important;
211 }
212
213 /* outlines */
214 li.L1 {
215         list-style: upper-roman;
216 }
217 li.L2 {
218         list-style: decimal;
219 }
220 li.L3 {
221         list-style: lower-alpha;
222 }
223 li.L4 {
224         list-style: disc;
225 }
226 li.L5 {
227         list-style: square;
228 }
229 li.L6 {
230         list-style: circle;
231 }
232 li.L7 {
233         list-style: lower-roman;
234 }
235 li.L8 {
236         list-style: upper-alpha;
237 }
238
239 hr.poll {
240         height: 10pt;
241         color: white !important;
242         background: #eee;
243         border: 2px solid black;
244 }
245 div.poll {
246         margin-top: 1ex;
247         margin-bottom: 1ex;
248         padding: 1ex 1ex;
249         border: 1px solid #aaa;
250 }
251
252 input#openid_url {
253         background: url(wikiicons/openidlogin-bg.gif) no-repeat;
254         background-color: #fff;
255         background-position: 0 50%;
256         color: #000;
257         padding-left: 18px;
258 }
259
260 input#searchbox {
261         background: url(wikiicons/search-bg.gif) no-repeat;
262         background-color: #fff;
263         background-position: 100% 50%;
264         color: #000;
265         padding-right: 16px;
266 }
267
268 /* Things to hide in printouts. */
269 @media print {
270         .actions { display: none; }
271         .tags { display: none; }
272         .feedbutton { display: none; }
273         #searchform { display: none; }
274         #blogform { display: none; }
275         #backlinks { display: none; }
276 }
277
278 /* Provided for use by template plugin for floating info boxes. */
279 .infobox {
280         float: right;
281         margin-left: 2ex;
282         margin-top: 1ex;
283         margin-bottom: 1ex;
284         padding: 1ex 1ex;
285         border: 1px solid #aaa;
286         background: white;
287         color: black !important;
288 }
289
290 /* Provided for use by template plugin for floating note boxes. */
291 .notebox {
292         float: right;
293         margin-left: 2ex;
294         margin-top: 1ex;
295         margin-bottom: 1ex;
296         padding: 1ex 1ex;
297         border: 1px solid #aaa;
298         width: 25%
299         background: white;
300         color: black !important;
301 }
302
303 /* Used by the popup template and for backlinks hiding. */
304 .popup {
305         border-bottom: 1px dotted #366;
306         color: #366;
307 }
308 .popup .balloon,
309 .popup .paren,
310 .popup .expand {
311         display: none;
312 }
313 .popup:hover .balloon,
314 .popup:focus .balloon {
315         position: absolute;
316         display: inline;
317         margin: 1em 0 0 -2em;
318         padding: 0.625em;
319         border: 2px solid;
320         background-color: #dee;
321         color: black;
322         
323         /* Nonstandard, but very nice. */
324         opacity: 0.95;
325         -moz-opacity: 0.95;
326         filter: alpha(opacity=95);
327 }
328
329 /* Formbuilder styling */
330 fieldset {
331         margin: 1ex 0;
332         border: 1px solid black;
333 }
334 legend {
335         padding: 0 1ex;
336 }
337 .fb_submit {
338         float: left;
339         margin: 2px 0;
340 }
341 #signin_openid_url_label {
342         float: left;
343         margin-right: 1ex;
344 }
345 #signin_openid {
346         padding: 10px 10px;
347         border: 1px solid #aaa;
348         background: #eee; 
349         color: black !important;
350 }