diff options
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); + } +} |