From 56d781851228045f65084e64abd36769c6a043c0 Mon Sep 17 00:00:00 2001 From: Hideki Shimizu Date: Thu, 3 Dec 2020 15:32:13 +0900 Subject: [PATCH] [mod] back from float right -> float left and vw -> % of tag width and etc. --- static/css/postcard.css | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/static/css/postcard.css b/static/css/postcard.css index 423c495..bd88a2d 100644 --- a/static/css/postcard.css +++ b/static/css/postcard.css @@ -121,11 +121,6 @@ border-radius: 2px; } -div.nest div.postcard h2.post-title:after { - width: 100%; - left: 50%; -} - .postcard::before { display: block; position: absolute; @@ -139,7 +134,7 @@ div.nest div.postcard h2.post-title:after { } div.tags{ - top: -7px; + top: -11px; display: table; border-collapse: separate; border-spacing: 3px 0; @@ -147,7 +142,7 @@ div.tags{ text-align: center; vertical-align: middle; text-align: left; - width: 61vw; + width: 100%; } .tags a.tagbutton { @@ -161,6 +156,7 @@ div.tags{ border: solid 1px gray; color: white; transition: .4s; + float: right; } .tags a.tagbutton:hover { @@ -205,9 +201,7 @@ div.tags{ .postcard div.tags { position: relative; - left: -1.7vw; - top: -24px; - width: 88vw; + top: -27px; } .postcard h2.post-title { margin-bottom: 40px; @@ -225,7 +219,6 @@ div.tags{ } .tags a.tagbutton { - float: left; font-size: 5px; border: solid 1px white; } -- GitLab