Spaces:
Running
Running
File size: 2,638 Bytes
ead63a3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
/* Navigation Styles */
.nav-link-about {
position: relative;
}
.nav-link-about::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: linear-gradient(to right, #3b82f6, #4f46e5);
transition: width 0.3s ease;
}
.nav-link-about:hover::after {
width: 100%;
}
/* Add top margin to account for fixed navbar */
body {
padding-top: 1rem;
}
/* Event Card Styles */
.event-card {
transition: all 0.3s ease;
height: 100%;
display: flex;
flex-direction: column;
}
.event-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.event-expand-btn i {
transition: transform 0.3s ease;
}
.event-details {
transition: all 0.3s ease;
max-height: 0;
overflow: hidden;
opacity: 0;
}
.event-details:not(.hidden) {
max-height: 1000px;
opacity: 1;
transition: all 0.5s ease;
}
/* Calendar Modal Styles */
#calendarModal {
transition: opacity 0.3s ease;
}
#calendarModal.hidden {
opacity: 0;
pointer-events: none;
}
#calendarModal:not(.hidden) {
opacity: 1;
pointer-events: auto;
}
.calendar-option {
transition: all 0.2s ease;
}
.calendar-option:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
/* Add to Calendar Button Animation */
.add-to-calendar-btn {
position: relative;
overflow: hidden;
}
.add-to-calendar-btn::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: all 0.6s ease;
}
.add-to-calendar-btn:hover::after {
left: 100%;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.event-card {
margin-bottom: 1.5rem;
}
.calendar-option {
padding: 0.75rem;
}
}
/* Animation for event details */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
.event-details:not(.hidden) {
animation: fadeIn 0.4s ease forwards;
}
/* Hover effect for event cards */
.event-card .h-48 {
transition: all 0.3s ease;
}
.event-card:hover .h-48 {
transform: scale(1.03);
}
/* Footer styling */
footer a {
transition: all 0.2s ease;
}
footer a:hover {
transform: translateY(-2px);
}
footer input {
transition: all 0.3s ease;
}
footer input:focus {
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
} |