From ecc959a7ac0be656b2f60b694c823149bb61403d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 9 May 2018 20:43:57 +0200 Subject: [PATCH] Add article styles --- default.css | 16 ++++++++++++++++ default.scss | 30 ++++++++++++++++++++++++++++++ styles.css | 16 ++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/default.css b/default.css index fe214a6..dab02b7 100644 --- a/default.css +++ b/default.css @@ -42,5 +42,21 @@ article { margin: 0; } article p { line-height: 1.5em; } + article ol, article ul { + margin-left: 30px; } + article ul { + list-style: disc; } + article blockquote { + margin: 10px 0 10px 0; } + article blockquote p:last-child { + margin-bottom: 0; } + article table { + border-collapse: collapse; + border: 1px solid #999; } + article table th, article table td { + padding: 5px; + border: 1px solid #999; } + article table tr:nth-child(2n) { + background: #eee; } /*# sourceMappingURL=default.css.map */ diff --git a/default.scss b/default.scss index a3ab028..baaf43c 100644 --- a/default.scss +++ b/default.scss @@ -44,4 +44,34 @@ article { p { line-height: 1.5em; } + + ol, ul { + margin-left: 30px; + } + + ul { + list-style: disc; + } + + blockquote { + margin: 10px 0 10px 0; + + p:last-child { + margin-bottom: 0; + } + } + + table { + border-collapse: collapse; + border: 1px solid #999; + + th, td { + padding: 5px; + border: 1px solid #999; + } + + tr:nth-child(2n) { + background: #eee; + } + } } diff --git a/styles.css b/styles.css index ebc28be..3affbcd 100644 --- a/styles.css +++ b/styles.css @@ -84,6 +84,22 @@ article { margin: 0; } article p { line-height: 1.5em; } + article ol, article ul { + margin-left: 30px; } + article ul { + list-style: disc; } + article blockquote { + margin: 10px 0 10px 0; } + article blockquote p:last-child { + margin-bottom: 0; } + article table { + border-collapse: collapse; + border: 1px solid #999; } + article table th, article table td { + padding: 5px; + border: 1px solid #999; } + article table tr:nth-child(2n) { + background: #eee; } .ok { color: #5cff56; }