From a6d5da3ab080400097e07a1ac8d526a9a3cae475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 12 Jan 2019 20:36:38 +0100 Subject: Update stylesheet. --- templates/style.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'templates') 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;} -- cgit v1.2.3