]> git.plutz.net Git - shellwiki/blob - themes/default.css
Merge commit '61045141d11e5e7b392ee0c6f57a6c0e1424be4d'
[shellwiki] / themes / default.css
1 html { min-height: 100%; }
2
3 body {
4   position: absolute;
5   width: 100%;
6   min-height: 100%;
7   padding-bottom: 6em;
8 }
9
10 header, footer {
11   background-color: #FFF;
12   box-shadow: 0 0 .75em;
13   width: 100%;
14   z-index: 1;
15 }
16
17 footer {
18   position: absolute;
19   bottom: 0;
20 }
21
22 header :last-child,
23 main :last-child {
24   margin-bottom: 0;
25 }
26
27 header h2,
28 header .menu {
29   display: inline-block;
30 }
31
32 header .menu { list-style: none; }
33
34 header .menu li {
35   display: inline-block;
36   margin-right: .5em;
37 }
38
39 main .pagemenu {
40   list-style: none;
41   background-color: #666;
42   margin: 0;
43   box-shadow: 0 0 .5em;
44   padding: .25em 2em;
45 }
46 main .pagemenu li {
47   display: inline-block;
48   margin-right: 1em;
49 }
50 main .pagemenu li a { color: #FFF; }
51
52 main article {
53   margin: 1em;
54   padding: .125em 1em 1em 1em;
55   box-shadow: .25em .25em .75em;
56 }
57
58
59 /* === Editor === */
60
61 body.editor textarea {
62   width: 100%;
63   min-height: 20em;
64 }
65
66 /* === Attachments === */
67
68 .attachment.list .size,
69 .attachment.list .date {
70   font-size: .875em;
71   top: -.25em;
72 }
73
74 .attachment.list .name:after {
75   white-space: pre-line;
76   content: "\0a";
77 }
78 .attachment.list .size {
79   margin-right: 1em;
80 }
81
82
83 /* === Macros === */
84
85 .macro.toc {
86   display: inline-block;
87   list-style-position: inside;
88   margin-left: 0;
89   background-color: #DDD;
90   background-color: rgba(0, 0, 0, .125);
91   padding: .75em 1em;
92   border: 1pt solid;
93   border-radius: 2pt;
94 }
95 .macro.toc li.h2 { margin-left: 1.25em; }
96 .macro.toc li.h3 { margin-left: 2.5em; }
97 .macro.toc li.h4 { margin-left: 3.75em; }
98 .macro.toc li.h5 { margin-left: 5em; }
99 .macro.toc li.h6 { margin-left: 6.25em; }
100