From 766aa35826fa84be522f902300acd0ca184b469a Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Sun, 24 Mar 2019 18:46:07 +0200 Subject: [PATCH] slight tuneup for css --- static/style.css | 13 +++++++------ templates/layout.html | 3 ++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/static/style.css b/static/style.css index 20a9e94..781d435 100644 --- a/static/style.css +++ b/static/style.css @@ -1,10 +1,11 @@ -body { font-family: monospace; background: #eee; } +body { font-family: monospace; background: #fff; } a, h1, h2 { color: #377ba8; } h1, h2 { margin: 0; } h1 { border-bottom: 2px solid #eee; } -h2 { font-size: 1.2em; border-top: 2px solid #eee; margin-top: 0.25em; margin-bottom: 0.25em;} +h2 { font-size: 1.2em; border-top: 0px solid #eee; margin-top: 0.25em; margin-bottom: 0.25em;} td { height: 1.75em; } textarea { border: 2px solid #ccc; } +textarea:active, textarea:focus { border: 2px solid #377ba8; } input[type=text]{ border: 2px solid #ccc; } hr { border-color: #377ba8; } @@ -13,7 +14,7 @@ hr { border-color: #377ba8; } .iconbox { margin-right: 0.5em; width: 1.5em; cursor: pointer; font-size:1.5em; color:#377ba8; } .noitem { background-color: transparent; border-color:transparent; } -.page { border: 5px solid #ccc; padding: 0.5em; +.page { border: 0px solid #ccc; padding: 0.5em; background: white; overflow:auto; min-height:16em;} .entries { margin-top: 1em; margin-bottom: 1em; } .entries input { margin-top: 0.125em; margin-bottom: 0.125em; } @@ -22,9 +23,9 @@ hr { border-color: #377ba8; } .add-entry { font-size: 0.9em; } .add-entry dl { font-weight: bold; } .metanav { text-align: left; font-size: 1.2em; - background: #fafafa; font-weight: normal; } + background: #ffffff; font-weight: normal; } .button-panel-row { margin-top: 1em; } -.button-panel-col { float: left; display: block; margin-right: 1em; +.button-panel-col { float: left; display: block; margin-right: 1em; min-width: 23ex;} .flash { background: #cee5F5; padding: 0.5em; border: 1px solid #aacbe2; } @@ -34,7 +35,7 @@ hr { border-color: #377ba8; } .hspacer { width: 1em; display: inline-block;} .notify { -webkit-animation: notifier 500ms alternate infinite; -moz-animation: notifier 500ms alternate infinite; - -o-animation: notifier 500ms alternate infinite; + -o-animation: notifier 500ms alternate infinite; animation: notifier 500ms alternate infinite; } .date { font-size: 0.75em; margin-top: 1.2em; } diff --git a/templates/layout.html b/templates/layout.html index 3ffe352..255434f 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -30,7 +30,7 @@

☝☔