From 227a7a7149488da7f71e1546cf7f1dbc25ad0649 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 18 Oct 2022 21:40:24 +0800 Subject: [PATCH] style: update website style. --- scripts/style.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/scripts/style.css b/scripts/style.css index df51a21..909b9f5 100644 --- a/scripts/style.css +++ b/scripts/style.css @@ -968,13 +968,16 @@ body:not(.home) .h2wrap-body > .wrap:hover .h3wrap > h3 a::after { table td:first-child { white-space: initial; } - .home-card { - grid-template-columns: repeat(4,minmax(0,1fr)); - } .wrap-header.h3wrap > .wrap-body { overflow: initial; } .tooltip:hover .tooltiptext { display: inline-block; } -} \ No newline at end of file +} + +@media (min-width: 768px) { + .home-card { + grid-template-columns: repeat(4,minmax(0,1fr)); + } +}