From bb9a257dd57b29258ad29c374c85236a4f7d42e2 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Wed, 30 Oct 2024 22:14:56 +0200 Subject: [PATCH] Move CSS to the stylesheets file --- css/styles.css | 31 +++++++++++++++++++++++++++++++ front-page-content.php | 31 ------------------------------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/css/styles.css b/css/styles.css index c975897..e905360 100644 --- a/css/styles.css +++ b/css/styles.css @@ -986,3 +986,34 @@ section.subtitle_content { text-align: justify; font-weight: bold; } + +/* countdown */ +.countdown { + text-align: center; + margin-top: 18px; +} + +.countdown > table { + margin: 0 auto; +} + +.countdown .digits > td { + font-size: 30px; + padding: 0 10px; +} + +.countdown .units > td { + font-size: 12px; +} + +/* no current streams */ +.no_current_streams { + text-align: center; + margin-top: 18px; +} + +/* after event */ +.after_event { + text-align: center; + margin-top: 18px; +} diff --git a/front-page-content.php b/front-page-content.php index 67fb7c8..f308b54 100644 --- a/front-page-content.php +++ b/front-page-content.php @@ -44,25 +44,6 @@ $noCurrentStreams = !$isBeforeEvent && !$isAfterEvent && $activeStream === false if ($isBeforeEvent) { ?> -
@@ -90,12 +71,6 @@ if ($activeStream) { if ($noCurrentStreams) { ?> -
@@ -104,12 +79,6 @@ if ($noCurrentStreams) { if ($isAfterEvent) { ?> -