Template:CardPages/styles.css: Difference between revisions
Template page
More actions
BelowTheEcho (talk | contribs) No edit summary |
BelowTheEcho (talk | contribs) No edit summary |
||
| Line 12: | Line 12: | ||
flex-direction: column; | flex-direction: column; | ||
justify-content: space-between; | justify-content: space-between; | ||
align- | align-content: stretch; | ||
border: 1px solid #0c2f91; | border: 1px solid #0c2f91; | ||
padding: 10px; | padding: 10px; | ||
Revision as of 21:00, 22 January 2026
.main-banner {
position: relative;
width: 25%;
height: 1920px;
float: right;
margin: 20px 0;
border: 2px solid #910c0c;
}
.main-overlay {
position: absolute;
display: flex;
flex-direction: column;
justify-content: space-between;
align-content: stretch;
border: 1px solid #0c2f91;
padding: 10px;
z-index: 1;
max-height: 100%;
}
.element-item {
flex: 1;
flex-wrap: wrap;
text-align: center;
padding: 0 4px;
background: #F54927;
cursor: pointer;
margin: 5px;
max-height: calc(100% / 7);
}
.element-item img {
width: 100%;
height: auto;
}