File size: 4,011 Bytes
48182f5 a8586a4 48182f5 a8586a4 48182f5 a8586a4 48182f5 a8586a4 48182f5 a8586a4 48182f5 | 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 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | /* Additional custom styles for the Art Gallery */
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #0f0f0f;
}
::-webkit-scrollbar-thumb {
background: #2a2a2a;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #00c8b3;
}
/* Aspect ratio utilities */
.aspect-w-4 {
position: relative;
padding-bottom: 75%;
}
.aspect-h-3 {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
}
/* Line clamp utility */
.line-clamp-1 {
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Glass morphism effects */
.glass {
background: rgba(26, 26, 26, 0.8);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
/* Gradient text animation */
.gradient-text {
background-size: 200% auto;
animation: gradient 3s ease infinite;
}
@keyframes gradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* Image loading placeholder */
.img-loading {
background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
0% { background-position: -200% 0; }
100% { background-position: 200% 0; }
}
/* Hover lift effect */
.hover-lift {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 200, 179, 0.2);
}
/* Button ripple effect */
.ripple {
position: relative;
overflow: hidden;
}
.ripple::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
pointer-events: none;
background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
background-repeat: no-repeat;
background-position: 50%;
transform: scale(10, 10);
opacity: 0;
transition: transform .5s, opacity 1s;
}
.ripple:active::after {
transform: scale(0, 0);
opacity: 0.3;
transition: 0s;
}
/* Modal animation */
.modal-enter {
animation: modalIn 0.3s ease-out;
}
@keyframes modalIn {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
/* Toast slide animation */
.toast-enter {
animation: toastIn 0.3s ease-out forwards;
}
@keyframes toastIn {
from {
transform: translateY(100%);
opacity: 0;
}
to {
transform: translateY(0);
opacity: 1;
}
}
/* Filter button active state enhancement */
.filter-btn.active {
box-shadow: 0 0 20px rgba(0, 200, 179, 0.4);
}
/* Card shine effect on hover */
.card-shine {
position: relative;
overflow: hidden;
}
.card-shine::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.1),
transparent
);
transition: left 0.5s;
}
.card-shine:hover::before {
left: 100%;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.artwork-grid {
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 1rem;
}
}
@media (max-width: 480px) {
.artwork-grid {
grid-template-columns: 1fr;
}
}
/* Dark mode specific overrides */
.dark .text-gray-100 {
color: #f3f4f6;
}
.dark .bg-card {
background-color: #1a1a1a;
}
/* Light mode styles */
.light body {
background-color: #f3f4f6;
color: #111827;
}
.light .bg-dark {
background-color: #ffffff;
}
.light .bg-card {
background-color: #ffffff;
}
.light .border-gray-800 {
border-color: #e5e7eb;
}
.light .text-gray-400 {
color: #6b7280;
}
.light .text-gray-300 {
color: #374151;
} |