From 187cb45b108564e953cfd6df78196356c91e8865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sun, 14 Jun 2020 12:17:26 +0200 Subject: [PATCH] fix gitignore --- .gitignore | 4 +- sdbs_infra/dashboard/static/main.css | 69 ++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 sdbs_infra/dashboard/static/main.css diff --git a/.gitignore b/.gitignore index 836e953..a2d0b08 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ db.sqlite3 -static -media +/static +/media diff --git a/sdbs_infra/dashboard/static/main.css b/sdbs_infra/dashboard/static/main.css new file mode 100644 index 0000000..a8d9cbf --- /dev/null +++ b/sdbs_infra/dashboard/static/main.css @@ -0,0 +1,69 @@ +body { + background: black; + color: white; + + font-family: monospace; + font-size: 13pt; + + display: flex; + flex-direction: column; + align-items: center; +} + + +a { + color: white; + text-decoration: none; +} + +h1, h2 { + text-align: center; + margin: 1rem 0; +} + +header { + margin: 1rem 0; +} + +main { + width: 100vw; + display: flex; + flex-wrap: wrap; + justify-content: center; +} + +.service { + margin: 1rem; + display: flex; + flex-direction: column; +} + +.service-content { + flex-grow: 1; + + border: 1px solid white; + padding: 2rem; + + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} + +.service .label h3 { + margin: 1rem 0; + text-align: center; +} + +.service .label .description { + margin: 0; + align-self: flex-start; +} + +.service-status { + border: 1px solid white; + border-top: 0; + text-transform: uppercase; + text-align: right; + padding: .2em; +} \ No newline at end of file