aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-01-14 15:22:28 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-01-14 15:22:28 +0100
commit1ee99f222e96443dfd7c4a2806cfee6924e7215a (patch)
tree57fa44feebf8b9353e905aa90e5993ea4f4f284b
parentMon, 14 Jan 2019 15:21:21 +0100 (diff)
parentUpdate stylesheet. (diff)
downloadwiki-public-1ee99f222e96443dfd7c4a2806cfee6924e7215a.tar.gz
wiki-public-1ee99f222e96443dfd7c4a2806cfee6924e7215a.tar.xz
Merge branch 'master' of git.hornquist.se:git/vimwiki
-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;}