From 7e629c95ffaade09940e47a9885160775b9d1019 Mon Sep 17 00:00:00 2001 From: daudix Date: Sun, 7 Jul 2024 16:48:19 +0300 Subject: [PATCH] Float tags to the end of post card --- sass/_article-list.scss | 8 ++++++++ templates/article_list.html | 2 +- templates/taxonomy_single.html | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sass/_article-list.scss b/sass/_article-list.scss index 436822e..c1c2ff4 100644 --- a/sass/_article-list.scss +++ b/sass/_article-list.scss @@ -42,6 +42,7 @@ box-shadow: var(--edge-highlight); border-radius: var(--rounded-corner); border-top-right-radius: 2.125rem; + border-bottom-right-radius: 1.8125rem; background-color: var(--yellow-bg); padding: 1rem; overflow: hidden; @@ -106,6 +107,9 @@ :root[dir*="rtl"] & { border-top-right-radius: var(--rounded-corner); border-top-left-radius: 2.125rem; + border-bottom-right-radius: var(--rounded-corner); + border-bottom-left-radius: 1.8125rem; + &:hover::before { transform: translateY(-50%) rotate(-62deg) scale(1.5); @@ -174,6 +178,10 @@ background-color: var(--yellow-fg); } } + + .tags { + float: inline-end; + } } hr:last-of-type { diff --git a/templates/article_list.html b/templates/article_list.html index dcb6477..d168a3c 100644 --- a/templates/article_list.html +++ b/templates/article_list.html @@ -56,7 +56,7 @@ {%- endif %} {%- if page.taxonomies %} {%- for name, taxon in page.taxonomies %} -