More actions
Admornstein (talk | contribs) No edit summary Tag: Reverted |
Admornstein (talk | contribs) Undo revision 639 by Admornstein (talk) Tag: Undo |
||
| Line 7: | Line 7: | ||
} | } | ||
/* Base */ | |||
body, html { | body, html { | ||
margin: 0; | margin: 0; | ||
| Line 15: | Line 16: | ||
} | } | ||
/* 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-navigation, | ||
#mw-panel, | #mw-panel, | ||
#mw-sidebar, | |||
#p-navigation, | #p-navigation, | ||
#p-tb, | #p-tb, | ||
| Line 23: | Line 43: | ||
} | } | ||
/* 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; | ||
| Line 30: | Line 51: | ||
} | } | ||
/* Layout container */ | |||
.tiles-row { | .tiles-row { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: center; | justify-content: center; | ||
align-items: flex-start; | |||
gap: 2rem; | gap: 2rem; | ||
} | } | ||
. | /* BIG BOXES */ | ||
.big-box { | |||
width: 250px; | width: 250px; | ||
height: 370px; | height: 370px; | ||
background-size: | position: relative; | ||
background-size: contain; | |||
background-position: center; | background-position: center; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
border-radius: 12px; | |||
color: #c9a500; | |||
box-shadow: 0 0 10px #00000088; | |||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
| Line 50: | Line 77: | ||
padding: 10px; | padding: 10px; | ||
text-align: center; | 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; | color: #c9a500; | ||
box-shadow: 0 0 10px #00000088; | box-shadow: 0 0 10px #00000088; | ||
display: flex; | |||
text- | flex-direction: column; | ||
justify-content: flex-end; | |||
align-items: flex-start; | |||
padding: 10px; | |||
text-align: left; | |||
overflow: hidden; | overflow: hidden; | ||
flex-shrink: 0; | |||
} | } | ||
. | /* Hover overlay */ | ||
.big-box::before, | |||
.small-box::before { | |||
content: ""; | content: ""; | ||
position: absolute; | position: absolute; | ||
inset: 0; | inset: 0; | ||
background: transparent; | background: transparent; | ||
z-index: 1; | |||
transition: background 0.3s ease; | transition: background 0.3s ease; | ||
} | } | ||
. | .big-box:hover::before, | ||
.small-box:hover::before { | |||
background: rgba(0, 0, 0, 0.4); | 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; | position: relative; | ||
z-index: 2; | z-index: 2; | ||
} | } | ||
. | .big-box .overlay-title { | ||
font-size: 20px; | font-size: 20px; | ||
font-family: 'AngerStyles'; | font-family: 'AngerStyles'; | ||
| Line 84: | Line 134: | ||
} | } | ||
. | .big-box:hover .overlay-title { | ||
color: #c9a500; | color: #c9a500; | ||
border-color: #c9a500; | border-color: #c9a500; | ||
} | } | ||
. | .big-box .overlay-desc { | ||
font-size: 14px; | font-size: 14px; | ||
margin-top: 9px; | margin-top: 9px; | ||
| Line 98: | Line 148: | ||
} | } | ||
. | .big-box:hover .overlay-desc { | ||
opacity: 1; | opacity: 1; | ||
} | } | ||
. | .small-column { | ||
color: | 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 { | .divider-ornamental { | ||
margin: 1px; | margin: 1px; | ||
| Line 122: | Line 228: | ||
} | } | ||
/* 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) { | @media screen and (max-width: 768px) { | ||
.tiles-row { | .tiles-row { | ||
| Line 128: | Line 243: | ||
} | } | ||
. | .small-column { | ||
flex-direction: row; | |||
flex-wrap: wrap; | |||
justify-content: center; | |||
gap: 1rem; | |||
} | |||
.small-box, | |||
.big-box { | |||
width: 90%; | width: 90%; | ||
max-width: 400px; | max-width: 400px; | ||
Revision as of 14:04, 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;
}
}