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