More actions
Admornstein (talk | contribs) No edit summary |
Admornstein (talk | contribs) No edit summary |
||
| Line 9: | Line 9: | ||
/* Base */ | /* Base */ | ||
body, html { | body, html { | ||
margin: 0 | margin: 0; | ||
padding: 0 | padding: 0; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
overflow-x: hidden; | overflow-x: hidden; | ||
width: 100%; | |||
} | } | ||
| Line 29: | Line 29: | ||
inset: 0; | inset: 0; | ||
z-index: 5; | z-index: 5; | ||
} | } | ||
| Line 40: | Line 39: | ||
#p-navigation, | #p-navigation, | ||
#p-tb, | #p-tb, | ||
.p-views | .p-views { | ||
display: none !important; | display: none !important; | ||
} | } | ||
| Line 49: | Line 45: | ||
/* Expand content container */ | /* Expand content container */ | ||
#content, .mw-body, .mw-body-content, #mw-content-text, .mw-main-content { | #content, .mw-body, .mw-body-content, #mw-content-text, .mw-main-content { | ||
margin: 0 | margin: 0; | ||
padding: 0 | padding: 0; | ||
width: 100%; | |||
width: | max-width: none; | ||
} | } | ||
| Line 62: | Line 58: | ||
align-items: flex-start; | align-items: flex-start; | ||
gap: 2rem; | gap: 2rem; | ||
} | } | ||
| Line 124: | Line 119: | ||
.big-box .overlay-title, | .big-box .overlay-title, | ||
.small-box .overlay-title, | |||
.big-box .overlay-desc, | .big-box .overlay-desc, | ||
.small-box .overlay-desc { | .small-box .overlay-desc { | ||
position: relative; | position: relative; | ||
z-index: 2; | z-index: 2; | ||
} | } | ||
| Line 134: | Line 128: | ||
.big-box .overlay-title { | .big-box .overlay-title { | ||
font-size: 20px; | font-size: 20px; | ||
font-family: 'AngerStyles' | font-family: 'AngerStyles'; | ||
border-bottom: 2px solid white; | border-bottom: 2px solid white; | ||
padding-bottom: 2px; | padding-bottom: 2px; | ||
| Line 166: | Line 160: | ||
.small-box .overlay-title { | .small-box .overlay-title { | ||
font-size: 18px; | font-size: 18px; | ||
font-family: 'AngerStyles' | font-family: 'AngerStyles'; | ||
border-bottom: 1px solid white; | border-bottom: 1px solid white; | ||
padding-bottom: 2px; | padding-bottom: 2px; | ||
transition: color 0.2s ease, border-color 0.2s ease; | transition: color 0.2s ease, border-color 0.2s ease; | ||
} | } | ||
.small-box .overlay-desc { | .small-box .overlay-desc { | ||
| Line 220: | Line 213: | ||
/* Divider */ | /* Divider */ | ||
.divider-ornamental { | .divider-ornamental { | ||
margin: 1px; | |||
margin: | |||
} | } | ||
| Line 232: | Line 224: | ||
height: 2px; | height: 2px; | ||
width: 100%; | width: 100%; | ||
background: linear-gradient(to right, #c9a500, #886b00, #c9a500); | background: linear-gradient(to right, #c9a500, #886b00, #c9a500); | ||
border-radius: 1px; | border-radius: 1px; | ||
} | } | ||
/* | /* Theme-aware adjustments */ | ||
body.skin-citizen[data-theme='light'] .divider-ornamental | body.skin-citizen[data-theme='light'] .divider-ornamental, | ||
body.skin-citizen[data-theme='dark'] .divider-ornamental, | |||
body.skin-citizen:not([data-theme]) .divider-ornamental { | |||
color: inherit; | |||
background: none; | |||
body.skin-citizen[data-theme='dark'] .divider-ornamental | |||
body.skin-citizen:not([data-theme]) .divider-ornamental | |||
color: | |||
background: none | |||
} | } | ||
| Line 283: | Line 250: | ||
} | } | ||
.small-box | .small-box, | ||
.big-box { | .big-box { | ||
width: 90%; | width: 90%; | ||
Revision as of 13:57, 7 July 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;
}
/* Base */
body, html {
margin: 0;
padding: 0;
box-sizing: border-box;
overflow-x: hidden;
width: 100%;
}
/* Clickable container using data-href */
.big-box[data-href],
.small-box[data-href] {
position: relative;
cursor: pointer;
}
.big-box[data-href]::after,
.small-box[data-href]::after {
content: "";
position: absolute;
inset: 0;
z-index: 5;
}
/* Remove MediaWiki navigation and sidebars */
#mw-page-base,
#mw-head-base,
#mw-navigation,
#mw-panel,
#mw-sidebar,
#p-navigation,
#p-tb,
.p-views {
display: none !important;
}
/* Expand content container */
#content, .mw-body, .mw-body-content, #mw-content-text, .mw-main-content {
margin: 0;
padding: 0;
width: 100%;
max-width: none;
}
/* Layout container */
.tiles-row {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: flex-start;
gap: 2rem;
}
/* BIG BOXES */
.big-box {
width: 250px;
height: 370px;
position: relative;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
border-radius: 12px;
color: #c9a500;
box-shadow: 0 0 10px #00000088;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
padding: 10px;
text-align: center;
overflow: hidden;
flex-shrink: 0;
}
/* SMALL BOXES */
.small-box {
width: 250px;
height: 80px;
position: relative;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
border-radius: 4px;
color: #c9a500;
box-shadow: 0 0 10px #00000088;
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: flex-start;
padding: 10px;
text-align: left;
overflow: hidden;
flex-shrink: 0;
}
/* Hover overlay */
.big-box::before,
.small-box::before {
content: "";
position: absolute;
inset: 0;
background: transparent;
z-index: 1;
transition: background 0.3s ease;
}
.big-box:hover::before,
.small-box:hover::before {
background: rgba(0, 0, 0, 0.4);
}
.big-box .overlay-title,
.small-box .overlay-title,
.big-box .overlay-desc,
.small-box .overlay-desc {
position: relative;
z-index: 2;
}
.big-box .overlay-title {
font-size: 20px;
font-family: 'AngerStyles';
border-bottom: 2px solid white;
padding-bottom: 2px;
transition: color 0.2s ease, border-color 0.2s ease;
}
.big-box:hover .overlay-title {
color: #c9a500;
border-color: #c9a500;
}
.big-box .overlay-desc {
font-size: 14px;
margin-top: 9px;
color: #e0e0e0;
text-shadow: 1px 1px 3px black;
opacity: 0;
transition: opacity 0.3s ease;
}
.big-box:hover .overlay-desc {
opacity: 1;
}
.small-column {
display: flex;
flex-direction: column;
gap: 1rem;
}
.small-box .overlay-title {
font-size: 18px;
font-family: 'AngerStyles';
border-bottom: 1px solid white;
padding-bottom: 2px;
transition: color 0.2s ease, border-color 0.2s ease;
}
.small-box .overlay-desc {
font-size: 13px;
margin-top: 6px;
color: #ddd;
text-shadow: 1px 1px 3px black;
opacity: 0;
transition: opacity 0.3s ease;
}
.small-box:hover .overlay-desc {
opacity: 1;
}
/* Background classes */
.bg-button { background-image: url('https://cathedralofblades.com/wiki/images/e/e0/Menubutton.png'); }
.bg-bhealing { background-image: url('https://cathedralofblades.com/wiki/images/4/49/Healing.jpg'); }
.bg-bstatus { background-image: url('https://cathedralofblades.com/wiki/images/7/72/Status.jpg'); }
.bg-bcostume { background-image: url('https://cathedralofblades.com/wiki/images/5/53/Costume.jpg'); }
.bg-banomaly { background-image: url('https://cathedralofblades.com/wiki/images/7/72/Event.jpg'); }
.bg-benchant { background-image: url('https://cathedralofblades.com/wiki/images/7/73/Enchant.jpg'); }
.bg-bcards { background-image: url('https://cathedralofblades.com/wiki/images/7/70/Cards.jpg'); }
.bg-classes { background-image: url('https://cathedralofblades.com/wiki/images/7/7e/Classes.jpg'); }
.bg-bossrelic { background-image: url('https://cathedralofblades.com/wiki/images/5/58/Bossrelic.jpg'); }
.bg-combat { background-image: url('https://cathedralofblades.com/wiki/images/d/d7/Combat.jpg'); }
.bg-elements { background-image: url('https://cathedralofblades.com/wiki/images/7/7d/Elements.jpg'); }
.bg-stigmata { background-image: url('https://cathedralofblades.com/wiki/images/b/b3/Stigmata.jpg'); }
.bg-tools { background-image: url('https://cathedralofblades.com/wiki/images/c/c8/Tool.jpg'); }
.bg-world { background-image: url('https://cathedralofblades.com/wiki/images/5/5c/Worldmap.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'); }
.bg-bobscura { background-image: url('https://cathedralofblades.com/wiki/images/a/a1/Obsdungeon.jpg'); }
.bg-bpatch { background-image: url('https://cathedralofblades.com/wiki/images/f/f5/Patch.jpg'); }
.bg-bprogress { background-image: url('https://cathedralofblades.com/wiki/images/f/f4/Progression.jpg'); }
.bg-bpvpinfo { background-image: url('https://cathedralofblades.com/wiki/images/5/52/Pvpinfo.jpg'); }
.bg-bunique { background-image: url('https://cathedralofblades.com/wiki/images/4/4c/Unique.jpg'); }
.bg-bveteran { background-image: url('https://cathedralofblades.com/wiki/images/6/62/Veteran.jpg'); }
.bg-bexplore { background-image: url('https://cathedralofblades.com/wiki/images/8/8f/Exploration.jpg'); }
.bg-bchallenges{ background-image: url('https://cathedralofblades.com/wiki/images/1/19/Challenges.jpg'); }
/* Divider */
.divider-ornamental {
margin: 1px;
}
.divider-ornamental .symbol {
font-size: 28px;
text-shadow: 1px 1px 3px black;
}
.divider-line-only {
height: 2px;
width: 100%;
background: linear-gradient(to right, #c9a500, #886b00, #c9a500);
border-radius: 1px;
}
/* Theme-aware adjustments */
body.skin-citizen[data-theme='light'] .divider-ornamental,
body.skin-citizen[data-theme='dark'] .divider-ornamental,
body.skin-citizen:not([data-theme]) .divider-ornamental {
color: inherit;
background: none;
}
/* Responsive adjustments */
@media screen and (max-width: 768px) {
.tiles-row {
flex-direction: column;
align-items: center;
}
.small-column {
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
gap: 1rem;
}
.small-box,
.big-box {
width: 90%;
max-width: 400px;
height: auto;
}
}