From cab0972e02d083d4d05cd2ccc00e7b8087a9be7d Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Fri, 8 Mar 2024 15:48:50 +0000 Subject: [PATCH] Update 2 files - /html/news.php - /html/src/css/style.css --- html/news.php | 2 +- html/src/css/style.css | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/html/news.php b/html/news.php index 57bb497d..2af1a426 100644 --- a/html/news.php +++ b/html/news.php @@ -59,7 +59,7 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) { if ($resultat) { $date = new Datetime($row[0]['date']); - echo "
" . $row[0]['ID'] . "
"; + echo "wdiv class='article-info'>
" . $row[0]['ID'] . "
"; echo "
" . $row[0]['titre'] . "
"; echo "
" . $date->format('d/m/Y') . "
"; echo "
" . $row[0]['auteur'] . "
"; diff --git a/html/src/css/style.css b/html/src/css/style.css index 818e2ec6..3eebf42a 100644 --- a/html/src/css/style.css +++ b/html/src/css/style.css @@ -125,6 +125,26 @@ a { font-size: 0.8em; } +.article-info { + +} + +.article.article-auteur { + +} + +.article.article-classification { + +} + +.article.article-date { + +} + +.article.article-titre { + +} + .article { background-color: var(--article-background); color: var(--article-text);