aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-01-12 20:36:38 +0100
committerHugo Hörnquist <hugo@hornquist.se>2019-01-12 20:36:38 +0100
commita6d5da3ab080400097e07a1ac8d526a9a3cae475 (patch)
tree34f0c39364440c91432a74726ce4e43e7cdfd57a /templates
parentWed, 09 Jan 2019 20:39:42 +0100 (diff)
downloadwiki-public-a6d5da3ab080400097e07a1ac8d526a9a3cae475.tar.gz
wiki-public-a6d5da3ab080400097e07a1ac8d526a9a3cae475.tar.xz
Update stylesheet.
Diffstat (limited to 'templates')
-rw-r--r--templates/style.css12
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/style.css b/templates/style.css
index f44059f..3e8fc6a 100644
--- a/templates/style.css
+++ b/templates/style.css
@@ -38,6 +38,16 @@ p {
color: inherit;
}
+table {
+ border-collapse: collapse;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+tr:nth-child(odd) {
+ background-color: #f0f0f0;
+}
+
/*
p, pre, blockquote, table, ul, ol, dl {margin-top: 1em; margin-bottom: 1em;}
ul ul, ul ol, ol ol, ol ul {margin-top: 0.5em; margin-bottom: 0.5em;}
@@ -49,7 +59,7 @@ img {border: none;}
pre {border-left: 1px solid #ccc; margin-left: 2em; padding-left: 0.5em;}
blockquote {padding: 0.4em; background-color: #f6f5eb;}
th, td {border: 1px solid #ccc; padding: 0.3em;}
-th {background-color: #f0f0f0;}
+th {background-color: lightgray;}
hr {border: none; border-top: 1px solid #ccc; width: 100%;}
del {text-decoration: line-through; color: #777777;}
.toc li {list-style-type: none;}