From b99e34f6244a76834af9ad0dcb9a77a64e55bfe7 Mon Sep 17 00:00:00 2001 From: Bat Date: Thu, 6 Sep 2018 13:11:48 +0100 Subject: [PATCH] Better style for tags --- static/css/main.css | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/static/css/main.css b/static/css/main.css index a19e654..f4d596e 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -232,13 +232,25 @@ main .article-meta .tags { } main .article-meta .tags li { - display: inline; + display: inline-block; background: #DADADA; - padding: 10px 20px; + padding: 0px; margin-right: 10px; border-radius: 3px; + transition: all 0.2s ease-in; } +main .article-meta .tags li:hover { + background: #BBB; +} + +main .article-meta .tags li a { + display: inline-block; + padding: 10px 20px; + color: #242424; +} + + /* ~ Likes ~ */ main .article-meta .likes p,