From 64700b2cf01de3d3e77a89ff39c61dfaa86cecf0 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Tue, 19 Nov 2024 19:56:34 +0100 Subject: [PATCH] feat: nouveau layout articles --- css/style.css | 5 +++++ php/page.php | 15 ++++++++++++--- scss/custom/_article.scss | 6 ++++++ 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/css/style.css b/css/style.css index c708847..16eb470 100755 --- a/css/style.css +++ b/css/style.css @@ -1382,6 +1382,11 @@ footer { border-radius: 8px; object-fit: cover; } +.description { + opacity: 0.8; + font-style: italic; + font-size: .95rem; } + .article-meta .author-area { display: flex; align-items: center; diff --git a/php/page.php b/php/page.php index e9ad077..bf4f810 100755 --- a/php/page.php +++ b/php/page.php @@ -8,9 +8,18 @@ isStatic() && !$url->notFound()): ?> -

readingTime() ?>

+
+ +

readingTime() ?>

+
+
+ description(); ?> +
+ +
+
content(); ?>
@@ -21,7 +30,7 @@
@@ -31,7 +40,7 @@

Tags et catégories