Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
/* =======================================================
/* =============================================
   GLOBAL BIO INDEX — FILMFREEWAY PROFILE UI
   Global Bio Index - FilmFreeway Style Profile
  Optimized strictly for your current HTML template
============================================= */
======================================================= */


/* Ensure consistent font styling */
/* Reset page container margin from Citizen skin */
body, p, h1, h2, h3 {
.mw-body {
     font-family: "Montserrat", sans-serif;
     max-width: 1300px !important;
    margin: 0 auto;
}
}


 
/* -----------------------
/* =============================
   HERO BANNER
   HERO COVER BANNER
------------------------ */
============================= */
.gbi-cover-area {
.gbi-cover-area {
     width: 100%;
     width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 12px;
     position: relative;
     position: relative;
     overflow: hidden;
     overflow: hidden;
    margin-bottom: 70px;
    display: flex;
    align-items: flex-end;
    padding-left: 180px;
}
}
.gbi-cover-image {
 
/* Placeholder text positioning */
.gbi-cover-placeholder {
     width: 100%;
     width: 100%;
     height: 380px; /* Final selected size */
     height: 100%;
     object-fit: cover;
    opacity: 0.15;
     object-position: center;
    display: flex;
     background-color: #000;
     justify-content: center;
     border-bottom: 3px solid #002b7f;
     align-items: center;
     font-weight: 600;
     font-size: 20px;
    color: #fff;
}
}


 
/* -----------------------
/* =============================
   PROFILE IMAGE OVERLAY
   PROFILE ON BANNER OVERLAY
------------------------ */
============================= */
.gbi-profile-placeholder {
.gbi-banner-content {
     position: absolute;
     position: absolute;
     bottom: 35px;
     bottom: -60px;
     left: 50px;
     left: 40px;
     display: flex;
    width: 150px;
     align-items: center;
    height: 150px;
     gap: 25px;
     background: #d9e1f2;
     border-radius: 50%;
     border: 6px solid #ffffff;
    box-shadow: 0 4px 25px rgba(0,0,0,0.2);
}
}
.gbi-profile-on-banner {
 
    width: 215px;
/* -----------------------
    height: 260px;
  TEXT ON COVER
    object-fit: cover;
------------------------ */
     object-position: center;
.gbi-banner-text {
    border-radius: 12px;
     position: relative;
     border: 4px solid white;
     color: #ffffff;
     box-shadow: 0px 8px 28px rgba(0,0,0,0.3);
     margin-bottom: 25px;
}
}


/* =============================
  TEXT OVER BANNER
============================= */
.gbi-name-banner {
.gbi-name-banner {
     font-size: 40px;
    margin: 0;
     font-size: 36px;
     font-weight: 700;
     font-weight: 700;
    color: #ffffff;
     text-shadow: 0px 3px 6px rgba(0,0,0,0.35);
    margin: 0;
    line-height: 1.2;
     text-shadow: 0px 4px 8px rgba(0,0,0,0.55);
}
.gbi-pronoun {
    font-size: 18px;
    opacity: 0.85;
}
}
.gbi-headline-banner {
.gbi-headline-banner {
     font-size: 20px;
     margin-top: 8px;
    color: #ededed;
     font-weight: 500;
     font-weight: 500;
     margin-top: 6px;
     font-size: 18px;
     text-shadow: 0px 3px 6px rgba(0,0,0,0.5);
     opacity: 0.95;
}
}


.gbi-pronoun {
    font-size: 17px;
    font-weight: 400;
    opacity: 0.85;
}


/* =============================
/* -----------------------
   MAIN CONTENT LAYOUT
   MAIN LAYOUT
============================= */
------------------------ */
.gbi-container {
.gbi-container {
    width: 92%;
     margin-top: 40px;
     margin: 40px auto 50px auto;
     display: grid;
     display: grid;
     grid-template-columns: 65% 35%;
     grid-template-columns: 65% 32%;
     gap: 32px;
     gap: 3%;
}
}


 
/* Left (Bio) */
/* =============================
  BIOGRAPHY LEFT
============================= */
.gbi-left {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
}
.gbi-left h2 {
.gbi-left h2 {
     font-size: 24px;
     color: #002b7f;
     font-weight: 700;
     font-weight: 700;
     color: #002b7f;
     font-size: 26px;
     margin-bottom: 15px;
     margin-bottom: 12px;
}
}


 
/* Right (Info Card) */
/* =============================
  INFOBOX RIGHT
============================= */
.gbi-right {
    width: 100%;
}
.infobox-gbi {
.infobox-gbi {
    width: 100%;
     background: #ffffff;
     background: #f8faff;
     border-radius: 18px;
     border-radius: 14px;
     padding: 22px;
     padding: 16px 14px;
     border: 1px solid #dbe4f4;
     border: 1px solid #d5e0f4;
    box-shadow: 0 0 40px rgba(0,0,0,0.04);
}
}
/* Infobox heading */
.infobox-gbi th {
.infobox-gbi th {
     font-size: 15px;
    color: #002b7f !important;
     font-weight: 700;
     font-size: 20px !important;
     color: #002b7f;
     font-weight: 700 !important;
     text-align: left;
     text-align: center !important;
     padding-bottom: 10px;
}
}


/* Table text */
.infobox-gbi td,
.infobox-gbi th {
    font-size: 15px !important;
    padding: 6px 2px;
}


/* =============================
/* -----------------------
   RESPONSIVE MOBILE SUPPORT
   MOBILE RESPONSIVE
============================= */
------------------------ */
@media(max-width: 920px) {
@media(max-width: 850px) {
 
     .gbi-cover-area {
     .gbi-banner-content {
         padding-left: 140px;
         left: 25px;
         height: 260px;
        bottom: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
 
    .gbi-profile-on-banner {
        width: 180px;
         height: 210px;
     }
     }
     .gbi-name-banner {
     .gbi-name-banner {
         font-size: 30px;
         font-size: 28px;
     }
     }
    .gbi-headline-banner {
        font-size: 17px;
    }
     .gbi-container {
     .gbi-container {
         grid-template-columns: 100%;
         grid-template-columns: 100%;
     }
     }
 
     .gbi-profile-placeholder {
     .gbi-right {
         width: 120px;
         width: 100%;
        height: 120px;
    }
        bottom: -45px;
}
         left: 20px;
 
@media(max-width: 600px) {
 
    .gbi-cover-image {
         height: 260px;
     }
     }
    .gbi-profile-on-banner {
        width: 150px;
        height: 180px;
    }
    .gbi-name-banner {
        font-size: 24px;
    }
}
/* Remove MediaWiki forced thumbnail wrappers */
span.gbi-cover-image,
span.gbi-profile-on-banner,
div.gbi-cover-image,
div.gbi-profile-on-banner {
    width: auto !important;
    height: auto !important;
    display: inline !important;
}
}

Revision as of 15:40, 25 November 2025

/* =============================================
   Global Bio Index - FilmFreeway Style Profile
============================================= */

/* Reset page container margin from Citizen skin */
.mw-body {
    max-width: 1300px !important;
    margin: 0 auto;
}

/* -----------------------
   HERO BANNER
------------------------ */
.gbi-cover-area {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    margin-bottom: 70px;
    display: flex;
    align-items: flex-end;
    padding-left: 180px;
}

/* Placeholder text positioning */
.gbi-cover-placeholder {
    width: 100%;
    height: 100%;
    opacity: 0.15;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 20px;
    color: #fff;
}

/* -----------------------
   PROFILE IMAGE OVERLAY
------------------------ */
.gbi-profile-placeholder {
    position: absolute;
    bottom: -60px;
    left: 40px;
    width: 150px;
    height: 150px;
    background: #d9e1f2;
    border-radius: 50%;
    border: 6px solid #ffffff;
    box-shadow: 0 4px 25px rgba(0,0,0,0.2);
}

/* -----------------------
   TEXT ON COVER
------------------------ */
.gbi-banner-text {
    position: relative;
    color: #ffffff;
    margin-bottom: 25px;
}

.gbi-name-banner {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    text-shadow: 0px 3px 6px rgba(0,0,0,0.35);
}

.gbi-headline-banner {
    margin-top: 8px;
    font-weight: 500;
    font-size: 18px;
    opacity: 0.95;
}

.gbi-pronoun {
    font-size: 17px;
    font-weight: 400;
    opacity: 0.85;
}

/* -----------------------
   MAIN LAYOUT
------------------------ */
.gbi-container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 65% 32%;
    gap: 3%;
}

/* Left (Bio) */
.gbi-left h2 {
    color: #002b7f;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 12px;
}

/* Right (Info Card) */
.infobox-gbi {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid #dbe4f4;
    box-shadow: 0 0 40px rgba(0,0,0,0.04);
}

/* Infobox heading */
.infobox-gbi th {
    color: #002b7f !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding-bottom: 10px;
}

/* Table text */
.infobox-gbi td,
.infobox-gbi th {
    font-size: 15px !important;
    padding: 6px 2px;
}

/* -----------------------
   MOBILE RESPONSIVE
------------------------ */
@media(max-width: 850px) {
    .gbi-cover-area {
        padding-left: 140px;
        height: 260px;
    }
    .gbi-name-banner {
        font-size: 28px;
    }
    .gbi-container {
        grid-template-columns: 100%;
    }
    .gbi-profile-placeholder {
        width: 120px;
        height: 120px;
        bottom: -45px;
        left: 20px;
    }
}