kelompok06-2048/Homepage_Responsive.css
Evelyn Sucitro 7499811a24 Update
2025-12-16 00:22:06 +07:00

109 lines
2.3 KiB
CSS

@media (max-width: 480px) {
header {
padding: 15px 20px;
flex-direction: row;
justify-content: space-between;
align-items: center;
gap: 0; /* Gap tidak wajib jika sudah space-between */
}
.logo {
/* Sesuaikan ukuran font agar muat dalam satu baris */
font-size: 24px;
letter-spacing: 2px;
margin: 0;
}
/* Masukkan ini di dalam @media (max-width: 480px) */
.btn-login,
.btn-logout {
padding: 6px 14px !important; /* Ukuran tombol jauh lebih kecil */
font-size: 11px !important; /* Ukuran teks lebih kecil */
letter-spacing: 1px; /* Jarak antar huruf dirapatkan */
border-radius: 8px; /* Lengkungan sudut disesuaikan */
min-width: auto; /* Mencegah tombol jadi terlalu lebar */
height: auto; /* Tinggi mengikuti isi teks */
line-height: normal;
}
/* Hero Section - CENTERED & BALANCED */
.hero {
padding: 50px 15px;
display: flex;
flex-direction: column;
justify-content: center;
min-height: calc(100vh - 120px);
}
.hero-title {
font-size: 60px;
letter-spacing: 5px;
margin-bottom: 20px;
}
.hero-subtitle {
font-size: 14px;
letter-spacing: 2px;
margin-bottom: 35px;
}
.btn-cta {
padding: 15px 32px;
font-size: 15px;
letter-spacing: 2px;
}
.cta-buttons {
gap: 15px;
}
/* Logout Modal Responsive */
.logout-modal,
.logout-success-modal {
padding: 40px 30px;
}
.logout-title,
.success-title {
font-size: 24px;
}
.logout-message,
.success-message {
font-size: 14px;
}
.logout-buttons {
flex-direction: column;
gap: 12px;
}
.btn-logout-cancel,
.btn-logout-confirm {
width: 100%;
}
/* --- GANTI BAGIAN SCROLLBAR DENGAN INI --- */
/* Tunjuk langsung HTML & Body biar browser gak bingung */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
width: 6px !important; /* Pakai !important biar maksa */
background: #0b0b15;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
background: #0b0b15;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
background-color: #bc13fe !important; /* Warna Magenta */
border-radius: 10px;
border: none;
box-shadow: 0 0 8px #bc13fe !important; /* Glow Neon */
}
}