From 910d108af90adbe85707144a4ed566adb2ec6b84 Mon Sep 17 00:00:00 2001 From: Jan BELLON Date: Thu, 7 Mar 2024 14:20:38 +0000 Subject: [PATCH] Update 2 files - /html/src/css/style.css - /html/journal.php --- html/journal.php | 2 +- html/src/css/style.css | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/html/journal.php b/html/journal.php index 6b734c33..e61d1536 100644 --- a/html/journal.php +++ b/html/journal.php @@ -61,7 +61,7 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) { if ($resultat) { foreach($resultat as $row) { - echo "

" . $row['titre'] . "

" . $row['auteur'] . "

" . $date->format('d/m/Y') . "
"; + echo "

" . $row['titre'] . "

" . $row['auteur'] . "

" . $date->format('d/m/Y') . "
"; } } } diff --git a/html/src/css/style.css b/html/src/css/style.css index d05677a6..0bd84037 100644 --- a/html/src/css/style.css +++ b/html/src/css/style.css @@ -76,4 +76,19 @@ a { .main-title .title { font-size: 3em; +} + +.article { + background-color: var(--dark-background); + border-radius: 10px; +} + +.article:hover { + background-color: var(--dark-background); + border-radius: 10px; + box-shadow: 0 0 15px rgba(255, 255, 255, 0.322); +} + +.article-content { + padding: 1em; } \ No newline at end of file