From 5476697e3f77dd2ea15bf7c6b44cbc9d1e90a59e Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Tue, 19 Nov 2024 14:45:04 +0200 Subject: [PATCH] update blog and news posts --- css/index.css | 9 +++++++-- templates/blogPage.html | 18 +++++++++--------- templates/newsPage.html | 36 ++++++++++++++++++------------------ 3 files changed, 34 insertions(+), 29 deletions(-) diff --git a/css/index.css b/css/index.css index 31407a258..cb002d134 100644 --- a/css/index.css +++ b/css/index.css @@ -358,11 +358,11 @@ background-color:#5596f5 !important; } .post-content-text a, .article a{ - color: #4ec48f; + color: #a5a5a5; } .post-content-text a:hover, .article a:hover{ - color: #2e9969; + color: #c6c9c8; } .article li{ @@ -377,6 +377,11 @@ background-color:#5596f5 !important; } + .article h4{ + color: #fff !important; + + } + .main-title { font-family: "Inter", sans-serif; } diff --git a/templates/blogPage.html b/templates/blogPage.html index 5c72a74ab..3852c978e 100644 --- a/templates/blogPage.html +++ b/templates/blogPage.html @@ -24,12 +24,12 @@
-
-

+
+

{{ page.title }}

-

+

{{ page.description }}

@@ -48,7 +48,7 @@ sm:w-10 rounded-full bg-gray-200 - border-2 border-white + border border-gray-600 " /> {% endif %} @@ -57,9 +57,9 @@
{% if author %} - {{ author.title }} + {{ author.title }} {% endif %} -

+


{{ tag }} diff --git a/templates/newsPage.html b/templates/newsPage.html index e777f7d32..055b58221 100644 --- a/templates/newsPage.html +++ b/templates/newsPage.html @@ -37,11 +37,11 @@

-
-

+
+

{{ page.title }}

-

+

{{ page.description }}

@@ -66,7 +66,7 @@ sm:w-10 rounded-full bg-gray-200 - border-2 border-white + border border-gray-600 " /> @@ -87,13 +87,13 @@ {% set author = get_page(path=author_path) %} {% set author_img = get_url(path='/' ~ author.relative_path | replace(from='_', to='-') | replace(from='index.md', to=author.extra.imgPath)) %} - {{ author.title }} + {{ author.title }} {% endif %} {% endfor %} {% endif %}

-

+

@@ -118,7 +118,7 @@ mx-auto relative font-serif - text-gray-700 + text-gray-300 ">

{{ content | safe }}

@@ -127,17 +127,17 @@ {% for tag in page.taxonomies.tags %} {% set fullpath = "/tags/" ~ tag | replace(from='_', to='-' ) %} {{ tag }} {% endfor %}