From ad3d8218449846ed23a2b3ccab3601938ccbf95a Mon Sep 17 00:00:00 2001 From: nodejh Date: Sun, 28 Feb 2021 21:52:25 +0800 Subject: [PATCH] style: update tags page styles --- static/css/style.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index c10aaa6..96279bc 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -429,12 +429,20 @@ nav.navigation a.button { padding: 0 12px; text-align: center; } - #tags .tag { display: inline-block; - display: inline-block; - margin: 7px 12px; + margin: 7px 7px; } +@media (max-width: 700px) { + #tags { + margin: 0 auto 0 auto; + } + #tags .tag { + display: inline-block; + margin: 4px 5px; + } +} + #tags .tag a { background: #f2f2f2; padding: 4px 7px;