More actions
Admornstein (talk | contribs) No edit summary |
Admornstein (talk | contribs) No edit summary |
||
| Line 14: | Line 14: | ||
padding: 0; | padding: 0; | ||
} | } | ||
.home-header { | .home-header { | ||
| Line 38: | Line 29: | ||
color: #aaaaaa; | color: #aaaaaa; | ||
margin-top: 8px; | margin-top: 8px; | ||
} | } | ||
| Line 62: | Line 37: | ||
padding: 16px; | padding: 16px; | ||
display: flex; | display: flex; | ||
flex-direction: column; | |||
align-items: center; | align-items: center; | ||
max-width: 1100px; | max-width: 1100px; | ||
} | } | ||
.event-banner .text { | .event-banner .text { | ||
margin-bottom: 10px; | |||
text-align: center; | |||
} | } | ||
. | .main-layout { | ||
display: flex; | |||
flex-wrap: wrap; | |||
justify-content: center; | |||
gap: 2rem; | |||
padding: 20px; | |||
} | } | ||
.tiles { | .sidebar-tiles { | ||
display: flex; | |||
flex-direction: column; | |||
gap: 1rem; | |||
width: 220px; | |||
} | } | ||
.tile-image-overlay { | .tile-image-overlay { | ||
display: flex; | |||
flex-direction: column; | |||
background-color: #1c1e2b; | |||
border: 1px solid #2b2f38; | |||
border-radius: 8px; | |||
overflow: hidden; | |||
} | } | ||
.tile-image-overlay .overlay-text { | .tile-image-overlay .overlay-text { | ||
padding: 6px 8px; | |||
font-size: 16px; | |||
font-family: 'AngerStyles', sans-serif; | |||
color: white; | color: white; | ||
text-shadow: 1px 1px 3px black; | text-shadow: 1px 1px 3px black; | ||
} | } | ||
.tile-image-overlay | .tile-image-overlay img, | ||
.tile-image-overlay .mw-file-element { | |||
width: 100%; | |||
height: auto; | |||
display: block; | |||
} | } | ||
. | .tiles { | ||
flex: 1 1 700px; | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); | |||
gap: 2rem; | |||
display: | |||
} | } | ||
| Line 150: | Line 107: | ||
text-align: center; | text-align: center; | ||
color: white; | color: white; | ||
padding: | padding: 10px; | ||
box-shadow: 0 0 10px #00000088; | box-shadow: 0 0 10px #00000088; | ||
overflow: hidden; | overflow: hidden; | ||
| Line 161: | Line 118: | ||
background: rgba(0, 0, 0, 0.4); | background: rgba(0, 0, 0, 0.4); | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
.featured-box.with-bg .overlay-title { | .featured-box.with-bg .overlay-title { | ||
font-family: 'AngerStyles', serif; | font-family: 'AngerStyles', serif; | ||
font-size: | font-size: 24px; | ||
border-bottom: 2px solid white; | border-bottom: 2px solid white; | ||
padding-bottom: 2px; | padding-bottom: 2px; | ||
z-index: 2; | |||
position: relative; | |||
transition: color 0.2s ease, border-color 0.2s ease; | transition: color 0.2s ease, border-color 0.2s ease; | ||
} | } | ||
| Line 188: | Line 135: | ||
color: #e0e0e0; | color: #e0e0e0; | ||
text-shadow: 1px 1px 3px black; | text-shadow: 1px 1px 3px black; | ||
z-index: 2; | |||
position: relative; | |||
opacity: 0; | opacity: 0; | ||
transition: opacity 0.3s ease; | transition: opacity 0.3s ease; | ||
} | |||
.featured-box.with-bg:hover .overlay-title { | |||
color: #c9a500; | |||
border-color: #c9a500; | |||
} | } | ||
| Line 229: | Line 183: | ||
padding: 20px; | padding: 20px; | ||
min-width: 220px; | min-width: 220px; | ||
} | } | ||
| Line 242: | Line 195: | ||
} | } | ||
/* 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-classes { | .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-weapons{ | .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'); } | |||
} | |||
.bg-signets{ | |||
} | |||
.bg-quests{ | |||
} | |||
.bg-maidens { | |||
} | |||
.bg-dungeons { | |||
} | |||
.bg-rhapsody { | |||
} | |||
.bg-railways { | |||
} | |||
.bg-abyss { | |||
} | |||
Revision as of 12:03, 26 June 2025
@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;
display: flex;
flex-direction: column;
align-items: center;
max-width: 1100px;
}
.event-banner .text {
margin-bottom: 10px;
text-align: center;
}
.main-layout {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
padding: 20px;
}
.sidebar-tiles {
display: flex;
flex-direction: column;
gap: 1rem;
width: 220px;
}
.tile-image-overlay {
display: flex;
flex-direction: column;
background-color: #1c1e2b;
border: 1px solid #2b2f38;
border-radius: 8px;
overflow: hidden;
}
.tile-image-overlay .overlay-text {
padding: 6px 8px;
font-size: 16px;
font-family: 'AngerStyles', sans-serif;
color: white;
text-shadow: 1px 1px 3px black;
}
.tile-image-overlay img,
.tile-image-overlay .mw-file-element {
width: 100%;
height: auto;
display: block;
}
.tiles {
flex: 1 1 700px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 2rem;
}
.featured-box.with-bg {
position: relative;
width: 100%;
aspect-ratio: 2 / 3;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
border-radius: 12px;
text-align: center;
color: white;
padding: 10px;
box-shadow: 0 0 10px #00000088;
overflow: hidden;
}
.featured-box.with-bg::before {
content: "";
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(0, 0, 0, 0.4);
z-index: 1;
}
.featured-box.with-bg .overlay-title {
font-family: 'AngerStyles', serif;
font-size: 24px;
border-bottom: 2px solid white;
padding-bottom: 2px;
z-index: 2;
position: relative;
transition: color 0.2s ease, border-color 0.2s ease;
}
.featured-box.with-bg .overlay-desc {
font-size: 14px;
margin-top: 9px;
color: #e0e0e0;
text-shadow: 1px 1px 3px black;
z-index: 2;
position: relative;
opacity: 0;
transition: opacity 0.3s ease;
}
.featured-box.with-bg:hover .overlay-title {
color: #c9a500;
border-color: #c9a500;
}
.featured-box.with-bg:hover .overlay-desc {
opacity: 1;
}
.divider-ornamental {
text-align: center;
margin: 10px auto;
color: #c9a500;
}
.divider-line-only {
height: 2px;
width: 80%;
margin: 50px auto;
background: linear-gradient(to right, #c9a500, #886b00, #c9a500);
border-radius: 3px;
}
.divider-ornamental .symbol {
font-size: 28px;
text-shadow: 1px 1px 3px black;
margin: 5px 0;
}
.wiki-section {
display: flex;
flex-wrap: wrap;
gap: 20px;
align-items: flex-start;
justify-content: center;
}
.wiki-links {
background-color: #1c2128;
border-radius: 8px;
padding: 20px;
min-width: 220px;
}
.wiki-links ul {
list-style: none;
padding: 0;
}
.wiki-links li {
padding: 4px 0;
color: #aaa;
}
/* 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'); }