diff options
author | Marvin Borner | 2020-10-02 21:12:23 +0200 |
---|---|---|
committer | Marvin Borner | 2020-10-02 21:12:23 +0200 |
commit | e52bcb760f36b68495692ac5c5a5b68e8dafc33b (patch) | |
tree | 9e386b6081a0516d2c475e187f0b744d65aae156 /poll/public/style.css | |
parent | 762794cecdb0b12b58db0de16d31c8d7c216171c (diff) |
Added polls
Diffstat (limited to 'poll/public/style.css')
-rw-r--r-- | poll/public/style.css | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/poll/public/style.css b/poll/public/style.css new file mode 100644 index 0000000..2c9c695 --- /dev/null +++ b/poll/public/style.css @@ -0,0 +1,35 @@ +html, +body { + padding: 0; + margin: 0; + height: 100%; + width: 100%; + background-color: #eec0c6; + background-image: linear-gradient(315deg, #eec0c6 0%, #7ee8fa 74%); +} + +div { + position: absolute; + max-height: 80%; + overflow-y: scroll; + width: 30%; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + padding: 20px; + border-radius: 10px; + background: white; +} + +input, +button, +select { + width: 100%; +} + +@media only screen and (max-width: 600px) { + div { + width: calc(100% - 50px); + } +} |