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
Created page with "=============================== GLOBAL BIO INDEX PROFILE DESIGN Author: ChatGPT | 2025 ===============================: HERO BANNER: .gbi-profile-banner { width: 100%; height: 350px; object-fit: cover; border-bottom: 3px solid #002b7f; } PROFILE IMAGE WRAPPER: .gbi-profile-photo { width: 200px; height: 260px; object-fit: cover; border-radius: 16px; border: 4px solid white; box-shadow: 0px 8px 20px rgba(0,0,0,0.18..."
 
No edit summary
Tag: Manual revert
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ===============================
/* 🌟 Global Bio Index – Fixed FINAL */
GLOBAL BIO INDEX PROFILE DESIGN
Author: ChatGPT | 2025
=============================== */


/* HERO BANNER */
/* Header Container */
.gbi-profile-banner {
.gbi-header {
    display: flex;
     width: 100%;
     width: 100%;
     height: 350px;
     height: 300px;
     object-fit: cover;
    margin-bottom: 30px;
     border-bottom: 3px solid #002b7f;
    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;
}
}


/* PROFILE IMAGE WRAPPER */
/* Banner Image */
.gbi-profile-photo {
.gbi-banner-img {
     width: 200px;
     width: 100% !important;
     height: 260px;
     height: 100% !important;
     object-fit: cover;
     object-fit: cover !important;
     border-radius: 16px;
     display: block;
    border: 4px solid white;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.18);
    margin-top: -130px;
}
}


/* PROFILE HEADER */
/* Text Overlay */
.gbi-profile-header {
.gbi-banner-overlay {
     text-align: center;
     position: absolute;
     font-family: Montserrat, sans-serif;
    inset: 0;
     padding-bottom: 20px;
    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;
}
}
.gbi-name {
 
     font-size: 38px;
/* Title Text */
.gbi-title {
     font-size: 30px;
     font-weight: 700;
     font-weight: 700;
     color: #002b7f;
    margin: 0;
     color: #ffffff !important;
    text-shadow: 0px 0px 6px rgba(0,0,0,0.6);
}
}
.gbi-pronoun {
 
     font-size: 20px;
 
     opacity: 0.7;
/* Designation */
     margin-left: 10px;
.gbi-designation {
}
     font-size: 17px;
.gbi-headline {
     opacity: 0.9;
    font-size: 18px;
     margin-top: 6px;
    color: #444;
}
}


/* PAGE LAYOUT GRID */
/* Body Layout */
.gbi-layout {
.gbi-layout {
     display: flex;
     display: flex;
    margin: 20px auto;
    width: 95%;
     gap: 25px;
     gap: 25px;
    margin-top: 15px;
}
}
.gbi-left {
 
     width: 66%;
.gbi-content {
     width: 65%;
    line-height: 1.6;
    font-size: 16px;
}
}
.gbi-right {
.gbi-infobox {
     width: 34%;
     width: 35%;
}
}


/* INFOBOX */
/* Mobile View */
.infobox-gbi {
@media(max-width: 900px){
    width: 100%;
    .gbi-header {
    background: #f7faff;
        flex-direction: column;
    border-radius: 12px;
        height: auto;
     padding: 18px;
    }
     border: 1px solid #d6e0f5;
    .gbi-photo, .gbi-banner {
     font-size: 14px;
        width: 100% !important;
        height: 240px !important;
        border-radius: 14px !important;
     }
    .gbi-layout {
        flex-direction: column;
     }
     .gbi-content, .gbi-infobox {
        width: 100%;
    }
}
}
.infobox-gbi th {
 
     color: #002b7f;
/* FORCE REAL FIX */
     font-size: 16px;
.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;
}
}


/* TABS */
.gbi-banner .gbi-banner-img,
.gbi-tabs {
.gbi-banner .gbi-banner-img img,
     display: flex;
.gbi-banner a.image,
     gap: 15px;
.gbi-banner span {
     margin: 25px 0;
     width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
     object-position: center center !important;
     display: block !important;
}
}
.gbi-tab {
 
     font-size: 14px;
/* Remove any padding/margin from MW wrappers */
     padding: 10px 20px;
.gbi-photo a, .gbi-banner a {
    border-radius: 30px;
     margin: 0 !important;
    border: 1px solid #002b7f;
     padding: 0 !important;
    cursor: pointer;
}
}
.gbi-tab-active {
 
     background: #002b7f;
/* Remove invisible alignment gaps */
     color: white;
.gbi-photo span,
.gbi-banner span {
     display: block !important;
     line-height: 0 !important;
}
}
 
.gbi-social-links {
/* PHOTOS GRID */
.gbi-gallery {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     gap: 10px;
     align-items: center;
}
}
.gbi-gallery img {
 
     width: 150px;
.gbi-social {
     height: 150px;
     width: 22px;
     object-fit: cover;
     height: 22px;
     border-radius: 10px;
    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); }

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