No edit summary |
No edit summary |
||
| Line 147: | Line 147: | ||
/* ========================================================== | /* ========================================================== | ||
HOLDFAST RESPONSIVE FIX | |||
Prevents sidebar/logo overlap on | Prevents sidebar/logo overlap on smaller screens | ||
========================================================== */ | ========================================================== */ | ||
/* 1. Make content shrink properly on smaller screens */ | |||
body.skin-holdfast .hf-content { | |||
min-width: 0 !important; | |||
width: 100% !important; | |||
max-width: 100% !important; | |||
} | |||
/* 2. Main page gets a max width instead of fixed width */ | |||
body.skin-holdfast.page-Main_Page .hf-content { | body.skin-holdfast.page-Main_Page .hf-content { | ||
flex: | flex: 1 1 auto !important; | ||
max-width: 1200px !important; | max-width: 1200px !important; | ||
margin-left: auto !important; | margin-left: auto !important; | ||
margin-right: auto !important; | margin-right: auto !important; | ||
} | |||
/* 3. Prevent sidebar/logo overlap on narrow screens */ | |||
@media screen and (max-width: 1400px) { | |||
body.skin-holdfast .hf-sidebar { | |||
position: relative !important; | |||
} | |||
body.skin-holdfast .hf-sidebar-logo { | |||
position: relative !important; | |||
top: 0 !important; | |||
left: 0 !important; | |||
max-width: 240px !important; | |||
margin-bottom: 10px; | |||
} | |||
body.skin-holdfast .hf-content { | |||
margin-left: 16px !important; | |||
} | |||
} | |||
/* 4. Small screen (tablet/mobile behavior) */ | |||
@media screen and (max-width: 900px) { | |||
body.skin-holdfast { | |||
display: block !important; | |||
} | |||
body.skin-holdfast .hf-sidebar { | |||
width: 100% !important; | |||
} | |||
body.skin-holdfast .hf-content { | |||
margin-left: 0 !important; | |||
padding: 12px !important; | |||
} | |||
body.skin-holdfast .hf-sidebar-logo { | |||
max-width: 200px !important; | |||
} | |||
} | } | ||
Revision as of 19:53, 28 June 2026
/* CSS placed here will be applied to all skins */
/* ==========================================================
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 Styling
========================================================== */
.wn-task-table td {
vertical-align: top;
}
.wn-status {
padding: 4px 8px;
border-radius: 4px;
font-weight: bold;
display: inline-block;
}
/* Status colors */
.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 Card Icons (BIGGER)
========================================================== */
.hf-social-card-icon img {
width: 56px; /* was 40px */
height: 56px; /* was 40px */
object-fit: contain;
display: block;
margin: 0 auto;
}
/* ==========================================================
HOLDFAST SIDEBAR LOGO (LARGER + CLEAN)
========================================================== */
body.skin-holdfast .hf-sidebar-logo {
position: absolute;
top: -10px;
left: 20px;
display: flex;
align-items: center;
justify-content: center;
width: auto !important;
height: auto !important;
max-width: 340px; /* increased size */
max-height: 200px; /* increased size */
z-index: 1002;
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 BUTTON (LARGER)
========================================================== */
body.skin-holdfast .hf-discord-btn,
body.skin-holdfast .hf-events-btn {
font-size: 16px; /* increase text size */
padding: 10px 14px; /* bigger clickable area */
border-radius: 6px;
}
/* If buttons contain icons */
body.skin-holdfast .hf-discord-btn img,
body.skin-holdfast .hf-events-btn img {
width: 28px;
height: 28px;
object-fit: contain;
}
/* ==========================================================
HOLDFAST BACKGROUND IMAGE (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;
}
/* ==========================================================
HOLDFAST RESPONSIVE FIX
Prevents sidebar/logo overlap on smaller screens
========================================================== */
/* 1. Make content shrink properly on smaller screens */
body.skin-holdfast .hf-content {
min-width: 0 !important;
width: 100% !important;
max-width: 100% !important;
}
/* 2. Main page gets a max width instead of fixed width */
body.skin-holdfast.page-Main_Page .hf-content {
flex: 1 1 auto !important;
max-width: 1200px !important;
margin-left: auto !important;
margin-right: auto !important;
}
/* 3. Prevent sidebar/logo overlap on narrow screens */
@media screen and (max-width: 1400px) {
body.skin-holdfast .hf-sidebar {
position: relative !important;
}
body.skin-holdfast .hf-sidebar-logo {
position: relative !important;
top: 0 !important;
left: 0 !important;
max-width: 240px !important;
margin-bottom: 10px;
}
body.skin-holdfast .hf-content {
margin-left: 16px !important;
}
}
/* 4. Small screen (tablet/mobile behavior) */
@media screen and (max-width: 900px) {
body.skin-holdfast {
display: block !important;
}
body.skin-holdfast .hf-sidebar {
width: 100% !important;
}
body.skin-holdfast .hf-content {
margin-left: 0 !important;
padding: 12px !important;
}
body.skin-holdfast .hf-sidebar-logo {
max-width: 200px !important;
}
}