]> git.plutz.net Git - shellwiki/blobdiff - themes/default.css
escape gallery URLs
[shellwiki] / themes / default.css
index 3e924b57de1d8702a7e0b116d6670469f27b488f..51de9795192801d9f3b91afab67f86e45cf2d126 100644 (file)
@@ -1,3 +1,19 @@
+/*
+# Copyright 2022 - 2023 Paul Hänsch
+# 
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+# 
+# THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+# SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+# IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+*/
+
 html { min-height: 100%; }
 
 body {
@@ -109,6 +125,27 @@ main pre {
   overflow-x: auto;
 }
 
+li.task > input[type=checkbox][disabled],
+li.task > p > input[type=checkbox][disabled] {
+  display: none;
+}
+li.task > p:first-child { display: inline-block;}
+
+-li.task:before { font-size: 1.125em; }
+li.task.pending:before  { content: '\274f  '; color: #222; }
+li.task.partial:before  { content: '\25d4  '; color: #880; }
+li.task.negative:before { content: '\2718  '; color: #800; }
+li.task.done:before     { content: '\2714  '; color: #080; }
+li.task.unsure:before   { content: '?  '    ; color: #880; font-weight: bold; padding-left: 2pt; }
+
+/* Alternative Check Symbols, all from "geometric shapes" block */ /*
+-li.task.pending:before  { content: '\25a1  '; color: #222; }
+-li.task.partial:before  { content: '\25d4  '; color: #880; }
+-li.task.negative:before { content: '\25a8  '; color: #800; }
+-li.task.done:before     { content: '\25a3  '; color: #080; }
+*/
+
+
 /* === Editor === */
 
 [id$="/[edit]"] main .pagemenu {
@@ -249,13 +286,31 @@ main pre {
 .macro.toc li.h5 { margin-left: 5em; }
 .macro.toc li.h6 { margin-left: 6.25em; }
 
+
 .macro.gallery {
   text-align: center;
   margin: 2em 0;
   padding: .5em .125em;
   background-color: #444;
+  clear: both;
 }
 .macro.gallery img {
   max-height: 9em;
   margin: 0 .25em;
 }
+
+
+.macro.changes td .date {
+  display: block;
+  font-size: .75em;
+}
+.macro.changes td.outdated,
+.macro.changes td.current,
+.macro.changes td.missing {
+  text-align: center;
+}
+.macro.changes th { background-color: #EEF; }
+.macro.changes td { background-color: #DFF; }
+.macro.changes td.outdated { background-color: #FFD; }
+.macro.changes td.current  { background-color: #DFD; }
+.macro.changes td.missing  { background-color: #FDD; }