2 # Copyright 2022 - 2023 Paul Hänsch
4 # Permission to use, copy, modify, and/or distribute this software for any
5 # purpose with or without fee is hereby granted, provided that the above
6 # copyright notice and this permission notice appear in all copies.
8 # THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
11 # SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
14 # IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 html { min-height: 100%; }
24 background-color: #EEE;
29 background-color: #FFF;
30 box-shadow: 0 0 .75em;
50 display: inline-block;
54 footer .menu { list-style: none; }
56 header .menu > ul > li,
57 header .menu > ol > li,
58 footer .menu > ul > li,
59 footer .menu > ol > li {
60 display: inline-block;
65 header .menu.dropdown li > ul,
66 header .menu.dropdown li > ol {
69 background-color: #FFF;
73 box-shadow: 0 0 .75em;
75 header .menu.dropdown li:hover > ul,
76 header .menu.dropdown li:hover > ol {
82 background-color: #666;
88 display: inline-block;
91 main .pagemenu li a { color: #FFF; }
94 main > form#renamepage, main > form#movepage,
95 main > form#deletepage,
96 [id$="/[attachment]"] main > form {
98 padding: .125em 1em 1em 1em;
99 box-shadow: .25em .25em .75em;
100 background-color: #FFF;
103 [id$="/[revision]"] main .revisions,
104 [id$="/[attachment]"] main > .attachment.list {
108 [id$="/[revision]"] main .revisions:before,
109 [id$="/[attachment]"] main > .attachment.list:before {
112 top: 0; bottom: 0; left: 0; right: 0;
113 background-color: #FFF;
114 box-shadow: .25em .25em .75em;
118 padding: .125em .25em;
119 background-color: #CCC;
123 background-color: #CCC;
128 li.task > input[type=checkbox][disabled],
129 li.task > p > input[type=checkbox][disabled] {
132 li.task > p:first-child { display: inline-block;}
134 -li.task:before { font-size: 1.125em; }
135 li.task.pending:before { content: '\274f '; color: #222; }
136 li.task.partial:before { content: '\25d4 '; color: #880; }
137 li.task.negative:before { content: '\2718 '; color: #800; }
138 li.task.done:before { content: '\2714 '; color: #080; }
139 li.task.unsure:before { content: '? ' ; color: #880; font-weight: bold; padding-left: 2pt; }
141 /* Alternative Check Symbols, all from "geometric shapes" block */ /*
142 -li.task.pending:before { content: '\25a1 '; color: #222; }
143 -li.task.partial:before { content: '\25d4 '; color: #880; }
144 -li.task.negative:before { content: '\25a8 '; color: #800; }
145 -li.task.done:before { content: '\25a3 '; color: #080; }
151 [id$="/[edit]"] main .pagemenu {
155 .tab[name=edithelp] ~ .tab.editor textarea,
156 .tab[name=edithelp] ~ .tab.syntax,
157 .tab[name=edithelp] ~ .tab.attach,
158 .tab[name=edithelp] ~ .tab.transl {
159 background-color: #FFF;
160 min-height: 20em; min-height: 50vh;
163 .tab[name=edithelp] ~ .tab.editor textarea {
165 font-family: monospace;
169 .tab[name=edithelp] ~ .tab.attach {
173 .tab[name=edithelp] ~ .tab.attach .aimg img {
179 .tab[name=edithelp] ~ .tab.transl {
180 font-family: monospace;
184 .tab[name=edithelp]#editor:checked ~ .tab.editor,
185 .tab[name=edithelp]#syntax:checked ~ .tab.syntax,
186 .tab[name=edithelp]#attach:checked ~ .tab.attach,
187 .tab[name=edithelp]#transl:checked ~ .tab.transl {
192 /* === Attachments === */
194 .attachment.list button[name=delete] {
197 margin-right: 1.25em;
199 .attachment.list .size,
200 .attachment.list .date {
205 .attachment.list .name:after {
206 white-space: pre-line;
209 .attachment.list .size {
213 .revisions li { margin: 1em 0; }
214 .revisions li span.hash,
215 .revisions li span.date {
219 .revisions .diff span {
220 font-family: monospace;
223 line-height: 1.375em;
225 .revisions .diff span.linenum { color: #D60; }
226 .revisions .diff span.linedel { color: #A00; }
227 .revisions .diff span.lineadd { color: #0A0; }
228 .revisions .diff span.linenote { color: #AAA; }
231 [id$="/[attachment]"] input[type=radio].tab ~ div.tab {
235 [id$="/[attachment]"] input[type=radio].tab ~ div.tab ul.attachment.list {
240 .tab ul li input[name=select],
241 .tab ul li label.name,
243 .tab ul li input.name {
247 [id$="/[attachment]"] input[type=radio].tab#tview:checked ~ div.tab ul li a.name,
248 [id$="/[attachment]"] input[type=radio].tab#tdel:checked ~ div.tab ul li input[name=select],
249 [id$="/[attachment]"] input[type=radio].tab#tdel:checked ~ div.tab ul li label.name,
250 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab ul li input[name=select],
251 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab ul li label.name {
254 [id$="/[attachment]"] input[type=radio].tab#tren:checked ~ .tab ul li input.name {
258 [id$="/[attachment]"] label[for=moveto], [id$="/[attachment]"] input#moveto,
259 [id$="/[attachment]"] button[name=action] { display: none; }
261 [id$="/[attachment]"] .upload button[name=action] { display: inline-block; }
262 [id$="/[attachment]"] input[type=radio].tab#tdel:checked ~ div.tab button[name=action][value=delete],
263 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab label[for=moveto],
264 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab input#moveto,
265 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab button[name=action][value=move],
266 [id$="/[attachment]"] input[type=radio].tab#tren:checked ~ div.tab button[name=action][value=rename] {
274 display: inline-block;
275 list-style-position: inside;
277 background-color: #DDD;
278 background-color: rgba(0, 0, 0, .125);
283 .macro.toc li.h2 { margin-left: 1.25em; }
284 .macro.toc li.h3 { margin-left: 2.5em; }
285 .macro.toc li.h4 { margin-left: 3.75em; }
286 .macro.toc li.h5 { margin-left: 5em; }
287 .macro.toc li.h6 { margin-left: 6.25em; }
293 padding: .5em .125em;
294 background-color: #444;
303 .macro.changes td .date {
307 .macro.changes td.outdated,
308 .macro.changes td.current,
309 .macro.changes td.missing {
312 .macro.changes th { background-color: #EEF; }
313 .macro.changes td { background-color: #DFF; }
314 .macro.changes td.outdated { background-color: #FFD; }
315 .macro.changes td.current { background-color: #DFD; }
316 .macro.changes td.missing { background-color: #FDD; }