Homepage Update Responsive

This commit is contained in:
Jevinca Marvella 2025-12-08 10:10:14 +07:00
parent 1394ce7270
commit a502ad1ed3
3 changed files with 295 additions and 249 deletions

View File

@ -361,7 +361,6 @@ header {
box-shadow: 0 12px 50px rgba(255, 215, 0, 0.9), 0 0 40px rgba(255, 170, 0, 0.7);
}
/* Floating Decoration Elements */
.hero::before {
content: '';
@ -412,8 +411,6 @@ header {
/* ===========================
LOGOUT BUTTON STYLES
=========================== */
/* Logout Button */
.btn-logout {
background: linear-gradient(135deg, #ff0066, #cc0033) !important;
color: #fff !important;
@ -693,33 +690,3 @@ header {
line-height: 1.6;
font-family: 'Exo 2', sans-serif;
}
/* ===========================
RESPONSIVE FOR LOGOUT MODALS
=========================== */
@media (max-width: 480px) {
.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%;
}
}

View File

@ -6,6 +6,7 @@
<title>Homepage</title>
<link rel="stylesheet" href="Homepage.css">
<link rel="stylesheet" href="Homepage_Credit.css">
<link rel="stylesheet" href="Homepage_Responsive.css">
</head>
<body>
<!-- Neon Particles Background -->

78
Homepage_Responsive.css Normal file
View File

@ -0,0 +1,78 @@
/* RESPONSIVE */
@media (max-width: 480px) {
/* Header */
header {
padding: 18px 20px;
flex-direction: column;
gap: 12px;
}
.logo {
font-size: 24px;
letter-spacing: 2px;
}
.btn-login {
padding: 12px 28px;
font-size: 14px;
letter-spacing: 2px;
}
/* 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%;
}
}