From 202bd25d589deffc4a7fac563b3cc2a59a0fb10e Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Fri, 30 Jul 2021 23:37:29 +0200 Subject: [PATCH] =?UTF-8?q?Rozd=C4=9Blen=C3=AD=20na=20dv=C4=9B=20r=C5=AFzn?= =?UTF-8?q?=C3=A9=20=C5=A1ablony?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/{style.css => common.css} | 38 ------------------------ templates/index.css | 45 +++++++++++++++++++++++++++++ templates/index.html | 5 ++-- templates/main.css | 31 ++++++++++++++++++++ templates/main.html | 37 ++++++++++++++++++++++++ 5 files changed, 116 insertions(+), 40 deletions(-) rename templates/{style.css => common.css} (57%) create mode 100644 templates/index.css create mode 100644 templates/main.css create mode 100644 templates/main.html diff --git a/templates/style.css b/templates/common.css similarity index 57% rename from templates/style.css rename to templates/common.css index 6559cb3..f808cb7 100644 --- a/templates/style.css +++ b/templates/common.css @@ -17,25 +17,11 @@ html { scroll-behavior: smooth } body { margin: 0; line-height: 1.5; - font-family: "roboto-light"; - min-height: 100vh; - width: 100vw; - color: #edfbff; display: flex; flex-direction: column; - - background: linear-gradient(90deg, rgba(210, 120, 80, .95), rgba(250, 60, 70, .95)), url(background.jpg) center center no-repeat; - background-size: cover; -} - -a { - text-decoration: none; - color: #fff; - font-weight: bold; } -a:hover { text-decoration: underline } header { display: flex; @@ -71,32 +57,8 @@ nav a.special:hover { color: #dd4733; } -main { - flex: 1; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; -} -main h1 { - font-size: 6em; - font-family: "roboto-black"; - margin: .2em; -} -main hr { - width: 5em; - border: 0; - border-top: 1px solid #fff; -} -main p { - max-width: 40em; - text-align: center; -} - footer { text-align: center; padding: 2em; - background-color: rgba(255, 255, 255, .075); - backdrop-filter: blur(5px); } diff --git a/templates/index.css b/templates/index.css new file mode 100644 index 0000000..bb13997 --- /dev/null +++ b/templates/index.css @@ -0,0 +1,45 @@ + +body { + min-height: 100vh; + width: 100vw; + color: #edfbff; + + background: linear-gradient(90deg, rgba(210, 120, 80, .95), rgba(250, 60, 70, .95)), url(background.jpg) center center no-repeat; + background-size: cover; +} + +a { + text-decoration: none; + color: #fff; + font-weight: bold; +} +a:hover { text-decoration: underline } + + +main { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} +main h1 { + font-size: 6em; + font-family: "roboto-black"; + margin: .2em; +} +main hr { + width: 5em; + border: 0; + border-top: 1px solid #fff; +} +main p { + max-width: 40em; + text-align: center; +} + +footer { + background-color: rgba(255, 255, 255, .075); + backdrop-filter: blur(5px); +} + diff --git a/templates/index.html b/templates/index.html index 4d98b70..39c2375 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,10 +6,11 @@ Novináři - + + - +