]> git.plutz.net Git - shellwiki/blob - themes/default.css
Merge commit '1f887be68c8e777cdaa6853eb942f7b691bc1e4e'
[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   margin: 1em;
56   padding: .125em 1em 1em 1em;
57   box-shadow: .25em .25em .75em;
58   background-color: #FFF;
59 }
60
61 [id$="/[attachment]/"] main .attachment.list {
62   margin: 1em;
63   padding: 1em 2em;
64 }
65 [id$="/[attachment]/"] main .attachment.list:before {
66   content: '';
67   position: absolute;
68   top: 0; bottom: 0; left: 0; right: 0;
69   background-color: #FFF;
70   box-shadow: .25em .25em .75em;
71 }
72
73
74 /* === Editor === */
75
76 body.editor textarea {
77   width: 100%;
78   min-height: 20em;
79 }
80
81 /* === Attachments === */
82
83 .attachment.list button[name=delete] {
84   font-size: .75em;
85   line-height: 1.25em;
86   margin-right: 1.25em;
87 }
88 .attachment.list .size,
89 .attachment.list .date {
90   font-size: .875em;
91   top: -.25em;
92 }
93
94 .attachment.list .name:after {
95   white-space: pre-line;
96   content: "\0a";
97 }
98 .attachment.list .size {
99   margin-right: 1em;
100 }
101
102
103 /* === Macros === */
104
105 .macro.toc {
106   display: inline-block;
107   list-style-position: inside;
108   margin-left: 0;
109   background-color: #DDD;
110   background-color: rgba(0, 0, 0, .125);
111   padding: .75em 1em;
112   border: 1pt solid;
113   border-radius: 2pt;
114 }
115 .macro.toc li.h2 { margin-left: 1.25em; }
116 .macro.toc li.h3 { margin-left: 2.5em; }
117 .macro.toc li.h4 { margin-left: 3.75em; }
118 .macro.toc li.h5 { margin-left: 5em; }
119 .macro.toc li.h6 { margin-left: 6.25em; }
120