From 35d9f7228775c81938c86822ce021a4f1f4bd0d2 Mon Sep 17 00:00:00 2001 From: vimux Date: Sun, 4 Mar 2018 10:07:44 +0300 Subject: [PATCH] Add styles for 'table' and 'mark' elements --- static/css/main.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/static/css/main.css b/static/css/main.css index de2372c..24057ef 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -198,7 +198,19 @@ svg:not(:root) { } table { + width: 100%; + margin-bottom: 20px; + border-spacing: 0; border-collapse: collapse; + border-top: 1px solid #ddd; + border-left: 1px solid #ddd; +} + +td, +th { + padding: 5px 10px; + border-right: 1px solid #ddd; + border-bottom: 1px solid #ddd; } caption { @@ -210,6 +222,7 @@ caption { } th { + font-weight: 700; text-align: inherit; } @@ -329,6 +342,10 @@ summary { cursor: pointer; } +mark { + background-color: #f8ae00; +} + /* Header */ .header { margin: 0 0 5px;