]> git.plutz.net Git - shellwiki/blob - themes/default.css
handler for moving and deleting pages
[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   font-size: 12pt;
10 }
11
12 header, footer {
13   background-color: #FFF;
14   box-shadow: 0 0 .75em;
15   width: 100%;
16   z-index: 1;
17 }
18
19 footer {
20   position: absolute;
21   bottom: 0;
22 }
23
24 header > :last-child,
25 main > :last-child {
26   margin-bottom: 0;
27 }
28
29 header h2,
30 header .menu {
31   display: inline-block;
32 }
33
34 header .menu { list-style: none; }
35
36 header .menu li {
37   display: inline-block;
38   margin-right: .5em;
39 }
40
41 main .pagemenu {
42   list-style: none;
43   background-color: #666;
44   margin: 0;
45   box-shadow: 0 0 .5em;
46   padding: .25em 2em;
47 }
48 main .pagemenu li {
49   display: inline-block;
50   margin-right: 1em;
51 }
52 main .pagemenu li a { color: #FFF; }
53
54 main article,
55 main > form#renamepage, main > form#movepage,
56 main > form#deletepage, 
57 [id$="/[attachment]"] main form.upload {
58   margin: 1em;
59   padding: .125em 1em 1em 1em;
60   box-shadow: .25em .25em .75em;
61   background-color: #FFF;
62 }
63
64 [id$="/[revision]"] main .revisions,
65 [id$="/[attachment]"] main .attachment.list {
66   margin: 1em;
67   padding: 1em 2em;
68 }
69 [id$="/[revision]"] main .revisions:before,
70 [id$="/[attachment]"] main .attachment.list:before {
71   content: '';
72   position: absolute;
73   top: 0; bottom: 0; left: 0; right: 0;
74   background-color: #FFF;
75   box-shadow: .25em .25em .75em;
76 }
77
78
79 /* === Editor === */
80
81 body[id$="/[edit]"] textarea,
82 body[id$="/[newpage]"] textarea {
83   width: 100%;
84   min-height: 20em; min-height: 70vh;
85   font-family: monospace;
86   font-size: inherit;
87 }
88
89 /* === Attachments === */
90
91 .attachment.list button[name=delete] {
92   font-size: .75em;
93   line-height: 1.25em;
94   margin-right: 1.25em;
95 }
96 .attachment.list .size,
97 .attachment.list .date {
98   font-size: .875em;
99   top: -.25em;
100 }
101
102 .attachment.list .name:after {
103   white-space: pre-line;
104   content: "\0a";
105 }
106 .attachment.list .size {
107   margin-right: 1em;
108 }
109
110 .revisions li { margin: 1em 0; }
111 .revisions li span.hash,
112 .revisions li span.date {
113   margin-right: 1em;
114 }
115
116 /* === Macros === */
117
118 .macro.toc {
119   display: inline-block;
120   list-style-position: inside;
121   margin-left: 0;
122   background-color: #DDD;
123   background-color: rgba(0, 0, 0, .125);
124   padding: .75em 1em;
125   border: 1pt solid;
126   border-radius: 2pt;
127 }
128 .macro.toc li.h2 { margin-left: 1.25em; }
129 .macro.toc li.h3 { margin-left: 2.5em; }
130 .macro.toc li.h4 { margin-left: 3.75em; }
131 .macro.toc li.h5 { margin-left: 5em; }
132 .macro.toc li.h6 { margin-left: 6.25em; }
133