From e51fe2fb9e2c43a8d84ad7b725f7cda981fa9eff Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 5 Oct 2022 16:14:53 +0800 Subject: [PATCH] style: update website style. --- scripts/style.css | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/scripts/style.css b/scripts/style.css index f8a4d13..54960e5 100644 --- a/scripts/style.css +++ b/scripts/style.css @@ -799,4 +799,40 @@ body:not(.home) .h2wrap > h2 a::after { .home-card { grid-template-columns: repeat(4,minmax(0,1fr)); } +} + +@media (min-width: 375px) { + .header-nav .title { + font-size: 1rem; + } + .header-nav .max-container { + padding-top: 0.85rem; + } + .wrap-header.h1wrap > h1 { + margin-bottom: 2rem; + font-size: 2rem; + } + .wrap-header.h1wrap { + margin-top: 1.6rem; + margin-bottom: 2rem; + } + .h1wrap-body { + gap: 2rem; + } + .home-card { + gap: 1rem; + } + .wrap-header.h2wrap > h2 { + font-size: 1.3rem; + } + a.home-button { + padding-left: 1.1rem; + padding-right: 1.1rem; + margin-left: 0.5rem; + margin-right: 0.5rem; + font-size: 0.87rem; + } + .footer-wrap { + font-size: 0.75rem; + } } \ No newline at end of file