hscc

Soure code of <https://hugo.soucy.cc>.
git clone git://soucy.cc/hscc.git
Log | Files | Refs

commit 98ed3736e6e7cd0dcfbf8d503d76d1bdd54a07fb
parent 958c25494a6ee30f3f00db0ffafb6620c7b634f8
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun,  3 Oct 2021 20:09:18 -0400

Add a css module for tags

Diffstat:
Msrc/css/css.sh | 1+
Asrc/css/modules/tags.css | 25+++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/src/css/css.sh b/src/css/css.sh @@ -31,6 +31,7 @@ modules/hfeed.css modules/hresume.css modules/xfn.css modules/archives.css +modules/tags.css modules/webmentions.css EOF diff --git a/src/css/modules/tags.css b/src/css/modules/tags.css @@ -0,0 +1,25 @@ +/* @module archives */ +.tags-list { + display: flex; + flex-wrap: wrap; + gap: 2rem; + list-style: none; + margin-top: calc(var(--base-space) * 6); + padding-left: 0; +} + +@supports (display: grid) { + .tags-list { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); + grid-gap: 2rem; + } +} + +.tags-list__keyword { + font-weight: 700; +} + +.tags-list__entry { + margin-left: 0; +}