diff options
author | Lilian Teronen <lteronen@local> | 2023-11-27 01:37:03 +0200 |
---|---|---|
committer | Lilian Teronen <lteronen@local> | 2023-11-27 01:37:03 +0200 |
commit | 03b031ea793e91ce2f87cf28c73cefc8ce69a7b5 (patch) | |
tree | 882919559651e1b18904404ccc7c5106d167f1fd /static/kyselma.css | |
parent | d2de3ae10b6f5314bd4b8243218212d2004f35b0 (diff) |
More rework on routes. Best and worst matches. More visuals.
Diffstat (limited to 'static/kyselma.css')
-rw-r--r-- | static/kyselma.css | 37 |
1 files changed, 28 insertions, 9 deletions
diff --git a/static/kyselma.css b/static/kyselma.css index 14c7653..92f51ca 100644 --- a/static/kyselma.css +++ b/static/kyselma.css @@ -2,9 +2,9 @@ .kysQuestion { display: flex; flex-direction: column; - max-width: 25em; - padding: 0.5em; - border: 0.15em #fed solid; + max-width: 25rem; + padding: 0.5rem; + border: 0.15rem #fed solid; } .kysText { align-self: center; @@ -33,12 +33,12 @@ .kysNick::before { content: "Olet:"; - padding-right: 0.4em; + padding-right: 0.4rem; } .kysNick { - border: 0.1em solid; - padding: 0.4em; + border: 0.1rem solid; + padding: 0.4rem; position: fixed; top: 100vh; left: 100vw; @@ -48,8 +48,8 @@ } .kysAlert { - border: 0.4em solid; - padding: 0.8em; + border: 0.4rem solid; + padding: 0.8rem; display: block; background-color: #F55; border-top-color: #F97; @@ -63,8 +63,26 @@ } .kysTotal { - align-self: center; + max-width: 25rem; + min-width: max-content; + display: flex; + justify-content: center; +} +.kysTotalText { + position: absolute; font-size: xxx-large; + height: 8rem; + aspect-ratio: 1; + text-align: center; + padding-top: 0.5rem; +} +.kysTotalBackground { + position: relative; + height: 8rem; + aspect-ratio: 1; + border-image: radial-gradient(#F00 69.6%,#0000 70.4%) 85%/50%; + clip-path: polygon(-42% 0,50% 91%, 142% 0); + z-index: -1; } .kysSelectU1 { @@ -90,3 +108,4 @@ .kysUser2::-webkit-slider-thumb, .kysUser2::-moz-range-thumb { background: #00c; } + |