From ba1838d28c70282662f012d595ace7243db17fa1 Mon Sep 17 00:00:00 2001 From: mumuy <> Date: Sat, 21 Sep 2024 19:28:11 +0800 Subject: [PATCH] Update index.css --- static/style/index.css | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/static/style/index.css b/static/style/index.css index 5f85ab1..88bacea 100644 --- a/static/style/index.css +++ b/static/style/index.css @@ -539,7 +539,6 @@ header{ } .mod-feature .bd ul{ width: 350px; - margin-left: 20px; padding: 25px 0; } .mod-feature .bd li{ @@ -843,6 +842,9 @@ header{ .inner{ max-width: 640px; } + .module{ + margin: 20px 0; + } .mod-head .hd span.tag{ padding: 5px 8px; @@ -957,6 +959,42 @@ header{ margin: 0 5px 5px; } + .mod-feature .bd{ + flex-direction: column; + } + .mod-feature .bd ul{ + width: auto; + padding: 10px 0; + display: grid; + grid-template-columns: repeat(2,1fr); + } + .mod-feature .bd li{ + padding: 12px; + margin: 2px 0; + line-height: 20px; + } + .mod-feature .bd li p.title{ + font-size: 16px; + } + .mod-feature .bd li p.desc{ + font-size: 12px; + } + .mod-feature .panels{ + min-width: 0; + padding: 10px 0; + } + .mod-feature .panel{ + padding: 20px 0 70px; + } + .mod-feature .panel img{ + height: 160px; + } + .mod-feature .panel .slogan{ + padding: 10px; + line-height: 24px; + font-size: 16px; + } + .mod-article{ margin-bottom: 55px; }