From f8cf4df9ce708445f2c68cf029f748d0597fe5f0 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sun, 8 Feb 2026 08:38:12 +0000 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/custom.css | 34 +++++++++++++++++++- includes/header.php | 12 +++++-- index.php | 73 +++++++++++++++++++++---------------------- 3 files changed, 78 insertions(+), 41 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 9ae9ff3..145a4d3 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -128,10 +128,20 @@ body { } /* Carousel Custom Styles */ +.carousel-inner { + height: 600px !important; + border-radius: 1.5rem; +} + .carousel-item { transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out; } +.carousel-bg { + padding-top: 50px; + padding-bottom: 50px; +} + .category-hover-card { cursor: pointer; } @@ -177,6 +187,28 @@ body { color: white; } +/* Scrolling Announcement */ +.announcement-container { + overflow: hidden; + white-space: nowrap; + position: relative; +} + +.announcement-content { + display: inline-block; + padding-left: 100%; + animation: marquee 20s linear infinite; +} + +@keyframes marquee { + 0% { transform: translate(0, 0); } + 100% { transform: translate(-100%, 0); } +} + +.announcement-container:hover .announcement-content { + animation-play-state: paused; +} + .alert.glass-card { background: white; color: var(--text-dark) !important; @@ -187,4 +219,4 @@ body { } .text-white-50 { color: var(--text-muted) !important; -} +} \ No newline at end of file diff --git a/includes/header.php b/includes/header.php index 273f12c..f03e4ff 100644 --- a/includes/header.php +++ b/includes/header.php @@ -98,8 +98,14 @@ $tg_link = $settings['tg_support'] ?? 'https://t.me/zhangshihao818';
- - - -