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';
- - - -