refactor: Modularize Stylesheets

This commit is contained in:
2025-08-13 11:54:28 -05:00
parent 691968ceac
commit 16d93122ca
23 changed files with 725 additions and 1716 deletions

View File

@@ -0,0 +1,74 @@
/* Header and Footer Styles */
/* Reset some default browser styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Calibri, sans-serif;
text-align: center;
}
/*? ↓ Start Header ↓ */
.main-header {
background-color: #333; /* Dark background for the header */
color: #fff; /* White text color */
padding: 10px 20px; /* Add some padding for spacing */
}
.main-nav {
display: flex; /* Use flexbox to align items in a row */
justify-content: space-between; /* Space items evenly */
align-items: center; /* Vertically center items */
}
.nav-list {
list-style: none; /* Remove default list styling */
display: flex; /* Use flexbox to align list items in a row */
gap: 20px; /* Add some space between list items */
}
.nav-item a {
background-color: #2e97be;
color: #fff; /* White text color for links */
text-decoration: none; /* Remove underline from links */
font-weight: bold; /* Make text bold */
transition: color 0.3s; /* Smooth color transition on hover */
padding: 5px 10px; border-radius: 10px;
}
.nav-item a:hover {
color: #2e97be;
background-color: #fff /* Change link color on hover */
}
.nav-logo a {
font-size: 1.5em; /* Make the logo text larger */
}
.nav-logo {
margin-right: 20vw;
}
/*? ↓ Start Footer ↓ */
.footer-links {
display: flex; /* Use flexbox to align items in a row */
align-items: center;
justify-content: space-between; /* Center the footer links */
gap: 20px; /* Add some space between links */
margin-top: 20px; /* Add some space above the footer links */
width: 75vw;
margin-left: auto;
margin-right: auto;
}
.external-links {
display: flex;
justify-content: center; /* Center the external links */
gap: 50px; /* Add some space between links */
}