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 main > form#deletepage label[for=delsub] {
104 text-decoration: underline;
106 main > form#deletepage input#delsub:checked + label + ul li.delsub {
107 text-decoration: line-through;
110 [id$="/[revision]"] main .revisions,
111 [id$="/[attachment]"] main > .attachment.list {
115 [id$="/[revision]"] main .revisions:before,
116 [id$="/[attachment]"] main > .attachment.list:before {
119 top: 0; bottom: 0; left: 0; right: 0;
120 background-color: #FFF;
121 box-shadow: .25em .25em .75em;
125 padding: .125em .25em;
126 background-color: #CCC;
130 background-color: #CCC;
135 li.task > input[type=checkbox][disabled],
136 li.task > p > input[type=checkbox][disabled] {
139 li.task > p:first-child { display: inline-block;}
141 -li.task:before { font-size: 1.125em; }
142 li.task.pending:before { content: '\274f '; color: #222; }
143 li.task.partial:before { content: '\25d4 '; color: #880; }
144 li.task.negative:before { content: '\2718 '; color: #800; }
145 li.task.done:before { content: '\2714 '; color: #080; }
146 li.task.unsure:before { content: '? ' ; color: #880; font-weight: bold; padding-left: 2pt; }
148 /* Alternative Check Symbols, all from "geometric shapes" block */ /*
149 -li.task.pending:before { content: '\25a1 '; color: #222; }
150 -li.task.partial:before { content: '\25d4 '; color: #880; }
151 -li.task.negative:before { content: '\25a8 '; color: #800; }
152 -li.task.done:before { content: '\25a3 '; color: #080; }
155 h1 { text-align: center; }
156 .center { text-align: center; }
158 form.search { text-align: center; }
162 max-width: calc(100% - 2.5em);
164 ul.searchresults, ol.searchresults {
166 margin-left: auto; margin-right: auto;
167 width: 100%; max-width: 540pt;
171 @media(min-width: 540pt) {
173 display: inline-block;
181 margin: .25em 0 .5em 1em;
186 margin: .25em 1em .5em 0;
188 section.left > :first-child,
189 section.right > :first-child {
193 .left > section:first-child > :first-child,
194 .right > section:first-child > :first-child {
199 .right input.search {
201 width: calc(100% - 2.5em);
203 ul.searchresults, ol.searchresults {
211 [id$="/[edit]"] main .pagemenu {
215 .tab[name=edithelp] ~ .tab.editor textarea,
216 .tab[name=edithelp] ~ .tab.syntax,
217 .tab[name=edithelp] ~ .tab.attach,
218 .tab[name=edithelp] ~ .tab.transl {
219 background-color: #FFF;
220 min-height: 20em; min-height: 50vh;
223 .tab[name=edithelp] ~ .tab.editor textarea {
225 font-family: monospace;
229 .tab[name=edithelp] ~ .tab.attach {
233 .tab[name=edithelp] ~ .tab.attach .aimg img {
239 .tab[name=edithelp] ~ .tab.transl {
240 font-family: monospace;
244 .tab[name=edithelp]#editor:checked ~ .tab.editor,
245 .tab[name=edithelp]#syntax:checked ~ .tab.syntax,
246 .tab[name=edithelp]#attach:checked ~ .tab.attach,
247 .tab[name=edithelp]#transl:checked ~ .tab.transl {
252 /* === Attachments === */
254 .attachment.list button[name=delete] {
257 margin-right: 1.25em;
259 .attachment.list .size,
260 .attachment.list .date {
265 .attachment.list .name:after {
266 white-space: pre-line;
269 .attachment.list .size {
273 .revisions li { margin: 1em 0; }
274 .revisions li span.hash,
275 .revisions li span.date {
279 .revisions .diff span {
280 font-family: monospace;
283 line-height: 1.375em;
285 .revisions .diff span.linenum { color: #D60; }
286 .revisions .diff span.linedel { color: #A00; }
287 .revisions .diff span.lineadd { color: #0A0; }
288 .revisions .diff span.linenote { color: #AAA; }
291 [id$="/[attachment]"] input[type=radio].tab ~ div.tab {
295 [id$="/[attachment]"] input[type=radio].tab ~ div.tab ul.attachment.list {
300 .tab ul li input[name=select],
301 .tab ul li label.name,
303 .tab ul li input.name {
307 [id$="/[attachment]"] input[type=radio].tab#tview:checked ~ div.tab ul li a.name,
308 [id$="/[attachment]"] input[type=radio].tab#tdel:checked ~ div.tab ul li input[name=select],
309 [id$="/[attachment]"] input[type=radio].tab#tdel:checked ~ div.tab ul li label.name,
310 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab ul li input[name=select],
311 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab ul li label.name {
314 [id$="/[attachment]"] input[type=radio].tab#tren:checked ~ .tab ul li input.name {
318 [id$="/[attachment]"] label[for=moveto], [id$="/[attachment]"] input#moveto,
319 [id$="/[attachment]"] button[name=action] { display: none; }
321 [id$="/[attachment]"] .upload button[name=action] { display: inline-block; }
322 [id$="/[attachment]"] input[type=radio].tab#tdel:checked ~ div.tab button[name=action][value=delete],
323 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab label[for=moveto],
324 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab input#moveto,
325 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab button[name=action][value=move],
326 [id$="/[attachment]"] input[type=radio].tab#tren:checked ~ div.tab button[name=action][value=rename] {
334 display: inline-block;
335 list-style-position: inside;
337 background-color: #DDD;
338 background-color: rgba(0, 0, 0, .125);
343 .macro.toc li.h2 { margin-left: 1.25em; }
344 .macro.toc li.h3 { margin-left: 2.5em; }
345 .macro.toc li.h4 { margin-left: 3.75em; }
346 .macro.toc li.h5 { margin-left: 5em; }
347 .macro.toc li.h6 { margin-left: 6.25em; }
353 padding: .5em .125em;
354 background-color: #444;
363 ul.macro.tag { padding: 0; }
365 display: inline-block;
367 background-color: #333;
370 margin: .25em .25em 0 0;
371 border-radius: .375em;
375 .macro.changes td .date {
379 .macro.changes td.outdated,
380 .macro.changes td.current,
381 .macro.changes td.missing {
384 .macro.changes th { background-color: #EEF; }
385 .macro.changes td { background-color: #DFF; }
386 .macro.changes td.outdated { background-color: #FFD; }
387 .macro.changes td.current { background-color: #DFD; }
388 .macro.changes td.missing { background-color: #FDD; }