From 1bfa0fdbcb74da43730ed93249e16b77a9f85385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 13 Aug 2020 22:26:05 +0200 Subject: Change static.css to scss. --- static/style.css | 980 ------------------------------------------------------- 1 file changed, 980 deletions(-) delete mode 100644 static/style.css (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css deleted file mode 100644 index 79fd06ab..00000000 --- a/static/style.css +++ /dev/null @@ -1,980 +0,0 @@ -html { - height: 100%; -} - -html, body { - height: 100%; - margin: 0; -} - -.root { - display: grid; - margin: 0; - max-width: 100%; - height: 100%; - - grid-template-columns: auto auto 20em; - grid-template-rows: auto; - - grid-template-areas: - "main main nav" - "main main cal" - "main main details" - "main main events" - "footer footer events"; -} - -@media (max-aspect-ratio: 3/4) { - .root { - grid-template-areas: - "main main" - "nav events" - "cal events" - "details events" - ". events" - "footer events"; - grid-template-rows: 70% auto; - grid-template-columns: 50% auto; - } -} - -.hidelink { - color: inherit; - text-decoration: none; -} - -.root main { - min-width: 0; /* for wide */ - min-height: 0; /* for tall */ - - /* apparently required if one wants to have multiple - items within main, without it overflowing - */ - display: flex; - flex-direction: column; -} - -/* Page footer ----------------------------------------- -*/ -.root footer { - margin: 0.5em; - color: ray; - font-size: 8pt; - - display: flex; - justify-content: space-between; - - flex-direction: row; -} - -@media (max-aspect-ratio: 3/4) { - .root footer { - flex-direction: column; - } -} - -.root footer span { - margin: 0 1em; - white-space: nowrap; -} - - -/* Change View ----------------------------------------- -"Buttons" for changing between weekly and monthly layout -*/ - -.calnav { - display: flex; - flex-direction: column; - padding-left: 2em; - padding-right: 2em; -} - -.change-view { - display: flex; - flex-direction: row; - justify-content: space-between; - - padding-top: 1ex; - padding-bottom: 1ex; -} - -#jump-to > form { - display: flex; -} - -#jump-to input { - flex-grow: 2; - margin-right: 1em; -} - -#jump-to button, #jump-to a { - /* Same as height, figure out way to force this */ - width: 2.5em; -} - -/* button --------------------------------------------------- -*/ - -.btn { - padding: 0; - - /* if a */ - text-decoration: none; - - /* if button */ - border: none; - background-color: inherit; -} - -.btn > div { - padding: 0.5em; - background-color: #3399ff; - color: white; - - box-sizing: border-box; - width: 100%; - height: 100%; - - display: flex; - justify-content: center; - align-items: center; - - /* shouldn't be needed, but otherwise wont align with a text input - inside a shared flex-container. - It however seems to make and