From 200841a0883702a03a00440d0ea55f7add70db94 Mon Sep 17 00:00:00 2001 From: MultiMote Date: Fri, 16 Aug 2024 15:14:36 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B5=D0=B3=D0=B8=20=D0=B2=20=D1=81?= =?UTF-8?q?=D0=BF=D0=B8=D1=81=D0=BA=D0=B5=20=D1=81=D1=82=D0=B0=D1=82=D0=B5?= =?UTF-8?q?=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/mmotium/assets/css/_vars.scss | 3 ++- themes/mmotium/assets/css/style.scss | 10 +++++++++- themes/mmotium/layouts/index.html | 4 ++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/themes/mmotium/assets/css/_vars.scss b/themes/mmotium/assets/css/_vars.scss index 1cc8671..4fbba66 100644 --- a/themes/mmotium/assets/css/_vars.scss +++ b/themes/mmotium/assets/css/_vars.scss @@ -7,7 +7,8 @@ $navbar-color: #404c5e; $navbar-text-color: white; $link-color: #175eaf; $link-hover-color: #3ea7e4; -$tag-color: #728fb6; +$category-color: #728fb6; +$tag-color: #af82b1; $page-bg-color: #dfdfdf; $page-bg-image: "/images/bg.jpg"; diff --git a/themes/mmotium/assets/css/style.scss b/themes/mmotium/assets/css/style.scss index 95ffa16..bae6b33 100644 --- a/themes/mmotium/assets/css/style.scss +++ b/themes/mmotium/assets/css/style.scss @@ -157,6 +157,7 @@ section.posts { display: flex; flex-wrap: wrap; gap: 0.5rem; + align-items: center; } footer time { @@ -164,9 +165,16 @@ section.posts { } footer .category { + color: $category-color; + border: 1px solid $category-color; + padding: 0 0.5rem; + } + + footer .tag { color: $tag-color; border: 1px solid $tag-color; padding: 0 0.5rem; + font-size: 0.8rem; } } @@ -205,7 +213,7 @@ section.posts { .toc { margin-top: 1em; - + ul { list-style-position: inside; margin: 0; diff --git a/themes/mmotium/layouts/index.html b/themes/mmotium/layouts/index.html index 93742dd..54aab3b 100644 --- a/themes/mmotium/layouts/index.html +++ b/themes/mmotium/layouts/index.html @@ -31,6 +31,10 @@ {{ range (.GetTerms "categories") }} {{ .LinkTitle }} {{ end }} + + {{ range (.GetTerms "tags") }} + {{ .LinkTitle }} + {{ end }} {{ end }}