From aed98d5895cf5b28e9ee6aff907c77472af9b073 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Fri, 8 Mar 2024 14:31:10 +0000 Subject: [PATCH] Update 2 files - /html/src/css/style.css - /html/news.php --- html/news.php | 8 ++++---- html/src/css/style.css | 19 +++++++++++++++++-- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/html/news.php b/html/news.php index d06ce368..31482142 100644 --- a/html/news.php +++ b/html/news.php @@ -66,10 +66,10 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) { foreach($resultat as $row) { echo "

"; echo ""; - echo "

" . $row['titre'] . "

"; - echo "

" . $row['auteur'] . "

"; - echo "
" . $classifications[(int)$row['classification']] . "
"; - echo "
" . $date->format('d/m/Y') . "
"; + echo "
" . $row['titre'] . "
"; + echo "
" . $row['auteur'] . "
"; + echo "
" . $classifications[(int)$row['classification']] . "
"; + echo "
" . $date->format('d/m/Y') . "
"; } } } diff --git a/html/src/css/style.css b/html/src/css/style.css index 2c5b6d68..386a38b1 100644 --- a/html/src/css/style.css +++ b/html/src/css/style.css @@ -105,8 +105,23 @@ a { } .article-link { - display: inline-block; - margin: 2em; + color: var(--text); +} + +.article-titre { + +} + +.article-auteur { + +} + +.article-classification { + +} + +.article-date { + } .article {