From 8ebf2a4771192ab1a5d7b5dbb3d3121589b5c00f Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Fri, 30 Apr 2021 15:18:23 +0200 Subject: [PATCH] Tweak style --- server/static/styles/common.css | 19 +++++++++++++++---- server/templates/history.hbs | 4 ++-- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/server/static/styles/common.css b/server/static/styles/common.css index bc3911d..02f2c03 100644 --- a/server/static/styles/common.css +++ b/server/static/styles/common.css @@ -14,17 +14,17 @@ a { a:link { color: #fff; - border-bottom: 1px solid #ff0000; + border-bottom: 0.05em solid #ff0000; } a:visited { color: #fff; - border-bottom: 1px solid #b3b3b3; + border-bottom: 0.05em solid #b3b3b3; } a:hover { color: #7bd09f; - border-bottom: 1px solid #000099; + border-bottom: 0.05em solid #000099; } ul.striped_list { @@ -122,6 +122,9 @@ ul.striped_list > li:nth-child(odd) ul li:nth-child(odd) { background-color:#30 .history_entry { padding: 0.2em; + padding-left: 0.5em; + padding-right: 0.5em; + text-align: right; } .history_entry_category { @@ -130,6 +133,14 @@ ul.striped_list > li:nth-child(odd) ul li:nth-child(odd) { background-color:#30 .history_entry_duration { color: #e4c9ff; + display: inline-block; + border: solid dimgray 0.05em; + background: black; + font-family: Ubuntu Mono; + padding-right: 0.3em; + padding-left: 0.3em; + min-width: 4em; + text-align: center; } .history_entry_started { @@ -154,7 +165,7 @@ ul.striped_list > li:nth-child(odd) ul li:nth-child(odd) { background-color:#30 .tooltip { position: relative; display: inline-block; - border-bottom: 1px dotted black; + border-bottom: 0.05em dotted black; } .tooltip .tooltiptext { diff --git a/server/templates/history.hbs b/server/templates/history.hbs index 636d49d..426a3af 100644 --- a/server/templates/history.hbs +++ b/server/templates/history.hbs @@ -7,12 +7,12 @@