From bbd1dc1d08d59093ca2db2b15a370099ceb56c74 Mon Sep 17 00:00:00 2001 From: richi3f Date: Mon, 9 Dec 2019 17:08:02 +0100 Subject: [PATCH] Add candy background --- static/style.css | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/static/style.css b/static/style.css index 519612c..e696fa9 100644 --- a/static/style.css +++ b/static/style.css @@ -78,8 +78,9 @@ input[readonly] { } main { + min-width: 35em; margin: 2em auto; - min-width: 28em; + padding: 0 2em; display: block } @@ -125,6 +126,30 @@ h1:before { border-right: 1em solid #d4558c } +section { + position: relative +} + +#calc:before, #faq:after { + content: ''; + width: 6.25em; + height: 6.25em; + display: inline-block; + position: absolute; + background: url(bg.png) no-repeat +} + +#calc:before { + top: 1em; + left: 1.5em +} + +#faq:after { + top: 0; + right: 0; + transform: scaleX(-1) +} + #calc { max-width: 50em; padding: 1.5em 2.5em 3em; @@ -224,7 +249,7 @@ tr th[rowspan] { cursor: pointer; border-radius: 0; box-shadow: 0 0 .25em 0 rgba(0,0,0,0.25); - margin: 6.5em auto; + margin: 0 auto 5.5em; } [type=submit]:hover,