diff options
author | Marvin Borner | 2020-10-10 23:30:52 +0200 |
---|---|---|
committer | Marvin Borner | 2020-10-10 23:30:52 +0200 |
commit | df14518590680fbf54d48a494c873fd7e599e021 (patch) | |
tree | d1403fbc76d667382de1bdc17f521e422129dd8b /admin/public/style.css | |
parent | d32ffe5d0e44f591adcf692b98a43efb5e65187a (diff) |
Improved frontend (not sure about #777)
Diffstat (limited to 'admin/public/style.css')
-rw-r--r-- | admin/public/style.css | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/admin/public/style.css b/admin/public/style.css index 4e3cffc..e7941e0 100644 --- a/admin/public/style.css +++ b/admin/public/style.css @@ -4,15 +4,17 @@ body { margin: 0; height: 100%; width: 100%; + color: #777; + line-height: 1.6; background-color: #eec0c6; background-image: linear-gradient(315deg, #eec0c6 0%, #7ee8fa 74%); } .card { position: absolute; - max-height: 80%; - overflow: auto; - width: 40%; + max-height: calc(100% - 140px); + overflow-y: auto; + width: 50%; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); @@ -26,8 +28,8 @@ div { background: white; } -@media only screen and (max-width: 800px) { +@media only screen and (max-width: 700px) { .card { - width: calc(100% - 50px); + width: calc(100% - 20%); } } |