mongodb-mastery-hub / style.css
LauraMDB's picture
before the section id="LP" add 4 filters with drop-downs:
64029b7 verified
/* Custom styles */
.filter-select {
border: 1px solid #d1d5db;
padding: 0.5rem 0.75rem;
font-size: 0.875rem;
line-height: 1.25rem;
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.filter-select:focus {
outline: none;
border-color: #13aa52;
box-shadow: 0 0 0 3px rgba(19, 170, 82, 0.1);
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
/* Course paths styling */
.course-path-card {
transition: all 0.3s ease;
}
.course-path-card:hover {
transform: translateY(-2px);
}
/* Upcoming dates styling */
#upcoming-dates-list {
max-height: 500px;
overflow-y: auto;
}
#upcoming-dates-list::-webkit-scrollbar {
width: 6px;
}
#upcoming-dates-list::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
#upcoming-dates-list::-webkit-scrollbar-thumb {
background: #cbd5e0;
border-radius: 10px;
}
#upcoming-dates-list::-webkit-scrollbar-thumb:hover {
background: #a0aec0;
}
/* Animation for course cards */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.month-section {
animation: fadeIn 0.5s ease-out forwards;
}