No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
/* ========================================================== | /* ========================================================== | ||
HOLDFAST BASE LAYOUT ( | HOLDFAST BASE LAYOUT (STABLE FLEX SYSTEM - FIXED) | ||
========================================================== */ | ========================================================== */ | ||
| Line 9: | Line 9: | ||
flex-direction: row; | flex-direction: row; | ||
align-items: flex-start; | align-items: flex-start; | ||
/* IMPORTANT: prevents weird overflow clipping */ | |||
min-height: 100vh; | |||
} | } | ||
/* Sidebar = fixed | /* Sidebar = fixed column, NEVER overlay */ | ||
body.skin-holdfast .hf-sidebar { | body.skin-holdfast .hf-sidebar { | ||
flex: 0 0 260px; | flex: 0 0 260px; | ||
| Line 18: | Line 21: | ||
position: relative; | position: relative; | ||
z-index: 10; | |||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
/* | /* Sidebar children stay in flow */ | ||
body.skin-holdfast .hf-sidebar > * { | body.skin-holdfast .hf-sidebar > * { | ||
position: relative !important; | position: relative !important; | ||
| Line 29: | Line 34: | ||
} | } | ||
/* | /* ========================================================== | ||
MAIN CONTENT (FIXED: prevents overlap + disappearing) | |||
========================================================== */ | |||
body.skin-holdfast .hf-content { | body.skin-holdfast .hf-content { | ||
flex: 1 1 auto; | flex: 1 1 auto; | ||
| Line 39: | Line 47: | ||
margin: 0; | margin: 0; | ||
padding: 16px; | padding: 16px; | ||
box-sizing: border-box; | |||
overflow: visible; | overflow: visible; | ||
position: relative; | |||
z-index: 1; | |||
} | } | ||
| Line 118: | Line 129: | ||
/* ========================================================== | /* ========================================================== | ||
SIDEBAR LOGO ( | SIDEBAR LOGO (CLEAN + STABLE - NO OVERLAP) | ||
========================================================== */ | ========================================================== */ | ||
| Line 127: | Line 138: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
max-width: 340px; | max-width: 340px; | ||
| Line 136: | Line 144: | ||
margin: 0 auto 10px auto; | margin: 0 auto 10px auto; | ||
z-index: | z-index: 2; | ||
box-shadow: 0 4px 24px 10px #00000040; | box-shadow: 0 4px 24px 10px #00000040; | ||
| Line 171: | Line 179: | ||
/* ========================================================== | /* ========================================================== | ||
BACKGROUND IMAGE | BACKGROUND IMAGE | ||
========================================================== */ | ========================================================== */ | ||
| Line 187: | Line 195: | ||
/* ========================================================== | /* ========================================================== | ||
RESPONSIVE | RESPONSIVE FIX (SAFE VERSION) | ||
========================================================== */ | ========================================================== */ | ||
Revision as of 19:58, 28 June 2026
/* CSS placed here will be applied to all skins */
/* ==========================================================
HOLDFAST BASE LAYOUT (STABLE FLEX SYSTEM - FIXED)
========================================================== */
body.skin-holdfast {
display: flex;
flex-direction: row;
align-items: flex-start;
/* IMPORTANT: prevents weird overflow clipping */
min-height: 100vh;
}
/* Sidebar = fixed column, NEVER overlay */
body.skin-holdfast .hf-sidebar {
flex: 0 0 260px;
width: 260px;
min-width: 260px;
position: relative;
z-index: 10;
display: flex;
flex-direction: column;
}
/* Sidebar children stay in flow */
body.skin-holdfast .hf-sidebar > * {
position: relative !important;
left: auto !important;
top: auto !important;
}
/* ==========================================================
MAIN CONTENT (FIXED: prevents overlap + disappearing)
========================================================== */
body.skin-holdfast .hf-content {
flex: 1 1 auto;
min-width: 0;
width: auto;
max-width: 100%;
margin: 0;
padding: 16px;
box-sizing: border-box;
overflow: visible;
position: relative;
z-index: 1;
}
/* ==========================================================
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 (CLEAN + STABLE - NO OVERLAP)
========================================================== */
body.skin-holdfast .hf-sidebar-logo {
position: relative;
display: flex;
align-items: center;
justify-content: center;
max-width: 340px;
max-height: 200px;
margin: 0 auto 10px auto;
z-index: 2;
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
========================================================== */
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 FIX (SAFE VERSION)
========================================================== */
@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;
}
}