From 719f6a5e613aa5c527fcfd4c3e19bbdcbcdc9ffa Mon Sep 17 00:00:00 2001 From: RavelloH Date: Fri, 17 Jan 2025 13:59:39 +0800 Subject: [PATCH] =?UTF-8?q?Fix.=20=E4=BF=AE=E5=A4=8D=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=89=88=E8=A7=86=E5=9B=BE=E6=98=BE=E7=A4=BA=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/style.css | 50 +++++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 8db2252..7dac4f2 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -3405,30 +3405,32 @@ span { color: white; } -#main::before { - content: ''; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 10px; - background: linear-gradient(to bottom, #111111 0%, rgba(0, 0, 0, 0) 100%); - pointer-events: none; - z-index: 1; -} +@media screen and (min-width: 400px) { + #main::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 10px; + background: linear-gradient(to bottom, #111111 0%, rgba(0, 0, 0, 0) 100%); + pointer-events: none; + z-index: 1; + } -#main::after { - content: ''; - position: absolute; - bottom: 0; - left: 0; - width: 100%; - height: 10px; - pointer-events: none; - z-index: 1; - background: linear-gradient(to top, #111111 0%, rgba(0, 0, 0, 0) 100%); -} + #main::after { + content: ''; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 10px; + pointer-events: none; + z-index: 1; + background: linear-gradient(to top, #111111 0%, rgba(0, 0, 0, 0) 100%); + } -.listprogram { - margin-top: 10px; + .listprogram { + margin-top: 10px; + } }