From f5fe17fa5c8ef04329f1ac329af912959e3b082a Mon Sep 17 00:00:00 2001 From: "Simon V. Lejel" Date: Fri, 11 Mar 2022 18:11:38 +0100 Subject: [PATCH] Add styling --- static/css/styles.css | 26 ++++++++++++++++++++++++++ static/css/styles.css.map | 1 + static/css/styles.scss | 31 +++++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 static/css/styles.css create mode 100644 static/css/styles.css.map diff --git a/static/css/styles.css b/static/css/styles.css new file mode 100644 index 0000000..9923b26 --- /dev/null +++ b/static/css/styles.css @@ -0,0 +1,26 @@ +body { + background-image: url("/random"); + height: 100vh; + width: 100vw; +} +body nav { + display: flex; + flex-direction: row; + justify-content: center; + background: rgba(0, 0, 0, 0.4); + width: 100vw; + padding: 0 20px; +} +body nav ul > li { + color: white; +} +body nav ul > li :hover { + color: #13678A; + animation: ease-in; +} +body h1 { + margin: auto; + text-align: center; +} + +/*# sourceMappingURL=styles.css.map */ diff --git a/static/css/styles.css.map b/static/css/styles.css.map new file mode 100644 index 0000000..c3ba649 --- /dev/null +++ b/static/css/styles.css.map @@ -0,0 +1 @@ +{"version":3,"sourceRoot":"","sources":["styles.scss"],"names":[],"mappings":"AAGA;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAEA;EACE,OAnBD;EAoBC;;AAKN;EACE;EACA","file":"styles.css"} \ No newline at end of file diff --git a/static/css/styles.scss b/static/css/styles.scss index e69de29..e08a537 100644 --- a/static/css/styles.scss +++ b/static/css/styles.scss @@ -0,0 +1,31 @@ +// Variables +$blue: #13678A; + +body { + background-image: url("/random"); + height: 100vh; + width: 100vw; + + nav { + display: flex; + flex-direction: row; + justify-content: center; + background: rgba(0, 0, 0, 0.4); + width: 100vw; + padding: 0 20px; + + ul > li { + color: white; + + :hover { + color: $blue; + animation: ease-in; + } + } + } + + h1 { + margin: auto; + text-align: center; + } +} \ No newline at end of file