From c905e929f6e3c4da7fe5e154afb831a4533e7f75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Thu, 22 Feb 2024 18:08:12 +0100 Subject: [PATCH] Fix articles --- assets/style.css | 15 +++++++++++++++ templates/newsArticle.html | 6 ++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/assets/style.css b/assets/style.css index 9fb23b7..7e22470 100644 --- a/assets/style.css +++ b/assets/style.css @@ -388,4 +388,19 @@ body:has(.ye-span:hover) { .hidden { display: none !important; +} + +div#articleslist{ + width: 80vw; + left: 10vw; + position: relative; +} + +div#articleslist > article > div#articleinfo{ + display: flex; + flex-direction: row; +} + +div#articleslist>article{ + border: 4px solid var(--primary); } \ No newline at end of file diff --git a/templates/newsArticle.html b/templates/newsArticle.html index d6cd319..4aae648 100644 --- a/templates/newsArticle.html +++ b/templates/newsArticle.html @@ -1,7 +1,9 @@

__TEMPLATE_ARTICLE_TITLE__

-

__TEMPLATE_ARTICLE_AUTHOR__

-

__TEMPLATE_ARTICLE_DATE__

+
__TEMPLATE_ARTICLE_BODY__