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