summaryrefslogtreecommitdiffstats
path: root/assets/sass/_customize.scss
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-20 01:14:33 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-20 01:15:12 +0200
commitab789fc20396bb583835c1f47478c1f17039d39f (patch)
treec7c62acff7f2d404b5121807e78a2de3a94dc226 /assets/sass/_customize.scss
parentd6736498de8885d446622dcafebeff033bc7b8c0 (diff)
downloadgohugo-theme-ed-ab789fc20396bb583835c1f47478c1f17039d39f.tar.gz
Provide minimal tag cloud
Diffstat (limited to 'assets/sass/_customize.scss')
-rw-r--r--assets/sass/_customize.scss27
1 files changed, 26 insertions, 1 deletions
diff --git a/assets/sass/_customize.scss b/assets/sass/_customize.scss
index a996917..6d55b8e 100644
--- a/assets/sass/_customize.scss
+++ b/assets/sass/_customize.scss
@@ -134,13 +134,14 @@ ul.pager li {
position: relative;
}
-.post-tags {
+ul.post-tags {
margin: 0;
padding: 0;
position: absolute;
right: 24px;
bottom: -12px;
list-style: none;
+ text-indent: unset;
}
.post-tags li,
@@ -213,6 +214,30 @@ a.external:after {
@include mask-image (url("/img/external-link.svg"));
}
+ul.tags-cloud {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ max-width: 960px;
+ margin: auto;
+ padding: 2rem 0 1rem;
+ list-style: none;
+ border: 2px solid white;
+ border-radius: 5px;
+}
+
+ul.tags-cloud .tag {
+ display: flex;
+ align-items: center;
+ margin: 0.25rem 1rem;
+}
+
+ul.tags-cloud .tag-link {
+ padding: 5px 5px 0;
+ transition: 0.3s;
+ text-decoration: none;
+}
+
/* Themes */
/* Red */