Template:CardPages/styles.css: Difference between revisions
Template page
More actions
Nickrocky213 (talk | contribs) No edit summary |
BelowTheEcho (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
position: relative; | position: relative; | ||
width: 100%; | width: 100%; | ||
min-height: 120px; | min-height: 120px; | ||
border-radius:20px; | border-radius:20px; | ||
overflow: hidden; | |||
margin: 20px 0; | margin: 20px 0; | ||
cursor: pointer; | cursor: pointer; | ||
| Line 29: | Line 29: | ||
height: 100%; | height: 100%; | ||
z-index: 1; | z-index: 1; | ||
} | |||
.element-table { | |||
width: 100%; | |||
text-align: center; | |||
} | |||
.element-cell { | |||
padding: 12px; | |||
vertical-align: top; | |||
} | |||
.element-item { | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
} | |||
.element-item img { | |||
margin-bottom: 6px; | |||
} | } | ||
Revision as of 21:27, 20 January 2026
.event-banner {
position: relative;
width: 100%;
min-height: 120px;
border-radius:20px;
overflow: hidden;
margin: 20px 0;
cursor: pointer;
}
.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: 2;
}
.banner-bg-wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.element-table {
width: 100%;
text-align: center;
}
.element-cell {
padding: 12px;
vertical-align: top;
}
.element-item {
display: flex;
flex-direction: column;
align-items: center;
}
.element-item img {
margin-bottom: 6px;
}