diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 3b20d3a..54c39a1 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -66,6 +66,28 @@ +/* Tags list format */ +.tag-list ul { + display: flex; + list-style: none; + gap: 10px; + flex-flow: row wrap; + padding: 0; +} + +.tag-list a { + background-color: #222; + padding: 8px 12px; + border-radius: 12px; +} + +.tag-list a:hover { + text-decoration: none; + background-color: #333; +} + + + /* Series list format */ .series-pages ul { display: flex; @@ -510,6 +532,7 @@ li.disabled > .page-link:hover { .topbar, .section, + .tag-list a, .page-list li, .series-taxonomy li, .series-box, @@ -523,6 +546,7 @@ li.disabled > .page-link:hover { } .section:hover, + .tag-list a:hover, .navbar-item:hover, .langpicker summary:hover, .langpicker[open] summary, diff --git a/layouts/tags/list.html b/layouts/tags/list.html new file mode 100644 index 0000000..b3f4597 --- /dev/null +++ b/layouts/tags/list.html @@ -0,0 +1,16 @@ +{{ define "main" }} +

+ {{ partial "icon.html" "tag" }} + {{ .Title | markdownify }} +

+ +
+ +
+{{ end }} diff --git a/layouts/tags/term.html b/layouts/tags/term.html new file mode 100644 index 0000000..9557abf --- /dev/null +++ b/layouts/tags/term.html @@ -0,0 +1,22 @@ +{{ define "main" }} +

+ {{ partial "icon.html" "tag" }} + {{ .Title | markdownify }} + {{ partial "rss-link.html" . }} +

+ + {{ partial "description-or-summary.html" . }} +
+ +
+ + {{ partial "pagination.html" . }} +{{ end }}