@font-face {
font-family: 'AngerStyles';
src: url('https://cathedralofblades.com/wiki/resources/AngerStyles.woff2') format('woff2'),
url('https://cathedralofblades.com/wiki/resources/AngerStyles.woff') format('woff');
font-weight: normal;
font-style: normal;
}
body {
background-color: #0e1117;
font-family: 'AngerStyles', sans-serif;
color: white;
margin: 0;
padding: 0;
}
.home-header {
text-align: center;
padding: 60px 20px 30px;
}
.home-header h1 {
font-size: 48px;
color: #cceeff;
margin: 0;
}
.home-header p {
color: #aaaaaa;
margin-top: 8px;
}
.event-banner {
margin: 20px auto;
background: linear-gradient(to right, #1c1e2b, #3a1f4f);
border-radius: 10px;
padding: 16px;
max-width: 1100px;
text-align: center;
}
.tiles {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 2rem;
padding: 0 20px;
box-sizing: border-box;
width: 100%;
}
.big-box {
grid-column: span 2;
width: 100%;
aspect-ratio: 1 / 3;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
position: relative;
border-radius: 12px;
color: white;
text-align: center;
display: flex;
flex-direction: column;
justify-content: flex-end;
box-shadow: 0 0 10px #00000088;
overflow: hidden;
padding: 10px;
}
.small-box {
grid-column: span 1;
width: 100%;
aspect-ratio: 4 / 1;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
position: relative;
border-radius: 12px;
color: white;
text-align: center;
display: flex;
flex-direction: column;
justify-content: flex-end;
box-shadow: 0 0 10px #00000088;
overflow: hidden;
padding: 10px;
}
/* shared overlay */
.big-box::before,
.small-box::before {
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.4);
z-index: 1;
}
.overlay-title,
.overlay-desc {
position: relative;
z-index: 2;
}
.overlay-title {
font-family: 'AngerStyles', serif;
font-size: 20px;
border-bottom: 2px solid white;
padding-bottom: 2px;
transition: color 0.2s ease, border-color 0.2s ease;
}
.overlay-desc {
font-size: 14px;
margin-top: 6px;
color: #e0e0e0;
text-shadow: 1px 1px 3px black;
opacity: 0;
transition: opacity 0.3s ease;
}
.big-box:hover .overlay-title,
.small-box:hover .overlay-title {
color: #c9a500;
border-color: #c9a500;
}
.big-box:hover .overlay-desc,
.small-box:hover .overlay-desc {
opacity: 1;
}
/* backgrounds */
.bg-classes { background-image: url('https://cathedralofblades.com/wiki/images/7/7e/Classes.jpg'); }
.bg-weapons { background-image: url('https://cathedralofblades.com/wiki/images/9/9c/Weapons.jpg'); }
.bg-signets { background-image: url('https://cathedralofblades.com/wiki/images/6/61/Signets.jpg'); }
.bg-quests { background-image: url('https://cathedralofblades.com/wiki/images/9/98/Damarossa.jpg'); }
.bg-maidens { background-image: url('https://cathedralofblades.com/wiki/images/6/61/Sorrow.jpg'); }
.bg-dungeons { background-image: url('https://cathedralofblades.com/wiki/images/d/db/Obscuradungeon.jpg'); }
.bg-rhapsody { background-image: url('https://cathedralofblades.com/wiki/images/4/4a/Rhapsody.jpg'); }
.bg-railways { background-image: url('https://cathedralofblades.com/wiki/images/1/12/Railways.jpg'); }
.bg-abyss { background-image: url('https://cathedralofblades.com/wiki/images/c/c0/Abyss.jpg'); }
/* responsive */
@media (max-width: 1024px) {
.tiles {
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
.big-box { grid-column: span 2; aspect-ratio: 2 / 3; height: auto; }
.small-box { grid-column: span 2; aspect-ratio: 4 / 1; height: auto; }
}