X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fcategories.css.sh;fp=templates%2Fcategories.css.sh;h=31381a531ec721da8a12e98ac586af522b05c938;hp=0000000000000000000000000000000000000000;hb=5414898a3baef825844eda3f4416bfea5ecc9555;hpb=8cd89ca352c63baf4655fc60952f27ec4a6e3408
diff --git a/templates/categories.css.sh b/templates/categories.css.sh
new file mode 100755
index 0000000..31381a5
--- /dev/null
+++ b/templates/categories.css.sh
@@ -0,0 +1,98 @@
+# Copyright 2014, 2015 Paul Hänsch
+#
+# This file is part of Confetti.
+#
+# Confetti is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Confetti is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with Confetti. If not, see .
+
+cat < fieldset {
+ display: block;
+ border: solid 1px;
+ border-radius: 4px 4px 0 0;
+ margin: 0; padding: .25em 2ex;
+ background: #EFF;
+ text-align: right;
+}
+form.namelist > fieldset:last-of-type {
+ border-radius: 0 0 4px 4px;
+}
+ul.namelist { margin: 0; padding: 0;}
+ul.namelist > li {
+ display: block;
+ border: solid 1px;
+ margin: -1px 0;
+ background: #FFF;
+}
+ul.namelist > li:nth-of-type(2n){ background: #EEE;}
+
+ul.namelist h2 {
+ font-size: 1em;
+ display: inline-block;
+ margin: 0;
+ padding: 0 1ex;
+ min-width: 30ex;
+}
+ul.namelist ul { margin: 0; padding: 0; display: inline-block;}
+ul.namelist ul li {
+ display: inline-block;
+ margin: 0 1ex 0 0;
+}
+EOF
+
+# vi:set filetype=css: