Template:CardPages/styles.css: Difference between revisions
Template page
More actions
BelowTheEcho (talk | contribs) No edit summary |
BelowTheEcho (talk | contribs) No edit summary |
||
| Line 5: | Line 5: | ||
margin: 20px 0; | margin: 20px 0; | ||
border: 2px solid #910c0c; | border: 2px solid #910c0c; | ||
overflow: hidden; | |||
} | } | ||
.main-overlay { | .main-overlay { | ||
Revision as of 18:12, 22 January 2026
.main-banner {
position: relative;
width: 100%;
min-height: 240px;
margin: 20px 0;
border: 2px solid #910c0c;
overflow: hidden;
}
.main-overlay {
position: absolute;
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid #0c2f91;
padding: 10px;
z-index: 1;
}
.element-item {
text-align: center;
padding: 10px;
margin: 10px;
background: #F54927;
border-radius: 2px;
cursor: pointer;
}
.element-item img {
width: 100%;
height:100%;
object-fit: cover;
}