diff options
author | Vika <vika@fireburn.ru> | 2021-12-07 16:53:29 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2021-12-07 16:53:29 +0300 |
commit | 2727e8bdd0122e367a6b155f96829fec26e536f9 (patch) | |
tree | 22964e24b57332edb525125374b73d36f785afc8 /src/frontend/style.css | |
parent | 080b925ce13242d69bf0af9e7ca5300173b94785 (diff) | |
download | kittybox-2727e8bdd0122e367a6b155f96829fec26e536f9.tar.zst |
Display pretty links in case there is more than one URL in a post
Diffstat (limited to 'src/frontend/style.css')
-rw-r--r-- | src/frontend/style.css | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/frontend/style.css b/src/frontend/style.css index 0b09f81..0c8d94c 100644 --- a/src/frontend/style.css +++ b/src/frontend/style.css @@ -124,12 +124,20 @@ article.h-entry, article.h-feed, article.h-card, article.h-event { gap: .5em; } article.h-entry > header.metadata ul { - padding-left: unset; - flex-wrap: wrap; + padding-inline-start: unset; margin: unset; +} +article.h-entry > header.metadata ul.categories { + flex-wrap: wrap; display: inline-flex; list-style-type: none; - +} +article.h-entry > header.metadata ul.categories li { + display: inline; + margin-inline-start: unset; +} +article.h-entry > header.metadata ul li { + margin-inline-start: 2.5em; } article.h-entry .e-content pre { border: 1px solid gray; @@ -149,9 +157,6 @@ article.h-entry img.u-photo + * { article.h-entry > header.metadata span + span::before { content: " | " } -article > header.metadata ul li { - display: inline; -} li.p-category::before { content: " #"; } |