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