ravenscott-blog/public/css/styles.css
Raven Scott 817b64f4db update
2024-10-27 01:33:28 -04:00

246 lines
4.5 KiB
CSS

/* Base Styles */
body {
font-family: 'Roboto', sans-serif;
display: flex;
flex-direction: column;
min-height: 100vh;
color: #333;
margin: 0;
background-color: #f8f9fa;
}
main {
flex-grow: 1;
padding: 20px;
}
a {
color: #000;
text-decoration: none;
transition: color 0.2s ease;
}
a:hover {
color: #42484a;
}
/* Improve padding and spacing for list headers and items */
li {
margin-bottom: 1.5rem; /* Space between list items */
line-height: 1.6; /* Improve readability for longer text */
}
li strong {
display: block;
margin-top: 1rem; /* Add space above headers in lists */
margin-bottom: 0.5rem; /* Add space below headers */
}
/* Adjust paragraph line height */
p {
line-height: 1.8; /* Improve readability */
}
/* Primary Background */
.bg-primary {
--bs-bg-opacity: 1;
background-color: rgb(0, 0, 0) !important;
}
.bg-dark {
--bs-bg-opacity: 1;
background-color: rgb(0 0 0) !important;
}
/* Navbar Styles */
.navbar {
background-color: #000000;
padding: 10px 20px;
}
.navbar-brand {
font-size: 1.75rem;
font-weight: bold;
color: #ffffff;
transition: color 0.2s ease;
}
.navbar-brand:hover {
color: #42484a;
}
.navbar-nav .nav-link {
font-size: 1.15rem;
padding-right: 1rem;
color: #ffffff;
transition: color 0.2s ease;
}
.navbar-nav .nav-link:hover {
color: #42484a;
}
/* Header */
header {
background: #000;
color: #fff;
padding: 10px 0;
text-align: center;
}
h1 {
font-size: 3rem;
font-weight: bold;
}
p.lead {
font-size: 1.5rem;
margin-bottom: 1.5rem;
}
/* Button Styles */
.btn-outline-primary {
font-size: 1.25rem;
padding: 10px 20px;
color: #ffffff;
border: 2px solid #000000;
background-color: #000000;
transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-outline-primary:hover {
background-color: #42484a;
border-color: #42484a;
color: #ffffff;
}
/* Pagination Styles */
.pagination {
margin-top: 20px;
display: flex;
justify-content: center;
}
.pagination .page-item .page-link {
color: #ffffff;
background-color: #1e1e1e;
border: 1px solid #42484a;
padding: 10px 15px;
transition: background-color 0.3s ease, color 0.3s ease;
}
.pagination .page-item.active .page-link {
background-color: #42484a;
border-color: #42484a;
color: #ffffff;
}
.pagination .page-item .page-link:hover {
background-color: #42484a;
border-color: #42484a;
color: #ffffff;
}
/* Footer Styles */
footer {
background-color: #000000;
color: #fff;
padding: 20px 0;
text-align: center;
margin-top: auto;
}
.footer-logo {
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 10px;
}
.footer-links a {
color: #999;
text-decoration: none;
margin-right: 1rem;
transition: color 0.2s ease;
}
.footer-links a:hover {
color: #fff;
}
/* Dropdown Styles */
.custom-dropdown {
background-color: #1e1e1e;
border: none;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}
.custom-dropdown .dropdown-item {
color: #ffffff;
font-size: 1.1rem;
padding: 10px 20px;
background-color: #1e1e1e;
transition: background-color 0.3s ease, color 0.3s ease;
}
.custom-dropdown .dropdown-item:hover,
.custom-dropdown .dropdown-item:active {
background-color: #000000;
color: #ffffff;
}
/* Mobile Navbar Toggler */
.navbar-toggler {
border-color: #ffffff;
}
.navbar-toggler-icon {
background-color: #ffffff;
width: 30px;
height: 3px;
}
.py-4 {
padding-top: 1.2rem !important;
padding-bottom: 1.5rem !important;
}
/* Search Button Styles */
.input-group .btn-primary {
font-size: 1.25rem;
padding: 10px 20px;
color: #ffffff;
border: 2px solid #000000;
background-color: #000000;
transition: background-color 0.3s ease, color 0.3s ease;
}
p {
margin-top: 5px;
margin-bottom: 5.2px;
}
.input-group .btn-primary:hover {
background-color: #42484a;
border-color: #42484a;
color: #ffffff;
}
/* Custom Scrollbar for WebKit (Chrome, Safari) */
::-webkit-scrollbar {
width: 8px; /* Width of the entire scrollbar */
}
::-webkit-scrollbar-thumb {
background-color: #42484a; /* Color of the scrollbar handle */
border-radius: 10px; /* Roundness of the handle */
}
::-webkit-scrollbar-thumb:hover {
background-color: #333; /* Handle color on hover */
}
::-webkit-scrollbar-track {
background-color: #121212; /* Color of the scrollbar background/track */
}