Add description and fix tag bg

This commit is contained in:
Avijit 🚀
2021-08-04 22:29:25 +02:00
committed by Yash Mehrotra
parent 634007a0ce
commit 6ff5def1f0
3 changed files with 7 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
<div class="post-header-section"> <div class="post-header-section">
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
<small role="doc-subtitle">This is a subheading</small>
<p class="post-date"> <p class="post-date">
{{ dateFormat "January 2, 2006" .Date }} {{ dateFormat "January 2, 2006" .Date }}
</p> </p>

View File

@@ -1,7 +1,7 @@
:root { :root {
--dark-bg-color: #121212; --dark-bg-color: #121212;
--dark-text-color: white; --dark-text-color: white;
--dark-header-bg-color: #121212; --dark-tags-bg-color: #1f1f1f;
--dark-header-divider-color: #484848; --dark-header-divider-color: #484848;
} }
@@ -33,7 +33,7 @@ a:hover .feather-moon {
} }
.tags-list .post-tags .post-tag a .tag-posts-count { .tags-list .post-tags .post-tag a .tag-posts-count {
background-color: var(--dark-header-bg-color); background-color: var(--dark-tags-bg-color);
} }
.tags-list .post-tags .post-tag:hover a .tag-posts-count { .tags-list .post-tags .post-tag:hover a .tag-posts-count {

View File

@@ -43,6 +43,7 @@ img {
/* HEADER */ /* HEADER */
.header { .header {
background-color: var(--light-bg-color); background-color: var(--light-bg-color);
/* background-color: inherit; */
color: inherit; color: inherit;
font-size: 1.2rem; font-size: 1.2rem;
height: 50px; height: 50px;
@@ -168,7 +169,6 @@ a:hover .feather-sun {
} }
/** COMMON **/ /** COMMON **/
.flex-break { .flex-break {
flex-basis: 100%; flex-basis: 100%;
height: 0; height: 0;
@@ -318,6 +318,9 @@ table td {
main#content .post { main#content .post {
font-size: 1.2rem; font-size: 1.2rem;
} }
.post [role="doc-subtitle"] {
font-size: 1.3rem;
}
.post .post-date { .post .post-date {
color: gray; color: gray;
} }