From 0f393b59b3651c9d8b19ef5d1cd0d2f2255ea29c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 23 Apr 2021 11:36:19 +0200 Subject: layout/css tweaks --- talermerchantdemos/static/blog.css | 20 +++++++++++++++ talermerchantdemos/static/demo.css | 32 ++---------------------- talermerchantdemos/static/torsten.css | 47 ----------------------------------- 3 files changed, 22 insertions(+), 77 deletions(-) create mode 100644 talermerchantdemos/static/blog.css delete mode 100644 talermerchantdemos/static/torsten.css (limited to 'talermerchantdemos/static') diff --git a/talermerchantdemos/static/blog.css b/talermerchantdemos/static/blog.css new file mode 100644 index 0000000..c288119 --- /dev/null +++ b/talermerchantdemos/static/blog.css @@ -0,0 +1,20 @@ +.notice { + border-radius: 1em; + background: rgb(228, 228, 228); + border-left: 0.3em solid #1e2739; + padding-left: 1em; + padding-top: 0.5em; + padding-bottom: 0.5em; + margin-top: 2em; + margin-bottom: 2em; +} +.notice { + position: relative; + left: 0; +} +#main a:link, +#main a:visited, +#main a:hover, +#main a:active { + color: black; +} diff --git a/talermerchantdemos/static/demo.css b/talermerchantdemos/static/demo.css index 95cedce..ce95cc9 100644 --- a/talermerchantdemos/static/demo.css +++ b/talermerchantdemos/static/demo.css @@ -31,12 +31,13 @@ } .content { + margin-left: 2em; overflow-x: auto; } .demobar { overflow-x: auto; - background-color: #033; + background-color: #1e2739; color: white; } @@ -45,35 +46,6 @@ body { overflow-y: auto; } -body * { - /* margin-left: 0.5vw; */ - left: 0.1vw; -} - -@media (min-width: 500px) { - .content { - /* margin-left: 0vw; */ - padding-left: 2em; - margin-right: 1em; - } - - .demobar { - /* height: 100%; */ - /* width: 25%; */ - /* NOTE: Please use "vh"/"vw" instead of "%" when possible, in the future. */ - height: min-content; - width: 100vw; - margin: 0; - top: 0; - left: 0; - background-color: #1e2739; - color: white; - position: relative; - padding-right: 1em; - text-align: center; - } -} - .navcontainer { background: #1e2739; margin-bottom: 50px; diff --git a/talermerchantdemos/static/torsten.css b/talermerchantdemos/static/torsten.css deleted file mode 100644 index 6e5a01d..0000000 --- a/talermerchantdemos/static/torsten.css +++ /dev/null @@ -1,47 +0,0 @@ -.warn { - background-color: #aa393977; - padding: 1em; -} -@keyframes hoveranim { - from { - left: 0; - } - to { - left: 1vw; - } -} -@keyframes hoveranimrevert { - from { - left: 1vw; - } - to { - left: 0; - } -} -.notice { - border-radius: 1em; - background: #0333; - border-left: 0.3em solid #033; - padding-left: 1em; - padding-top: 0.5em; - padding-bottom: 0.5em; - margin-top: 2em; - margin-bottom: 2em; -} -.notice { - position: relative; - left: 0; - animation-name: hoveranimrevert; - animation-duration: 1s; -} -.notice:hover { - left: 1vw; - animation-name: hoveranim; - animation-duration: 1s; -} -#main a:link, -#main a:visited, -#main a:hover, -#main a:active { - color: black; -} -- cgit v1.2.3