Xarkanoth (talk | contribs)
No edit summary
Xarkanoth (talk | contribs)
No edit summary
Line 2: Line 2:


/* ==========================================================
/* ==========================================================
   Holdfast - Upcoming Release Image
   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 Hiding
   TOC HIDING
   ========================================================== */
   ========================================================== */


Line 33: Line 76:


/* ==========================================================
/* ==========================================================
   Task Table Styling
   TASK TABLE
   ========================================================== */
   ========================================================== */


Line 47: Line 90:
}
}


/* Status colors */
.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 Card Icons (BIGGER)
   SOCIAL ICONS (BIGGER)
   ========================================================== */
   ========================================================== */


.hf-social-card-icon img {
.hf-social-card-icon img {
     width: 56px;         /* was 40px */
     width: 56px;
     height: 56px;         /* was 40px */
     height: 56px;
     object-fit: contain;
     object-fit: contain;
     display: block;
     display: block;
Line 76: Line 118:


/* ==========================================================
/* ==========================================================
   HOLDFAST SIDEBAR LOGO (LARGER + CLEAN)
   SIDEBAR LOGO (LARGER + STABLE)
   ========================================================== */
   ========================================================== */


body.skin-holdfast .hf-sidebar-logo {
body.skin-holdfast .hf-sidebar-logo {
     position: absolute;
     position: relative;
    top: -10px;
    left: 20px;


     display: flex;
     display: flex;
Line 88: Line 128:
     justify-content: center;
     justify-content: center;


     width: auto !important;
     width: auto;
     height: auto !important;
     height: auto;
 
    max-width: 340px;
    max-height: 200px;


     max-width: 340px;   /* increased size */
     margin: 0 auto 10px auto;
    max-height: 200px;  /* increased size */


     z-index: 1002;
     z-index: 10;


     box-shadow: 0 4px 24px 10px #00000040;
     box-shadow: 0 4px 24px 10px #00000040;
Line 111: Line 153:


/* ==========================================================
/* ==========================================================
   DISCORD BUTTON (LARGER)
   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;         /* increase text size */
     font-size: 16px;
     padding: 10px 14px;       /* bigger clickable area */
     padding: 12px 16px;
     border-radius: 6px;
     border-radius: 6px;
}
}


/* If buttons contain icons */
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:


/* ==========================================================
/* ==========================================================
   HOLDFAST BACKGROUND IMAGE (RESPONSIVE)
   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:


/* ==========================================================
/* ==========================================================
   HOLDFAST RESPONSIVE FIX
   RESPONSIVE BREAKPOINT (FIX OVERLAPS + DISAPPEARING CONTENT)
  Prevents sidebar/logo overlap on smaller screens
   ========================================================== */
   ========================================================== */


/* 1. Make content shrink properly on smaller screens */
@media screen and (max-width: 1100px) {
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 {
     body.skin-holdfast {
         display: block !important;
         flex-direction: column;
     }
     }


     body.skin-holdfast .hf-sidebar {
     body.skin-holdfast .hf-sidebar {
         width: 100% !important;
         width: 100%;
        min-width: 0;
     }
     }


     body.skin-holdfast .hf-content {
     body.skin-holdfast .hf-content {
         margin-left: 0 !important;
         width: 100%;
         padding: 12px !important;
         padding: 12px;
    }
 
    body.skin-holdfast .hf-sidebar-logo {
        max-width: 200px !important;
     }
     }
}
}

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;
    }
}