wiki.pl: Port some fixes from upstream
[Orgmuse.git] / css / alex-2012.css
blob9d3b1cb87d374384896cf5db446d065c0d6a5172
1 @font-face {
2 font-family: 'Garamond';
3 font-style: normal;
4 font-weight: 400;
5 src: local('Garamond'), local('GaramondNo8'), local('EB Garamond'), local('EBGaramond'), url(https://themes.googleusercontent.com/static/fonts/ebgaramond/v4/kYZt1bJ8UsGAPRGnkXPeFdIh4imgI8P11RFo6YPCPC0.woff) format('woff');
8 body, rss {
9 font-family: Garamond, serif;
10 font-size: 16pt;
11 line-height: 20pt;
12 margin:1em 3em;
13 padding:0;
16 /* headings: we can use larger sizes if we use a lighter color.
17 we cannot inherit the font-family because header and footer use a narrow font. */
19 h1, h2, h3, title {
20 font-family: Garamond, GaramondNo8, "Bookman Old Style", Cochin, Baskerville, serif;
21 font-weight:normal;
22 line-height: 100%;
24 h1, channel title {
25 font-size: 32pt;
26 margin: 1em 0 0.5em 0;
27 padding: 0.4em 0;
29 h2 {
30 font-size: 18pt;
31 margin: 2em 0 0 0;
32 padding: 0;
34 h3 {
35 font-size: inherit;
36 font-weight: bold;
37 padding: 0;
38 margin: 1em 0 0 0;
39 clear: both;
42 /* headers in the journal are smaller */
44 div.journal h1, item title {
45 font-size: inherit;
46 padding: 0;
47 clear: both;
48 border-bottom: 1px solid #000;
50 div.journal h2 {
51 font-family: inherit;
52 font-size: inherit;
54 div.journal h3 {
55 font-family: inherit;
56 font-size: inherit;
57 font-weight: inherit;
58 font-style: italic;
60 div.journal hr {
61 display:none;
63 p.more {
64 margin-top: 3em;
66 /* Links in headings appear on journal pages. */
68 h1 a, h2 a, h3 a {
69 color:inherit;
70 text-decoration:none;
71 font-weight: normal;
73 h1 a:visited, h2 a:visited, h3 a:visited {
74 color: inherit;
77 /* stop floating content from flowing over the footer */
79 hr {
80 clear: both;
83 /* the distance between links in the navigation bars */
85 span.bar a {
86 margin-right: 1ex;
89 a img {
90 border: none;
93 /* search box in the top bar */
95 form.tiny, form.tiny p {
96 display: inline;
97 white-space: nowrap;
99 form.tiny input {
100 padding: 0;
101 width: 10ex;
102 font-size: 80%;
105 /* code */
107 pre, code, tt {
108 font-family: "Andale Mono", Monaco, "Courier New", Courier, monospace;
109 font-size: 80%;
110 line-height: 110%;
113 /* styling for divs that will be invisible when printing
114 when printing. */
116 div.header, div.footer, div.near, div.definition, p.comment, a.tag {
117 font-family: "Abadi MT Condensed Light", "Arial Narrow", Arial, sans-serif;
118 font-size: 75%;
119 line-height: 110%;
121 div.footer form.search {
122 display: none;
124 div.rc li {
125 line-height: 110%;
127 div.rc li + li {
128 margin-top: 1em;
130 div.rc li strong, table.history strong, strong.description {
131 font-weight: inherit;
133 div.diff {
134 padding-left: 5%;
135 padding-right: 5%;
136 font-size: 12pt;
137 line-height: 14pt;
138 color: #000;
141 div.old {
142 background-color: #ffffaf;
144 div.new {
145 background-color: #cfffcf;
148 div.refer {
149 padding-left: 5%;
150 padding-right: 5%;
151 font-size: 12pt;
152 line-height: 13pt;
155 div.message {
156 background-color:#fee;
157 color:#000;
160 img.xml {
161 border:none;
162 padding:1px;
164 a.small img {
165 max-width:300px;
167 a.large img {
168 max-width:600px;
170 div.sister {
171 margin-right:1ex;
172 background-color:inherit;
174 div.sister p {
175 margin-top:0;
177 div.sister hr {
178 display:none;
180 div.sister img {
181 border:none;
184 div.near, div.definition {
185 background-color:#efe;
188 div.sidebar {
189 float:right;
190 border:1px dotted #000;
191 padding:0 1em;
193 div.sidebar ul {
194 padding-left:1em;
197 /* replacements, features */
199 ins {
200 color: #b33;
201 text-decoration: none;
203 acronym, abbr {
204 letter-spacing:0.1em;
205 font-variant:small-caps;
208 /* Interlink prefix not shown */
209 a .site, a .separator {
210 display: none;
212 a cite { font:inherit; }
213 /* browser borkage */
214 textarea[name="text"] { width:97%; height:80%; }
215 textarea[name="summary"] { width:97%; height:3em; }
216 /* comments */
217 textarea[name="aftertext"] { width:97%; height:10em; }
218 div.commentshown {
219 background-color:#ffc;
220 padding-bottom:1ex;
222 div.commenthidden {
223 display:none;
225 div.commentshown {
226 display:block;
228 p.comment {
229 margin-bottom: 0;
231 div.comment {
232 font-size: 14pt;
234 div.comment h2 {
235 margin-top: 5em;
237 /* comment pages with username, homepage, and email subscription */
238 .comment span { display: block; }
239 .comment span label { display: inline-block; width: 10em; }
240 /* IE sucks */
241 .comment input#username,
242 .comment input#homepage,
243 .comment input#mail { width: 20em; }
245 /* cal */
246 div.month { padding:0; margin:0 2ex; }
247 body > div.month {
248 float:right;
249 background-color: inherit;
250 border:solid thin;
251 padding:0 1ex;
253 div.year > div.month {
254 float:left;
256 div.footer {
257 clear:both;
259 div.content div.month a.edit {
260 color:inherit;
261 font-weight:inherit;
262 text-decoration: none;
265 /* history tables and other tables */
266 table.history {
267 border: none;
269 td.history {
270 border: none;
273 table.user {
274 border: none;
275 border-top: 1px solid #ccc;
276 border-bottom: 1px solid #ccc;
277 padding: 1em;
278 margin: 1em 2em;
280 table.user tr td, table.user tr th {
281 border: none;
282 padding: 0.2em 0.5em;
283 vertical-align: top;
285 table.arab tr th {
286 font-weight:normal;
287 text-align:left;
288 vertical-align:top;
290 table.arab, table.arab tr th, table.arab tr td {
291 border:none;
293 th.nobreak {
294 white-space:nowrap;
296 table.full { width:99%; margin-left:1px; }
297 table.j td, table.j th, table tr td.j, table tr th.j, .j { text-align:justify; }
298 table.l td, table.l th, table tr td.l, table tr th.l, .l { text-align:left; }
299 table.r td, table.r th, table tr td.r, table tr th.r, .r { text-align:right; }
300 table.c td, table.c th, table tr td.c, table tr th.c, .c { text-align:center; }
301 table.t td { vertical-align: top; }
302 td.half { width:50%; }
303 td.third { width:33%; }
305 form table td { padding:5px; }
307 /* lists */
308 dd { padding-bottom:0.5ex; }
309 dl.inside dt { float:left; }
310 /* search */
311 div.search span.result { font-size:larger; }
312 div.search span.info { font-size:smaller; font-style:italic; }
313 div.search p.result { display:none; }
315 img.logo {
316 float: right;
317 margin: 0;
318 padding: 0;
319 border: 1px solid #000;
320 opacity: 0.3;
321 background-color:#ffe;
324 /* images */
326 div.content a.feed img, div.journal a.feed img,
327 div.content a img.smiley, div.journal a img.smiley, img.smiley,
328 div.content a.inline img, div.journal a.inline img,
329 div.content li a.image img, div.journal li a.image img {
330 margin: 0; padding: 0; border: none;
332 div.image a img {
333 margin-bottom: 0;
335 div.image span.caption {
336 margin: 0 1em;
339 .left { float:left; margin-right: 1em; }
340 .right { float:right; margin-left: 1em; }
341 .half a img { height: 50%; width: 50%; }
342 div.left .left, div.right .right {
343 float:none;
345 .center { text-align:center; }
346 table.aside {
347 float:right;
348 width:40%;
349 margin-left: 1em;
350 padding: 1ex;
351 border: 1px dotted #666;
353 table.aside td {
354 text-align:left;
356 div.sidebar {
357 float:right; width: 250px;
358 text-align: right;
359 border: none;
360 margin: 1ex;
363 .bigsidebar {
364 float:right;
365 width: 500px;
366 border: none;
367 margin-left: 1ex;
368 font-size: 80%;
371 dl.irc dt { width:20ex; float:left; text-align:right; clear:left; }
372 dl.irc dt span.time { float:left; }
373 dl.irc dd { margin-left:22ex; }
375 /* portrait */
377 div.footer, div.comment, hr { clear: both; }
378 .portrait { float: left; font-size: small; margin-right: 1em; }
379 .portrait { line-height: 1em; }
380 .portrait a { color: #999; }
382 div.left { float:left; margin:1em; padding: 0.5em; }
383 div.left p { display:table-cell; }
384 div.left p + p { display:table-caption; caption-side:bottom; }
386 p.table a { float:left; width:20ex; }
387 p.table + p { clear:both; }
389 /* no bleeding
390 @media screen {
391 div.content, div.rc {
392 overflow:hidden;
394 } */
396 @media print {
397 body {
398 font-size: 12pt;
399 line-height: 13pt;
400 color: #000;
401 background-color: #fff;
404 /* hide all the crap */
405 div.diff, div.diff+hr, div.refer, div.near, div.definition, div.sister,
406 div.cal, div.footer, span.specialdays, span.gotobar, a.edit, a.number span,
407 div.rc form, form.tiny, p.comment, p#plus1, div.g-plusone {
408 display:none;
411 a:visited,
412 div.content a.near:link,
413 div.content a.near:visited,
414 div.content a.near:active {
415 color:inherit;
416 font-weight: bold;
418 div.content a.feed {
419 display: none;
421 div.content a.book,
422 div.content a.movie {
423 text-decoration: none;
425 a cite {
426 font-style: italic;
428 /* no difference */
429 pre, code, tt {
430 font-size: inherit;
431 line-height: inherit;
433 /* no dotted underlines */
434 acronym, abbr {
435 border: none;
436 text-decoration: none;
438 /* headings */
439 h1 {
440 color: inherit;
441 margin-top: 2em;
443 h2 {
444 color:inherit;
445 margin: 1em 0;
446 font-variant: small-caps;
448 h3 {
449 font-weight:inherit;
450 font-style:italic;
451 color:inherit;
452 margin: 1em 0;
454 h1 a, h2 a, h3 a {
455 color: inherit;
457 div.journal h1 a:visited,
458 div.journal h2 a:visited,
459 div.journal h3 a:visited {
460 color: inherit;
464 /* rss */
465 channel * { display: block; }
467 channel title {
468 margin-top: 30pt;
470 copyright {
471 font-size: 14pt;
472 line-height: 16pt;
473 margin-top: 1em;
475 channel > link:before {
476 font-size: 18pt;
477 display: block;
478 margin: 1em;
479 padding: 0.5em;
480 content: "This is an RSS feed, designed to be read in a feed reader.";
481 color: red;
482 border: 1px solid red;
484 link, license {
485 font-size: 11pt;
486 margin-bottom: 9pt;
488 username:before { content: "Last edited by "; }
489 username:after { content: "."; }
490 generator:before { content: "Feed generated by "; }
491 generator:after { content: "."; }
492 channel description {
493 font-weight: bold;
495 item description {
496 font-style: italic;
497 font-weight: normal;
498 margin-bottom: 1em;
500 docs, language,
501 pubDate, lastBuildDate, ttl, guid, category, comments,
502 docs, image title, image link,
503 status, version, diff, history, importance {
504 display: none;