Template:CardPages/styles.css: Difference between revisions
Template page
More actions
BelowTheEcho (talk | contribs) No edit summary |
BelowTheEcho (talk | contribs) No edit summary |
||
| Line 71: | Line 71: | ||
.item1 { | .item1 { | ||
grid-column-start: 1; | grid-column-start: 1; | ||
grid-column-end: | grid-column-end: 3; | ||
} | } | ||
Revision as of 19:05, 23 January 2026
.main-banner {
position: relative;
width: 33%;
min-height: 600px;
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 {
text-align: center;
align-items: center;
/*border: 4px solid #F54927;*/
cursor: pointer;
}
.element-item img {
width: 100%;
height: auto;
display: block;
}
.text-item {
font-family: Barlow, sans-serif;
font-size: 24px;
text-align: center;
align-items: center;
/*border: 4px solid #F54927;*/
z-index: 2;
}
.text-header {
display: flex;
font-family: Barlow, sans-serif;
font-size: 24px;
color: #60BEC2;
text-align: center;
align-items: center;
gap: 8px;
}
.text-header::after {
flex: 1;
content: "";
height: 1px;
background: rgba(145, 145, 145, 0.25);
}
.grid-container {
display:grid;
grid-template-columns: auto auto auto;
gap:10px;
background-color: blue;
padding: 5px;
}
.grid-container div {
background-color: #f1f1f1;
text-align: center;
padding: 10px;
font-size: 30px;
}
.item1 {
grid-column-start: 1;
grid-column-end: 3;
}