No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* ========================================================== | |||
Holdfast - Upcoming Release Image | |||
========================================================== */ | |||
body.skin-holdfast .hf-upcoming-release-image { | body.skin-holdfast .hf-upcoming-release-image { | ||
| Line 16: | Line 20: | ||
display: block; | display: block; | ||
} | } | ||
/* ========================================================== | |||
TOC Hiding | |||
========================================================== */ | |||
.toc, | .toc, | ||
| Line 23: | Line 31: | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* ========================================================== | |||
Task Table Styling | |||
========================================================== */ | |||
.wn-task-table td { | .wn-task-table td { | ||
| Line 50: | Line 62: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
/* ========================================================== | |||
Social Card Icons | |||
========================================================== */ | |||
.hf-social-card-icon img { | .hf-social-card-icon img { | ||
| Line 60: | Line 76: | ||
/* ========================================================== | /* ========================================================== | ||
Holdfast | Holdfast Sidebar Logo (FIXED: no stretching + scalable) | ||
========================================================== */ | |||
body.skin-holdfast .hf-sidebar-logo { | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
max-width: 240px; | |||
max-height: 140px; | |||
} | |||
body.skin-holdfast .hf-sidebar-logo img { | |||
width: auto !important; | |||
height: auto !important; | |||
max-width: 100%; | |||
max-height: 140px; | |||
object-fit: contain; | |||
display: block; | |||
} | |||
/* ========================================================== | |||
Holdfast Background Image (Responsive + No Stretch) | |||
========================================================== */ | ========================================================== */ | ||
body.skin-holdfast .hf-page::before { | body.skin-holdfast .hf-page::before { | ||
background-image: url(/images/holdfast-background-image.png); | |||
background-repeat: no-repeat; | |||
/* keeps aspect ratio without distortion */ | |||
background-size: contain !important; | background-size: contain !important; | ||
background-position: left top !important; | background-position: left top !important; | ||
/* mask must match scaling behavior */ | |||
-webkit-mask-size: contain !important; | -webkit-mask-size: contain !important; | ||
mask-size: contain !important; | mask-size: contain !important; | ||
/* prevents weird scaling artifacts */ | |||
width: min(100%, 1600px) !important; | |||
} | } | ||
Revision as of 19:37, 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
========================================================== */
.hf-social-card-icon img {
width: 40px;
height: 40px;
object-fit: contain;
display: block;
margin: 0 auto;
}
/* ==========================================================
Holdfast Sidebar Logo (FIXED: no stretching + scalable)
========================================================== */
body.skin-holdfast .hf-sidebar-logo {
display: flex;
align-items: center;
justify-content: center;
max-width: 240px;
max-height: 140px;
}
body.skin-holdfast .hf-sidebar-logo img {
width: auto !important;
height: auto !important;
max-width: 100%;
max-height: 140px;
object-fit: contain;
display: block;
}
/* ==========================================================
Holdfast Background Image (Responsive + No Stretch)
========================================================== */
body.skin-holdfast .hf-page::before {
background-image: url(/images/holdfast-background-image.png);
background-repeat: no-repeat;
/* keeps aspect ratio without distortion */
background-size: contain !important;
background-position: left top !important;
/* mask must match scaling behavior */
-webkit-mask-size: contain !important;
mask-size: contain !important;
/* prevents weird scaling artifacts */
width: min(100%, 1600px) !important;
}