diff --git a/static/css/base.css b/static/css/base.css index fb0f5d690814ab635ffe14fad92028f88a482cdd..e385945f539f9ed9194cb4de9cf007572f463ef6 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -2,12 +2,7 @@ :root { --bar-bg: grey; - - --error-bg: #FFBBBB; - --error-text: darkred; - - --info-bg: #DDEEFF; - --info-text: #00004D; + --bar-text: white; } body, html { @@ -16,12 +11,12 @@ body, html { /* =============== Header =================== */ #header { - position: absolute; + position: fixed; display: block; text-align: center; - color: white; + color: var(--bar-text); font-family: monospace; font-size: 1.7em; font-weight: bold; @@ -61,46 +56,6 @@ body, html { margin-bottom: 75px; } -/* ============== Popup ===================== */ - -.popup { - border: solid 2px; - - font-family: monospace; - font-size: 1.3em; - font-weight: bold; - - width: 66%; - - padding: 10px; - margin: auto; - margin-bottom: 50px; -} - -.popup:empty { - display: none; -} - -.popup button { - background-color: inherit; - - border: solid 2px; - - font-size: smaller; - color: inherit; - - padding: 10px 30px 10px 30px; -} - -.error { - background-color: var(--error-bg); - color: var(--error-text); -} - -.info { - background-color: var(--info-bg); - color: var(--info-text); -} /* ============== Footer ===================== */ @@ -120,6 +75,6 @@ body, html { } #footer a { - color: white; + color: var(--bar-text); text-decoration: none; } diff --git a/static/css/client.css b/static/css/client.css index dfca62828ed035e97f15ae9f733ad4f7713882b2..e55ee69732863be12abadbbc1d1f812a9b039722 100644 --- a/static/css/client.css +++ b/static/css/client.css @@ -1,3 +1,13 @@ +:root { + --error-bg: #FFBBBB; + --error-text: darkred; + + --info-bg: #DDEEFF; + --info-text: #00004D; +} + +/**************************************/ + body { text-align: center; background-color: lightgrey; @@ -10,3 +20,44 @@ body { #current_content input { text-transform: inherit; } + +/* ============== Popup ===================== */ + +.popup { + border: solid 2px; + + font-family: monospace; + font-size: 1.3em; + font-weight: bold; + + width: 66%; + + padding: 10px; + margin: auto; + margin-bottom: 50px; +} + +.popup:empty { + display: none; +} + +.popup button { + background-color: inherit; + + border: solid 2px; + + font-size: smaller; + color: inherit; + + padding: 10px 30px 10px 30px; +} + +.error { + background-color: var(--error-bg); + color: var(--error-text); +} + +.info { + background-color: var(--info-bg); + color: var(--info-text); +} diff --git a/views/layout.html b/views/layout.html index dfd94be579240ac1e12e7b3ba96dab084331b306..fa30045c5fcd62b39e98904e91a54da1879ab25a 100644 --- a/views/layout.html +++ b/views/layout.html @@ -17,6 +17,7 @@ {{include}} <!-- ======================== --> + <div class="spacer"></div> <div id="footer"> [ <a href="{{=URL('default', 'index')}}">WebClient</a> ] [ <a href="{{=URL('debug', 'index')}}">Debug</a> ]