diff options
Diffstat (limited to 'poll/public/style.css')
-rw-r--r-- | poll/public/style.css | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/poll/public/style.css b/poll/public/style.css index 7ed68b6..89d9b2e 100644 --- a/poll/public/style.css +++ b/poll/public/style.css @@ -33,6 +33,45 @@ select { color: #424242; } +div.bar { + display: flex; + flex-wrap: wrap; +} + +div.bar div { + width: 20px; + height: 20px; + margin: 2px; + padding: 2px; + color: white; + cursor: pointer; + border-radius: 3px; + display: flex; + justify-content: center; + align-items: center; +} + +div.bar div[data-answered="true"] { + background: green; +} + +div.bar div[data-answered="false"] { + background: red; +} + +div.bar div[data-current="true"] { + background: #0078e7; +} + +.back-skip { + display: flex; + flex-wrap: nowrap; +} + +.back-skip button { + width: 50%; +} + @media only screen and (max-width: 700px) { main { width: calc(100% - 20%); |