No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
/* ========================================================== | /* ========================================================== | ||
HOLDFAST BASE LAYOUT (CRITICAL STABILITY FIX) | |||
========================================================== */ | |||
body.skin-holdfast { | |||
display: flex; | |||
flex-direction: row; | |||
align-items: flex-start; | |||
} | |||
/* Sidebar = fixed stable column */ | |||
body.skin-holdfast .hf-sidebar { | |||
flex: 0 0 260px; | |||
width: 260px; | |||
min-width: 260px; | |||
position: relative; | |||
display: flex; | |||
flex-direction: column; | |||
} | |||
/* Prevent sidebar children from drifting */ | |||
body.skin-holdfast .hf-sidebar > * { | |||
position: relative !important; | |||
left: auto !important; | |||
top: auto !important; | |||
} | |||
/* Main content ALWAYS visible */ | |||
body.skin-holdfast .hf-content { | |||
flex: 1 1 auto; | |||
min-width: 0; | |||
width: auto; | |||
max-width: 100%; | |||
margin: 0; | |||
padding: 16px; | |||
overflow: visible; | |||
box-sizing: border-box; | |||
} | |||
/* ========================================================== | |||
HOLDFAST - UPCOMING RELEASE IMAGE | |||
========================================================== */ | ========================================================== */ | ||
| Line 22: | Line 65: | ||
/* ========================================================== | /* ========================================================== | ||
TOC | TOC HIDING | ||
========================================================== */ | ========================================================== */ | ||
| Line 33: | Line 76: | ||
/* ========================================================== | /* ========================================================== | ||
TASK TABLE | |||
========================================================== */ | ========================================================== */ | ||
| Line 47: | Line 90: | ||
} | } | ||
.wn-task.wn-status-not-started .wn-status-cell { | .wn-task.wn-status-not-started .wn-status-cell { | ||
color: #b00020; | color: #b00020; | ||
| Line 64: | Line 106: | ||
/* ========================================================== | /* ========================================================== | ||
SOCIAL ICONS (BIGGER) | |||
========================================================== */ | ========================================================== */ | ||
.hf-social-card-icon img { | .hf-social-card-icon img { | ||
width: 56px; | width: 56px; | ||
height: 56px; | height: 56px; | ||
object-fit: contain; | object-fit: contain; | ||
display: block; | display: block; | ||
| Line 76: | Line 118: | ||
/* ========================================================== | /* ========================================================== | ||
SIDEBAR LOGO (LARGER + STABLE) | |||
========================================================== */ | ========================================================== */ | ||
body.skin-holdfast .hf-sidebar-logo { | body.skin-holdfast .hf-sidebar-logo { | ||
position: | position: relative; | ||
display: flex; | display: flex; | ||
| Line 88: | Line 128: | ||
justify-content: center; | justify-content: center; | ||
width: auto | width: auto; | ||
height: auto | height: auto; | ||
max-width: 340px; | |||
max-height: 200px; | |||
margin: 0 auto 10px auto; | |||
z-index: | z-index: 10; | ||
box-shadow: 0 4px 24px 10px #00000040; | box-shadow: 0 4px 24px 10px #00000040; | ||
| Line 111: | Line 153: | ||
/* ========================================================== | /* ========================================================== | ||
DISCORD | DISCORD / EVENTS BUTTONS (BIGGER) | ||
========================================================== */ | ========================================================== */ | ||
body.skin-holdfast .hf-discord-btn, | body.skin-holdfast .hf-discord-btn, | ||
body.skin-holdfast .hf-events-btn { | body.skin-holdfast .hf-events-btn { | ||
font-size: 16px; | font-size: 16px; | ||
padding: | padding: 12px 16px; | ||
border-radius: 6px; | border-radius: 6px; | ||
} | } | ||
body.skin-holdfast .hf-discord-btn img, | body.skin-holdfast .hf-discord-btn img, | ||
body.skin-holdfast .hf-events-btn img { | body.skin-holdfast .hf-events-btn img { | ||
| Line 130: | Line 171: | ||
/* ========================================================== | /* ========================================================== | ||
BACKGROUND IMAGE (SAFE + RESPONSIVE) | |||
========================================================== */ | ========================================================== */ | ||
| Line 136: | Line 177: | ||
background-image: url(/images/holdfast-background-image.png); | background-image: url(/images/holdfast-background-image.png); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: contain !important; | background-size: contain !important; | ||
background-position: left top !important; | background-position: left top !important; | ||
| Line 147: | Line 187: | ||
/* ========================================================== | /* ========================================================== | ||
RESPONSIVE BREAKPOINT (FIX OVERLAPS + DISAPPEARING CONTENT) | |||
========================================================== */ | ========================================================== */ | ||
@media screen and (max-width: 1100px) { | |||
@media screen and (max-width: | |||
body.skin-holdfast { | body.skin-holdfast { | ||
flex-direction: column; | |||
} | } | ||
body.skin-holdfast .hf-sidebar { | body.skin-holdfast .hf-sidebar { | ||
width: 100% | width: 100%; | ||
min-width: 0; | |||
} | } | ||
body.skin-holdfast .hf-content { | body.skin-holdfast .hf-content { | ||
width: 100%; | |||
padding: 12px | padding: 12px; | ||
} | } | ||
} | } | ||
Revision as of 19:56, 28 June 2026
/* CSS placed here will be applied to all skins */
/* ==========================================================
HOLDFAST BASE LAYOUT (CRITICAL STABILITY FIX)
========================================================== */
body.skin-holdfast {
display: flex;
flex-direction: row;
align-items: flex-start;
}
/* Sidebar = fixed stable column */
body.skin-holdfast .hf-sidebar {
flex: 0 0 260px;
width: 260px;
min-width: 260px;
position: relative;
display: flex;
flex-direction: column;
}
/* Prevent sidebar children from drifting */
body.skin-holdfast .hf-sidebar > * {
position: relative !important;
left: auto !important;
top: auto !important;
}
/* Main content ALWAYS visible */
body.skin-holdfast .hf-content {
flex: 1 1 auto;
min-width: 0;
width: auto;
max-width: 100%;
margin: 0;
padding: 16px;
overflow: visible;
box-sizing: border-box;
}
/* ==========================================================
HOLDFAST - UPCOMING RELEASE IMAGE
========================================================== */
body.skin-holdfast .hf-upcoming-release-image {
flex: 0 0 320px;
max-width: 320px;
overflow: hidden;
display: flex;
align-items: stretch;
}
body.skin-holdfast .hf-upcoming-release-image img {
width: 100% !important;
height: 100% !important;
object-fit: cover;
object-position: center;
display: block;
}
/* ==========================================================
TOC HIDING
========================================================== */
.toc,
#toc,
.toctoggle,
.mw-table-of-contents-container {
display: none !important;
}
/* ==========================================================
TASK TABLE
========================================================== */
.wn-task-table td {
vertical-align: top;
}
.wn-status {
padding: 4px 8px;
border-radius: 4px;
font-weight: bold;
display: inline-block;
}
.wn-task.wn-status-not-started .wn-status-cell {
color: #b00020;
font-weight: bold;
}
.wn-task.wn-status-in-progress .wn-status-cell {
color: #b26a00;
font-weight: bold;
}
.wn-task.wn-status-done .wn-status-cell {
color: #1b7f3a;
font-weight: bold;
}
/* ==========================================================
SOCIAL ICONS (BIGGER)
========================================================== */
.hf-social-card-icon img {
width: 56px;
height: 56px;
object-fit: contain;
display: block;
margin: 0 auto;
}
/* ==========================================================
SIDEBAR LOGO (LARGER + STABLE)
========================================================== */
body.skin-holdfast .hf-sidebar-logo {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: auto;
height: auto;
max-width: 340px;
max-height: 200px;
margin: 0 auto 10px auto;
z-index: 10;
box-shadow: 0 4px 24px 10px #00000040;
}
body.skin-holdfast .hf-sidebar-logo img {
width: auto !important;
height: auto !important;
max-width: 100%;
max-height: 200px;
object-fit: contain;
display: block;
}
/* ==========================================================
DISCORD / EVENTS BUTTONS (BIGGER)
========================================================== */
body.skin-holdfast .hf-discord-btn,
body.skin-holdfast .hf-events-btn {
font-size: 16px;
padding: 12px 16px;
border-radius: 6px;
}
body.skin-holdfast .hf-discord-btn img,
body.skin-holdfast .hf-events-btn img {
width: 28px;
height: 28px;
object-fit: contain;
}
/* ==========================================================
BACKGROUND IMAGE (SAFE + RESPONSIVE)
========================================================== */
body.skin-holdfast .hf-page::before {
background-image: url(/images/holdfast-background-image.png);
background-repeat: no-repeat;
background-size: contain !important;
background-position: left top !important;
-webkit-mask-size: contain !important;
mask-size: contain !important;
width: min(100%, 1600px) !important;
}
/* ==========================================================
RESPONSIVE BREAKPOINT (FIX OVERLAPS + DISAPPEARING CONTENT)
========================================================== */
@media screen and (max-width: 1100px) {
body.skin-holdfast {
flex-direction: column;
}
body.skin-holdfast .hf-sidebar {
width: 100%;
min-width: 0;
}
body.skin-holdfast .hf-content {
width: 100%;
padding: 12px;
}
}