Template:CardPages/styles.css: Difference between revisions
Template page
More actions
BelowTheEcho (talk | contribs) No edit summary |
BelowTheEcho (talk | contribs) No edit summary |
||
| Line 25: | Line 25: | ||
.element-item img { | .element-item img { | ||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
object-fit: contain; | |||
} | } | ||
Revision as of 17:21, 23 January 2026
.main-banner {
position: relative;
width: 33%;
height: 1200px;
float: right;
margin: 20px 0;
/*border: 2px solid #910c0c;*/
}
.main-overlay {
position: absolute;
display: flex;
flex-wrap: wrap;
flex-direction: column;
border: 4px solid #0c2f91;
z-index: 1;
}
.element-item {
flex-basis: auto;
text-align: center;
align-items: center;
/*background: #F54927;*/
cursor: pointer;
}
.element-item img {
width: 100%;
height: auto;
object-fit: contain;
}