| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /bpkd_29052026/assets/css/ |
Upload File : |
/* ===== Announcement Marquee Styles - Muncul di Semua Halaman ===== */
.fixed-top-marquee {
position: fixed;
top: 80px; /* Tepat di bawah navbar */
left: 0;
right: 0;
z-index: 999;
width: 100%;
margin: 0; /* PASTIKAN TIDAK ADA MARGIN */
padding: 0; /* PASTIKAN TIDAK ADA PADDING */
border: none;
}
.marquee-wrapper {
background: linear-gradient(135deg, #1e2a3a 0%, #2c3e50 100%);
color: white;
padding: 8px 0; /* Padding internal, bukan jarak antar elemen */
margin: 0; /* TIDAK ADA MARGIN */
border-bottom: 2px solid #667eea;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* Spacer untuk mengakomodasi fixed elements - TANPA JARAK TAMBAHAN */
.navbar-spacer {
height: 80px; /* Tinggi navbar */
width: 100%;
margin: 0;
padding: 0;
display: block;
}
.navbar-marquee-spacer {
height: calc(80px + 56px); /* Tinggi navbar + marquee (56px) */
width: 100%;
margin: 0;
padding: 0;
display: block;
}
.announcement-marquee {
margin-top: 100px; /* Offset untuk fixed navbar */
position: relative;
z-index: 99;
}
.marquee-wrapper {
background: linear-gradient(135deg, #1e2a3a 0%, #2c3e50 100%);
color: white;
padding: 8px 0;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
border-bottom: 2px solid #667eea;
position: relative;
overflow: hidden;
}
.marquee-wrapper::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
animation: gradientMove 3s linear infinite;
background-size: 200% 100%;
}
@keyframes gradientMove {
0% { background-position: 0% 0; }
100% { background-position: 200% 0; }
}
.marquee-label {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 6px 15px;
border-radius: 30px;
font-weight: 700;
font-size: 0.9rem;
letter-spacing: 1px;
text-transform: uppercase;
display: inline-flex;
align-items: center;
box-shadow: 0 4px 10px rgba(102,126,234,0.3);
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 4px 10px rgba(102,126,234,0.3); }
50% { box-shadow: 0 4px 20px rgba(102,126,234,0.6); }
100% { box-shadow: 0 4px 10px rgba(102,126,234,0.3); }
}
.marquee-label i {
animation: bellRing 2s infinite;
}
@keyframes bellRing {
0%, 100% { transform: rotate(0); }
10% { transform: rotate(15deg); }
20% { transform: rotate(-15deg); }
30% { transform: rotate(10deg); }
40% { transform: rotate(-10deg); }
50% { transform: rotate(5deg); }
60% { transform: rotate(-5deg); }
}
.marquee-container {
overflow: hidden;
position: relative;
padding: 5px 0;
}
.marquee-content {
display: inline-block;
animation: marqueeScroll 40s linear infinite;
white-space: nowrap;
font-size: 0.95rem;
}
.marquee-content:hover {
animation-play-state: paused;
}
@keyframes marqueeScroll {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
.marquee-item {
display: inline-block;
margin-right: 30px;
padding: 3px 0;
}
.marquee-item .date {
background: rgba(255,255,255,0.15);
padding: 2px 8px;
border-radius: 30px;
font-size: 0.8rem;
margin-right: 8px;
display: inline-block;
}
.marquee-link {
color: white;
text-decoration: none;
transition: all 0.3s;
font-weight: 500;
position: relative;
}
.marquee-link:hover {
color: #ffd700;
text-decoration: underline;
}
.marquee-link i.fa-paperclip {
font-size: 0.8rem;
opacity: 0.8;
}
.separator {
color: #667eea;
font-weight: bold;
font-size: 1.2rem;
margin-left: 30px;
display: inline-block;
animation: pulse 2s infinite;
}
/* Priority colors */
.marquee-item .fa-exclamation-circle {
filter: drop-shadow(0 0 5px #ffc107);
}
.marquee-item .fa-info-circle {
filter: drop-shadow(0 0 5px #17a2b8);
}
/* Responsive */
@media (max-width: 991px) {
.marquee-label {
font-size: 0.8rem;
padding: 5px 12px;
}
}
@media (max-width: 768px) {
.announcement-marquee {
margin-top: 70px;
}
.marquee-wrapper {
padding: 5px 0;
}
.marquee-content {
animation-duration: 30s;
font-size: 0.85rem;
}
.marquee-item {
margin-right: 20px;
}
.separator {
margin-left: 20px;
}
.marquee-item .date {
font-size: 0.7rem;
padding: 1px 5px;
}
}
@media (max-width: 576px) {
.marquee-wrapper .container {
padding: 0 10px;
}
.marquee-content {
animation-duration: 25s;
}
.marquee-label {
padding: 4px 8px;
font-size: 0.7rem;
}
.marquee-label i {
font-size: 0.8rem;
}
}
/* Pastikan konten utama tidak ketimpa */
.main-content {
min-height: 500px;
}