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
Tag: Manual revert
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* =============================================
/* 🌟 Global Bio Index – Fixed FINAL */
  Global Bio Index - FilmFreeway Style Profile
============================================= */


/* Reset page container margin from Citizen skin */
/* Header Container */
.mw-body {
.gbi-header {
     max-width: 1300px !important;
     display: flex;
    margin: 0 auto;
}
 
/* -----------------------
  HERO BANNER
------------------------ */
.gbi-cover-area {
     width: 100%;
     width: 100%;
     height: 350px;
     height: 300px;
     background: linear-gradient(135deg, #1e3c72, #2a5298);
     margin-bottom: 30px;
    border-radius: 12px;
     position: relative;
     position: relative;
     overflow: hidden;
     gap: 0;
    margin-bottom: 70px;
    display: flex;
    align-items: flex-end;
    padding-left: 180px;
}
}


/* Placeholder text positioning */
/* Profile Image Container */
.gbi-cover-placeholder {
.gbi-photo {
     width: 100%;
     width: 30%;
     height: 100%;
     overflow: hidden;
    opacity: 0.15;
     display: flex;
     display: flex;
     justify-content: center;
     justify-content: center;
     align-items: center;
     align-items: center;
     font-weight: 600;
     border-radius: 14px 0 0 14px;
     font-size: 20px;
     background: #d9dde4;
    color: #fff;
}
}


/* -----------------------
/* Profile Image */
  PROFILE IMAGE OVERLAY
.gbi-img {
------------------------ */
     width: 100% !important;
.gbi-profile-placeholder {
     height: 100% !important;
    position: absolute;
     object-fit: cover !important;
    bottom: -60px;
     border-radius: inherit !important;
    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);
}
}


/* -----------------------
/* Banner Container */
  TEXT ON COVER
.gbi-banner {
------------------------ */
    width: 70%;
.gbi-banner-text {
    height: 100%;
     position: relative;
     position: relative;
    overflow: hidden;
    border-radius: 0 14px 14px 0;
    background: #c8cdd6;
}
/* Banner Image */
.gbi-banner-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
/* Text Overlay */
.gbi-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
     color: #ffffff;
     color: #ffffff;
    margin-bottom: 25px;
}
}


.gbi-name-banner {
/* Title Text */
.gbi-title {
    font-size: 30px;
    font-weight: 700;
     margin: 0;
     margin: 0;
     font-size: 36px;
     color: #ffffff !important;
    font-weight: 700;
     text-shadow: 0px 0px 6px rgba(0,0,0,0.6);
     text-shadow: 0px 3px 6px rgba(0,0,0,0.35);
}
 
 
/* Designation */
.gbi-designation {
    font-size: 17px;
    opacity: 0.9;
    margin-top: 6px;
}
}


.gbi-headline-banner {
/* Body Layout */
     margin-top: 8px;
.gbi-layout {
     font-weight: 500;
     display: flex;
     font-size: 18px;
     gap: 25px;
    opacity: 0.95;
     margin-top: 15px;
}
}


.gbi-pronoun {
.gbi-content {
     font-size: 17px;
     width: 65%;
     font-weight: 400;
    line-height: 1.6;
     opacity: 0.85;
     font-size: 16px;
}
.gbi-infobox {
     width: 35%;
}
}


/* -----------------------
/* Mobile View */
  MAIN LAYOUT
@media(max-width: 900px){
------------------------ */
    .gbi-header {
.gbi-container {
        flex-direction: column;
    margin-top: 40px;
        height: auto;
     display: grid;
    }
     grid-template-columns: 65% 32%;
    .gbi-photo, .gbi-banner {
     gap: 3%;
        width: 100% !important;
        height: 240px !important;
        border-radius: 14px !important;
    }
    .gbi-layout {
        flex-direction: column;
     }
     .gbi-content, .gbi-infobox {
        width: 100%;
     }
}
}


/* Left (Bio) */
/* FORCE REAL FIX */
.gbi-left h2 {
.gbi-photo .gbi-img,
     color: #002b7f;
.gbi-photo .gbi-img img,
     font-weight: 700;
.gbi-photo a.image,
     font-size: 26px;
.gbi-photo span {
     margin-bottom: 12px;
     width: 100% !important;
    height: 100% !important;
     object-fit: cover !important;
     object-position: center center !important;
     display: block !important;
}
}


/* Right (Info Card) */
.gbi-banner .gbi-banner-img,
.infobox-gbi {
.gbi-banner .gbi-banner-img img,
     background: #ffffff;
.gbi-banner a.image,
     border-radius: 18px;
.gbi-banner span {
     padding: 22px;
     width: 100% !important;
     border: 1px solid #dbe4f4;
     height: 100% !important;
     box-shadow: 0 0 40px rgba(0,0,0,0.04);
     object-fit: cover !important;
     object-position: center center !important;
     display: block !important;
}
}


/* Infobox heading */
/* Remove any padding/margin from MW wrappers */
.infobox-gbi th {
.gbi-photo a, .gbi-banner a {
     color: #002b7f !important;
     margin: 0 !important;
     font-size: 20px !important;
     padding: 0 !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding-bottom: 10px;
}
}


/* Table text */
/* Remove invisible alignment gaps */
.infobox-gbi td,
.gbi-photo span,
.infobox-gbi th {
.gbi-banner span {
     font-size: 15px !important;
     display: block !important;
     padding: 6px 2px;
    line-height: 0 !important;
}
.gbi-social-links {
    display: flex;
    gap: 8px;
     align-items: center;
}
}


/* -----------------------
.gbi-social {
  MOBILE RESPONSIVE
    width: 22px;
------------------------ */
    height: 22px;
@media(max-width: 850px) {
     display: inline-block;
    .gbi-cover-area {
     background-size: contain !important;
        padding-left: 140px;
     background-repeat: no-repeat !important;
        height: 260px;
     background-position: center !important;
     }
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.4));
     .gbi-name-banner {
        font-size: 28px;
     }
    .gbi-container {
        grid-template-columns: 100%;
     }
    .gbi-profile-placeholder {
        width: 120px;
        height: 120px;
        bottom: -45px;
        left: 20px;
    }
}
}
/* Icon images (upload these or use hosted icons) */
.gbi-social.website  { background-image: url(/images/icons/web.png); }
.gbi-social.facebook { background-image: url(/images/icons/facebook.png); }
.gbi-social.instagram{ background-image: url(/images/icons/instagram.png); }
.gbi-social.twitter  { background-image: url(/images/icons/twitter.png); }
.gbi-social.linkedin { background-image: url(/images/icons/linkedin.png); }
.gbi-social.youtube  { background-image: url(/images/icons/youtube.png); }

Latest revision as of 09:52, 27 November 2025

/* 🌟 Global Bio Index – Fixed FINAL */

/* Header Container */
.gbi-header {
    display: flex;
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
    position: relative;
    gap: 0;
}

/* Profile Image Container */
.gbi-photo {
    width: 30%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px 0 0 14px;
    background: #d9dde4;
}

/* Profile Image */
.gbi-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: inherit !important;
}

/* Banner Container */
.gbi-banner {
    width: 70%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0 14px 14px 0;
    background: #c8cdd6;
}

/* Banner Image */
.gbi-banner-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* Text Overlay */
.gbi-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
    color: #ffffff;
}

/* Title Text */
.gbi-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    color: #ffffff !important;
    text-shadow: 0px 0px 6px rgba(0,0,0,0.6);
}


/* Designation */
.gbi-designation {
    font-size: 17px;
    opacity: 0.9;
    margin-top: 6px;
}

/* Body Layout */
.gbi-layout {
    display: flex;
    gap: 25px;
    margin-top: 15px;
}

.gbi-content {
    width: 65%;
    line-height: 1.6;
    font-size: 16px;
}
.gbi-infobox {
    width: 35%;
}

/* Mobile View */
@media(max-width: 900px){
    .gbi-header {
        flex-direction: column;
        height: auto;
    }
    .gbi-photo, .gbi-banner {
        width: 100% !important;
        height: 240px !important;
        border-radius: 14px !important;
    }
    .gbi-layout {
        flex-direction: column;
    }
    .gbi-content, .gbi-infobox {
        width: 100%;
    }
}

/* FORCE REAL FIX */
.gbi-photo .gbi-img,
.gbi-photo .gbi-img img,
.gbi-photo a.image,
.gbi-photo span {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

.gbi-banner .gbi-banner-img,
.gbi-banner .gbi-banner-img img,
.gbi-banner a.image,
.gbi-banner span {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

/* Remove any padding/margin from MW wrappers */
.gbi-photo a, .gbi-banner a {
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove invisible alignment gaps */
.gbi-photo span,
.gbi-banner span {
    display: block !important;
    line-height: 0 !important;
}
.gbi-social-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.gbi-social {
    width: 22px;
    height: 22px;
    display: inline-block;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.4));
}

/* Icon images (upload these or use hosted icons) */
.gbi-social.website  { background-image: url(/images/icons/web.png); }
.gbi-social.facebook { background-image: url(/images/icons/facebook.png); }
.gbi-social.instagram{ background-image: url(/images/icons/instagram.png); }
.gbi-social.twitter  { background-image: url(/images/icons/twitter.png); }
.gbi-social.linkedin { background-image: url(/images/icons/linkedin.png); }
.gbi-social.youtube  { background-image: url(/images/icons/youtube.png); }