From 77c42db0e5cbd94b39f6f2796cd18fa8756d4e35 Mon Sep 17 00:00:00 2001 From: AIboy996 <2207854887@qq.com> Date: Mon, 1 Jul 2024 23:04:14 +0800 Subject: [PATCH] update css --- index.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/index.css b/index.css index ad9250c..c2afa8e 100644 --- a/index.css +++ b/index.css @@ -158,18 +158,21 @@ header nav ul li a:hover:after { .item, .item-mid { - width: 45%; - margin: 15px 2.5%; + width: 46%; + margin: 15px 1.5%; } } @media screen and (max-width: 520px) { - .item, - .item-big { - width: 45%; + .item { + width: 100%; margin: 15px 0%; } + .item-mid { + width: 86%; + margin: 0; + } } /* Items */