update blog and news posts

This commit is contained in:
2024-11-19 14:45:04 +02:00
parent ea86a78634
commit 5476697e3f
3 changed files with 34 additions and 29 deletions

View File

@@ -358,11 +358,11 @@ background-color:#5596f5 !important;
} }
.post-content-text a, .article a{ .post-content-text a, .article a{
color: #4ec48f; color: #a5a5a5;
} }
.post-content-text a:hover, .article a:hover{ .post-content-text a:hover, .article a:hover{
color: #2e9969; color: #c6c9c8;
} }
.article li{ .article li{
@@ -377,6 +377,11 @@ background-color:#5596f5 !important;
} }
.article h4{
color: #fff !important;
}
.main-title { .main-title {
font-family: "Inter", sans-serif; font-family: "Inter", sans-serif;
} }

View File

@@ -24,12 +24,12 @@
<div> <div>
<article class="article lg:w-4/6 mx-auto"> <article class="article lg:w-4/6 mx-auto">
<section class="post-header px-0 mb-4 border-b"> <section class="post-header px-0 mb-4 border-b border-gray-600">
<h2 class="md:text-4xl text-3xl font-medium mb-2 leading-none text-gray-700"> <h2 class="md:text-4xl text-3xl font-medium mb-2 leading-none text-gray-100">
{{ page.title }} {{ page.title }}
</h2> </h2>
<p class="md:text-lg mb-4 text-base text-gray-600"> <p class="md:text-lg mb-4 text-base text-gray-300">
{{ page.description }} {{ page.description }}
</p> </p>
</section> </section>
@@ -48,7 +48,7 @@
sm:w-10 sm:w-10
rounded-full rounded-full
bg-gray-200 bg-gray-200
border-2 border-white border border-gray-600
" /> " />
</li> </li>
{% endif %} {% endif %}
@@ -57,9 +57,9 @@
<div class="pl-3 flex flex-col text-xs leading-none uppercase"> <div class="pl-3 flex flex-col text-xs leading-none uppercase">
{% if author %} {% if author %}
<a href="{{author.permalink}}" class="text-gray-700 text-xs">{{ author.title }}</a> <a href="{{author.permalink}}" class="text-gray-400 text-xs">{{ author.title }}</a>
{% endif %} {% endif %}
<p class="text-gray-700 text-xs"> <p class="text-gray-400 text-xs">
<time datetime="{{ page.date }}"> {{ page.date | date(format="%B %e, %Y", timezone="America/Chicago") <time datetime="{{ page.date }}"> {{ page.date | date(format="%B %e, %Y", timezone="America/Chicago")
}}</time><br /> }}</time><br />
<span id="time" <span id="time"
@@ -80,14 +80,14 @@
<button class=" <button class="
text-xs text-xs
bg-transparent bg-transparent
hover:text-blue-700 hover:text-gray-100
py-2 py-2
px-4 px-4
mr-2 mr-2
border border
hover:border-blue-500 hover:border-gray-100
border-gray-600 border-gray-600
text-gray-700 text-gray-400
rounded-full rounded-full
"><a href="{{fullpath}}">{{ tag }}</a></button> "><a href="{{fullpath}}">{{ tag }}</a></button>

View File

@@ -37,11 +37,11 @@
<div class="article lg:w-4/6 mx-auto"> <div class="article lg:w-4/6 mx-auto">
<div> <div>
<section class="post-header px-0 mb-4 border-b"> <section class="post-header px-0 mb-4 border-b border-gray-600">
<h2 class="md:text-4xl text-3xl font-medium mb-2 leading-none text-gray-700"> <h2 class="md:text-4xl text-3xl font-medium mb-2 leading-none text-gray-100">
{{ page.title }} {{ page.title }}
</h2> </h2>
<p class="md:text-lg mb-4 text-base text-gray-600"> <p class="md:text-lg mb-4 text-base text-gray-300">
{{ page.description }} {{ page.description }}
</p> </p>
</section> </section>
@@ -66,7 +66,7 @@
sm:w-10 sm:w-10
rounded-full rounded-full
bg-gray-200 bg-gray-200
border-2 border-white border border-gray-600
" /> " />
</a> </a>
</li> </li>
@@ -87,13 +87,13 @@
{% set author = get_page(path=author_path) %} {% 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)) %} {% set author_img = get_url(path='/' ~ author.relative_path | replace(from='_', to='-') | replace(from='index.md', to=author.extra.imgPath)) %}
<span class="text-xs leading-none uppercase"> <span class="text-xs leading-none uppercase">
<a href="{{author.permalink}}" tooltip="{{author.title}}" class="hover:underline text-gray-800">{{ author.title }}</a> <a href="{{author.permalink}}" tooltip="{{author.title}}" class="hover:underline text-gray-400">{{ author.title }}</a>
</span> </span>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</p> </p>
<p class="text-gray-700 text-xs leading-none uppercase"> <p class="text-gray-400 text-xs leading-none uppercase">
<time datetime="{{page.date}}"> <time datetime="{{page.date}}">
{{ page.date | date(format="%B %e, %Y", timezone="America/Chicago") }} {{ page.date | date(format="%B %e, %Y", timezone="America/Chicago") }}
</time> </time>
@@ -118,7 +118,7 @@
mx-auto mx-auto
relative relative
font-serif font-serif
text-gray-700 text-gray-300
"> ">
<div class="post-content-text text-xl">{{ content | safe }}</div> <div class="post-content-text text-xl">{{ content | safe }}</div>
</section> </section>
@@ -127,17 +127,17 @@
{% for tag in page.taxonomies.tags %} {% for tag in page.taxonomies.tags %}
{% set fullpath = "/tags/" ~ tag | replace(from='_', to='-' ) %} {% set fullpath = "/tags/" ~ tag | replace(from='_', to='-' ) %}
<a href="{{fullpath}}" class=" <a href="{{fullpath}}" class="
text-xs text-xs
bg-transparent bg-transparent
hover:text-blue-700 hover:text-gray-100
py-2 py-2
px-4 px-4
mr-2 mr-2
border border
hover:border-blue-500 hover:border-gray-100
border-gray-600 border-gray-600
text-gray-700 text-gray-400
rounded-full rounded-full
">{{ tag }}</a> ">{{ tag }}</a>
{% endfor %} {% endfor %}
</section> </section>