From 49d8b2a5c000c48947e7018cf412951fc80335c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozman?= <tomas.hozman@pm.me> Date: Tue, 19 Jul 2022 20:26:51 +0200 Subject: [PATCH] updated style as per request --- content/assets/css/base.css | 12 ++++++++---- content/index.html | 20 +++++++++++--------- 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/content/assets/css/base.css b/content/assets/css/base.css index d9e90e7..f496ce6 100644 --- a/content/assets/css/base.css +++ b/content/assets/css/base.css @@ -12,26 +12,31 @@ main { background-repeat: no-repeat; height: 100%; padding: 50px; + text-align: center; +} + +main #content { + background: #000; + color: #fff; + padding: 20px; + display: inline-block; } main #heading { margin: 0; font-family: "Bebas Neue"; font-size: 100px; - text-align: center; } main #description { font-family: "Bebas Neue Light"; font-size: 50px; - text-align: center; margin: 0; } main #timer-wrapper { font-family: "Bebas Neue Light"; font-size: 50px; - text-align: center; margin: 0; } @@ -41,7 +46,6 @@ main #timer-wrapper #timer { #copyleft { font-family: sans-serif; - text-align: center; margin-top: 15px; font-family: "Roboto Condensed"; } diff --git a/content/index.html b/content/index.html index d7c0819..ccd69eb 100644 --- a/content/index.html +++ b/content/index.html @@ -29,15 +29,17 @@ </head> <body> <main> - <h1 id="heading">Chystáme to!</h1> - - <p id="description"> - 30.9.2022 pĹ™edstavĂme dopadovou studii o legalizaci konopĂ. - </p> - - <p id="timer-wrapper"> - ZbĂ˝vá <span id="timer"></span>. - </p> + <div id="content"> + <h1 id="heading">Chystáme to!</h1> + + <p id="description"> + 30.9.2022 pĹ™edstavĂme dopadovou studii o legalizaci konopĂ. + </p> + + <p id="timer-wrapper"> + ZbĂ˝vá <span id="timer"></span>. + </p> + </div> <div id="copyleft"> <span style="transform:scale(-1,1);display:inline-block">©</span> -- GitLab