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