diff options
author | Marvin Borner | 2020-10-01 20:46:28 +0200 |
---|---|---|
committer | Marvin Borner | 2020-10-01 20:46:28 +0200 |
commit | fcf69961fcb1d5044d36667c6ba904c71bad8946 (patch) | |
tree | 1ad2ef98ce132e92e5489f05ea9c656945333eff /overview/public/style.css | |
parent | c0f4e7d599c9d65dfbd2bd2a6bded70196eefda7 (diff) |
Added overview
Diffstat (limited to 'overview/public/style.css')
-rw-r--r-- | overview/public/style.css | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/overview/public/style.css b/overview/public/style.css new file mode 100644 index 0000000..5eddc9d --- /dev/null +++ b/overview/public/style.css @@ -0,0 +1,29 @@ +html, +body { + padding: 0; + margin: 0; + height: 100%; + width: 100%; + background-color: #eec0c6; + background-image: linear-gradient(315deg, #eec0c6 0%, #7ee8fa 74%); +} + +.card { + 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; +} + +@media only screen and (max-width: 600px) { + .card { + width: calc(100% - 50px); + } +} |