From 4b3acb3943de8b65ae5e1dbaa8736849da26f9a5 Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Mon, 22 May 2023 10:16:27 +0300 Subject: [PATCH] fix css --- css/index.css | 4 ++++ templates/blogPage.html | 4 ++-- templates/partials/blogPosts.html | 2 +- templates/partials/featuredBlog.html | 6 +++--- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/css/index.css b/css/index.css index 573bbcc..f410b74 100644 --- a/css/index.css +++ b/css/index.css @@ -45,6 +45,10 @@ a { background-color: rgba(255, 255, 255, 0.75); } +.article h2{ + font-size: 1.5rem; +} + /* Custom css allowing image styling in markdown */ img[src*="#mx-auto"] { margin: auto; diff --git a/templates/blogPage.html b/templates/blogPage.html index d75d78a..8b3396b 100644 --- a/templates/blogPage.html +++ b/templates/blogPage.html @@ -2,13 +2,13 @@ {% block content %} -
+
-

+

{{ page.title }}

diff --git a/templates/partials/blogPosts.html b/templates/partials/blogPosts.html index a5b299a..11bf809 100644 --- a/templates/partials/blogPosts.html +++ b/templates/partials/blogPosts.html @@ -2,7 +2,7 @@

{% set path_array = current_path | split(pat="/") %} {% set taxonomy = path_array[1] %} diff --git a/templates/partials/featuredBlog.html b/templates/partials/featuredBlog.html index 0592ec7..5f3f5cf 100644 --- a/templates/partials/featuredBlog.html +++ b/templates/partials/featuredBlog.html @@ -10,7 +10,7 @@
-
+

FEATURED POST

-
- +
+