2 # Copyright 2022 - 2024 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 main > form#movepage input,
111 main > form#renamepage input {
116 [id$="/[revision]"] main .revisions,
117 [id$="/[attachment]"] main > .attachment.list {
121 [id$="/[revision]"] main .revisions:before,
122 [id$="/[attachment]"] main > .attachment.list:before {
125 top: 0; bottom: 0; left: 0; right: 0;
126 background-color: #FFF;
127 box-shadow: .25em .25em .75em;
131 padding: .125em .25em;
132 background-color: #EEE;
136 background-color: #EEE;
144 li.task > input[type=checkbox][disabled],
145 li.task > p > input[type=checkbox][disabled] {
148 li.task > p:first-child { display: inline-block;}
150 -li.task:before { font-size: 1.125em; }
151 li.task.pending:before { content: '\274f '; color: #222; }
152 li.task.partial:before { content: '\25d4 '; color: #880; }
153 li.task.negative:before { content: '\2718 '; color: #800; }
154 li.task.done:before { content: '\2714 '; color: #080; }
155 li.task.unsure:before { content: '? ' ; color: #880; font-weight: bold; padding-left: 2pt; }
157 /* Alternative Check Symbols, all from "geometric shapes" block */ /*
158 -li.task.pending:before { content: '\25a1 '; color: #222; }
159 -li.task.partial:before { content: '\25d4 '; color: #880; }
160 -li.task.negative:before { content: '\25a8 '; color: #800; }
161 -li.task.done:before { content: '\25a3 '; color: #080; }
164 h1 { text-align: center; }
165 .center { text-align: center; }
167 form.newpage, form.search {
170 form.search { text-align: center; }
171 input.search, input[type="search"] {
174 max-width: calc(100% - 2.5em);
176 p.search.hits { text-align: center; }
177 ul.search.hits, ol.search.hits {
178 margin-left: auto; margin-right: auto;
179 width: 100%; max-width: 540pt;
186 .search.hits li:hover {
187 background-color: #F4F4F4;
193 margin: 0 auto .5em auto;
194 white-space: pre-line;
196 .search.hits p.path {
209 @media(min-width: 540pt) {
211 display: inline-block;
216 h1.half, h2.half, h3.half, h4.half, h5.half, h6.half {
223 margin: .25em 0 .5em 1em;
229 margin: .25em 1em .5em 0;
231 .left .left, .left .right,
232 .right .left, .right .right,
233 .half .left, .half .right {
236 margin: .25em 0 .5em 0;
238 section.left > :first-child,
239 section.right > :first-child {
243 .left > section:first-child > :first-child,
244 .right > section:first-child > :first-child {
247 .left table, .right table, .half table {
251 .left input.search, .left input[type="search"],
252 .right input.search, .right input[type="search"] {
254 width: calc(100% - 2.5em);
256 ul.search.hits, ol.search.hits {
264 [id$="/[edit]"] main .pagemenu {
268 .tab[name=edithelp] ~ .tab.editor textarea,
269 .tab[name=edithelp] ~ .tab.syntax,
270 .tab[name=edithelp] ~ .tab.attach,
271 .tab[name=edithelp] ~ .tab.transl {
272 background-color: #FFF;
273 min-height: 20em; min-height: 50vh;
276 .tab[name=edithelp] ~ .tab.editor textarea {
278 font-family: monospace;
282 .tab[name=edithelp] ~ .tab.attach {
286 .tab[name=edithelp] ~ .tab.attach .aimg img {
292 .tab[name=edithelp] ~ .tab.transl {
293 font-family: monospace;
297 .tab[name=edithelp]#editor:checked ~ .tab.editor,
298 .tab[name=edithelp]#syntax:checked ~ .tab.syntax,
299 .tab[name=edithelp]#attach:checked ~ .tab.attach,
300 .tab[name=edithelp]#transl:checked ~ .tab.transl {
305 /* === Attachments === */
307 .attachment.list button[name=delete] {
310 margin-right: 1.25em;
312 .attachment.list .size,
313 .attachment.list .date {
318 .attachment.list .name:after {
319 white-space: pre-line;
322 .attachment.list .size {
326 .revisions li { margin: 1em 0; }
327 .revisions li span.hash,
328 .revisions li span.date {
332 .revisions .diff span {
333 font-family: monospace;
336 line-height: 1.375em;
338 .revisions .diff span.linenum { color: #D60; }
339 .revisions .diff span.linedel { color: #A00; }
340 .revisions .diff span.lineadd { color: #0A0; }
341 .revisions .diff span.linenote { color: #AAA; }
344 [id$="/[attachment]"] input[type=radio].tab ~ div.tab {
348 [id$="/[attachment]"] input[type=radio].tab ~ div.tab ul.attachment.list {
353 .tab ul li input[name=select],
354 .tab ul li label.name,
356 .tab ul li input.name {
360 [id$="/[attachment]"] input[type=radio].tab#tview:checked ~ div.tab ul li a.name,
361 [id$="/[attachment]"] input[type=radio].tab#tdel:checked ~ div.tab ul li input[name=select],
362 [id$="/[attachment]"] input[type=radio].tab#tdel:checked ~ div.tab ul li label.name,
363 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab ul li input[name=select],
364 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab ul li label.name {
367 [id$="/[attachment]"] input[type=radio].tab#tren:checked ~ .tab ul li input.name {
371 [id$="/[attachment]"] label[for=moveto], [id$="/[attachment]"] input#moveto,
372 [id$="/[attachment]"] button[name=action] { display: none; }
374 [id$="/[attachment]"] .upload button[name=action] { display: inline-block; }
375 [id$="/[attachment]"] input[type=radio].tab#tdel:checked ~ div.tab button[name=action][value=delete],
376 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab label[for=moveto],
377 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab input#moveto,
378 [id$="/[attachment]"] input[type=radio].tab#tmove:checked ~ div.tab button[name=action][value=move],
379 [id$="/[attachment]"] input[type=radio].tab#tren:checked ~ div.tab button[name=action][value=rename] {
387 display: inline-block;
388 list-style-position: inside;
390 background-color: #DDD;
391 background-color: rgba(0, 0, 0, .125);
396 .macro.toc li.h2 { margin-left: 1.25em; }
397 .macro.toc li.h3 { margin-left: 2.5em; }
398 .macro.toc li.h4 { margin-left: 3.75em; }
399 .macro.toc li.h5 { margin-left: 5em; }
400 .macro.toc li.h6 { margin-left: 6.25em; }
406 padding: .5em .125em;
407 background-color: #444;
416 ul.macro.tag { padding: 0; }
418 display: inline-block;
420 background-color: #333;
423 margin: .25em .25em 0 0;
424 border-radius: .375em;
429 display: inline-block;
432 .macro.taglist.cloud li[rel="0"] { font-size: 6pt; }
433 .macro.taglist.cloud li[rel="1"] { font-size: 7.5pt; }
434 .macro.taglist.cloud li[rel="2"] { font-size: 9pt; }
435 .macro.taglist.cloud li[rel="3"] { font-size: 11.5pt; }
436 .macro.taglist.cloud li[rel="4"] { font-size: 13pt; }
437 .macro.taglist.cloud li[rel="5"] { font-size: 14.5pt; }
438 .macro.taglist.cloud li[rel="6"] { font-size: 16pt; }
439 .macro.taglist.cloud li[rel="7"] { font-size: 17.5pt; }
440 .macro.taglist.cloud li[rel="8"] { font-size: 19pt; }
441 .macro.taglist.cloud li[rel="9"] { font-size: 21.5pt; }
444 .macro.changes td .date {
448 .macro.changes td.outdated,
449 .macro.changes td.current,
450 .macro.changes td.missing {
453 .macro.changes th { background-color: #EEF; }
454 .macro.changes td { background-color: #DFF; }
455 .macro.changes td.outdated { background-color: #FFD; }
456 .macro.changes td.current { background-color: #DFD; }
457 .macro.changes td.missing { background-color: #FDD; }
460 .macro.calendar.cal_month {
461 border: 1pt solid #AAA;
462 -box-shadow: .25em .25em .75em #AAA;
464 .macro.calendar.cal_month td {
468 .macro.calendar.cal_month td > label {
470 background-color: #F4F4F4;
474 .macro.calendar.cal_month td > ul {
476 margin-bottom: .125em;
478 .macro.calendar.cal_month td > ul > li {