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);