126 lines
2.3 KiB
CSS
126 lines
2.3 KiB
CSS
.events-grid {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: center;
|
|
flex-wrap: nowrap;
|
|
padding: 10px 4px;
|
|
}
|
|
|
|
.event-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.event-card-img-wrap {
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 6px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.event-card-img-wrap img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
.event-card-label {
|
|
font-size: 14px;
|
|
color: #000000;
|
|
text-align: center;
|
|
line-height: 1.3;
|
|
word-break: break-word;
|
|
}
|
|
|
|
/* ================================
|
|
Detail-Popup (Overlay)
|
|
================================ */
|
|
|
|
#event-detail-overlay {
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.55);
|
|
z-index: 9999;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
#event-detail-overlay.active {
|
|
display: flex;
|
|
}
|
|
|
|
#event-detail-popup {
|
|
background: #1e1a14;
|
|
border: 1px solid rgba(255, 200, 80, 0.3);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
min-width: 280px;
|
|
max-width: 420px;
|
|
width: 90%;
|
|
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
|
|
position: relative;
|
|
animation: eventDetailIn 0.18s ease;
|
|
transform: scale(0.5);
|
|
transform-origin: center center;
|
|
}
|
|
|
|
@keyframes eventDetailIn {
|
|
from { opacity: 0; transform: scale(0.92) translateY(8px); }
|
|
to { opacity: 1; transform: scale(1) translateY(0); }
|
|
}
|
|
|
|
#event-detail-popup .edp-close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 12px;
|
|
background: none;
|
|
border: none;
|
|
color: #888;
|
|
font-size: 18px;
|
|
cursor: pointer;
|
|
line-height: 1;
|
|
transition: color 0.1s;
|
|
}
|
|
|
|
#event-detail-popup .edp-close:hover {
|
|
color: #fff;
|
|
}
|
|
|
|
#event-detail-popup .edp-img {
|
|
display: block;
|
|
margin: 0 auto 14px;
|
|
width: 80px;
|
|
height: 80px;
|
|
object-fit: contain;
|
|
image-rendering: pixelated;
|
|
}
|
|
|
|
#event-detail-popup .edp-title {
|
|
text-align: center;
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
color: #f5c842;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#event-detail-popup .edp-body {
|
|
font-size: 13px;
|
|
color: #cccccc;
|
|
line-height: 1.7;
|
|
text-align: center;
|
|
}
|