Template:MainPage/Patch/styles.css: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
overflow: hidden; | overflow: hidden; | ||
margin: 20px 0; | margin: 20px 0; | ||
cursor: pointer; | |||
} | } | ||
| Line 15: | Line 16: | ||
height: 100%; | height: 100%; | ||
z-index: 10; | z-index: 10; | ||
cursor: pointer; | |||
text-decoration: none; | |||
} | } | ||
| Line 26: | Line 29: | ||
} | } | ||
.banner-bg-wrapper img { | .banner-bg-wrapper img, | ||
.banner-bg-wrapper figure, | |||
.banner-bg-wrapper .thumbinner { | |||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
Revision as of 21:50, 9 January 2026
.event-banner {
position: relative;
width: 100%;
min-height: 120px;
border-radius: 8px;
overflow: hidden;
margin: 20px 0;
cursor: pointer;
}
.banner-link {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
cursor: pointer;
text-decoration: none;
}
.banner-bg-wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.banner-bg-wrapper img,
.banner-bg-wrapper figure,
.banner-bg-wrapper .thumbinner {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.banner-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 30px;
z-index: 2;
}
.banner-text-left {
display: flex;
flex-direction: column;
gap: 5px;
}
.banner-title {
font-family: Barlow, sans-serif;
font-size: 28px;
font-weight: 700;
color: white;
}
.banner-subtitle {
font-family: Barlow, sans-serif;
font-size: 14px;
color: rgba(255, 255, 255, 0.9);
}
.banner-text-right {
display: flex;
gap: 10px;
align-items: center;
}
.live-badge {
font-family: Barlow, sans-serif;
font-size: 13px;
font-weight: 600;
color: white;
padding: 6px 12px;
border-radius: 6px;
background: rgba(46, 204, 113, 0.9);
}
.version-badge {
font-family: Barlow, sans-serif;
font-size: 14px;
font-weight: 600;
color: white;
padding: 6px 12px;
border-radius: 6px;
background: rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.3);
}