Xarkanoth (talk | contribs)
No edit summary
Xarkanoth (talk | contribs)
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 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;
}


/* ==========================================================
/* ==========================================================
Line 129: Line 75:


/* ==========================================================
/* ==========================================================
   SIDEBAR LOGO (CLEAN + STABLE - NO OVERLAP)
   SIDEBAR LOGO (FIXED + LARGER, NO LAYOUT BREAKING)
   ========================================================== */
   ========================================================== */


body.skin-holdfast .hf-sidebar-logo {
body.skin-holdfast .hf-sidebar-logo {
     position: relative;
     position: relative !important;


     display: flex;
     display: flex;
Line 139: Line 85:
     justify-content: center;
     justify-content: center;


     max-width: 340px;
     max-width: 420px;
     max-height: 200px;
     max-height: 240px;


     margin: 0 auto 10px auto;
     margin: 0 auto 12px auto;


     z-index: 2;
     z-index: 2;
    box-shadow: 0 4px 24px 10px #00000040;
}
}


Line 154: Line 98:


     max-width: 100%;
     max-width: 100%;
     max-height: 200px;
     max-height: 240px;


     object-fit: contain;
     object-fit: contain;
Line 195: Line 139:


/* ==========================================================
/* ==========================================================
   RESPONSIVE FIX (SAFE VERSION)
  MAIN PAGE WIDTH FIX (SAFE ONLY, NO LAYOUT CHANGES)
  ========================================================== */
 
body.skin-holdfast.page-Main_Page .hf-content {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
}
 
/* ==========================================================
   RESPONSIVE FIX (MINIMAL, NON-DESTRUCTIVE)
   ========================================================== */
   ========================================================== */


@media screen and (max-width: 1100px) {
@media screen and (max-width: 1100px) {


    body.skin-holdfast {
     body.skin-holdfast .hf-content {
        flex-direction: column;
         width: 100% !important;
    }
         padding: 12px !important;
 
     body.skin-holdfast .hf-sidebar {
         width: 100%;
         min-width: 0;
     }
     }


     body.skin-holdfast .hf-content {
     body.skin-holdfast .hf-sidebar-logo {
         width: 100%;
         max-width: 320px;
         padding: 12px;
         max-height: 180px;
     }
     }
}
}

Revision as of 20:00, 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
   ========================================================== */

.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 (FIXED + LARGER, NO LAYOUT BREAKING)
   ========================================================== */

body.skin-holdfast .hf-sidebar-logo {
    position: relative !important;

    display: flex;
    align-items: center;
    justify-content: center;

    max-width: 420px;
    max-height: 240px;

    margin: 0 auto 12px auto;

    z-index: 2;
}

body.skin-holdfast .hf-sidebar-logo img {
    width: auto !important;
    height: auto !important;

    max-width: 100%;
    max-height: 240px;

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

/* ==========================================================
   MAIN PAGE WIDTH FIX (SAFE ONLY, NO LAYOUT CHANGES)
   ========================================================== */

body.skin-holdfast.page-Main_Page .hf-content {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* ==========================================================
   RESPONSIVE FIX (MINIMAL, NON-DESTRUCTIVE)
   ========================================================== */

@media screen and (max-width: 1100px) {

    body.skin-holdfast .hf-content {
        width: 100% !important;
        padding: 12px !important;
    }

    body.skin-holdfast .hf-sidebar-logo {
        max-width: 320px;
        max-height: 180px;
    }
}