Template:CardPages/styles.css
Template page
More actions
.event-banner {
position: relative;
width: 100%;
min-height: 1080px;
height: auto;
border-radius:8px;
margin: 20px 0;
cursor: pointer;
overflow: visible;
}
.banner-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 30px;
z-index: auto;
}
.banner-bg-wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: auto;
}
.element-table {
position: relative;
width: 100%;
text-align: center;
}
.element-container {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
width: 100%;
}
.element-cell {
padding: 12px;
vertical-align: top;
text-align: center;
}
.element-item {
flex: 0 0 calc(100% / 7 - 10px); /* each box ~1/7 width minus gap */
text-align: center;
margin: 0 5px;
}
.element-item .image {
display: block;
margin: 0 auto;
padding: 0;
}
.element-item .image img {
display: block;
margin: 0;
}
.element-item span {
display: block;
text-align: center;
font-size: 32px;
font-family: Barlow, sans-serif;
}
.fire-text { color: #FF0000; } /* Fire is orange/red */
.water-text { color: #3b82f6; } /* Water is blue */
.earth-text { color: #65a30d; } /* Earth is green */
.air-text { color: #94a3b8; } /* Air is gray */