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
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* PRO PROFILE UI */
/* 🌟 Global Bio Index – Fixed FINAL */


/* Banner */
/* Header Container */
.gbi-banner-wrapper {
.gbi-header {
    display: flex;
     width: 100%;
     width: 100%;
    height: 300px;
    margin-bottom: 30px;
    position: relative;
    gap: 0;
}
/* Profile Image Container */
.gbi-photo {
    width: 30%;
     overflow: hidden;
     overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px 0 0 14px;
    background: #d9dde4;
}
}
.gbi-profile-banner {
 
     width: 100%;
/* Profile Image */
     height: 330px;
.gbi-img {
     object-fit: cover;
     width: 100% !important;
     height: 100% !important;
     object-fit: cover !important;
    border-radius: inherit !important;
}
}


/* Profile photo overlay */
/* Banner Container */
.gbi-profile-photo-wrapper {
.gbi-banner {
     text-align: center;
     width: 70%;
     margin-top: -120px;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0 14px 14px 0;
     background: #c8cdd6;
}
}
.gbi-profile-photo {
 
     width: 210px;
/* Banner Image */
     height: 270px;
.gbi-banner-img {
     object-fit: cover;
     width: 100% !important;
     border-radius: 16px;
     height: 100% !important;
    border: 5px solid #fff;
     object-fit: cover !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
     display: block;
}
}


/* Center Header */
/* Text Overlay */
.gbi-profile-header {
.gbi-banner-overlay {
     text-align: center;
     position: absolute;
     font-family: Montserrat, sans-serif;
    inset: 0;
     margin-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: 40px;
/* Title Text */
.gbi-title {
     font-size: 30px;
     font-weight: 700;
     font-weight: 700;
     color: #002b7f;
    margin: 0;
     margin: 10px 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-pronoun {
 
     font-size: 20px;
.gbi-content {
     opacity: 0.7;
     width: 65%;
    line-height: 1.6;
     font-size: 16px;
}
}
.gbi-headline {
.gbi-infobox {
     font-size: 19px;
     width: 35%;
    color: #333;
    opacity: 0.9;
}
}


/* Tabs */
/* Mobile View */
.gbi-tabs {
@media(max-width: 900px){
     width: 100%;
    .gbi-header {
     text-align: center;
        flex-direction: column;
     margin: 20px 0;
        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%;
    }
}
}
/* Rows */
 
.gbi-tabs a {
/* FORCE REAL FIX */
    background: #eef2ff;
.gbi-photo .gbi-img,
    color: #002b7f;
.gbi-photo .gbi-img img,
    padding: 10px 22px;
.gbi-photo a.image,
    border-radius: 20px;
.gbi-photo span {
     margin: 5px;
     width: 100% !important;
     display: inline-block;
     height: 100% !important;
     text-decoration: none;
     object-fit: cover !important;
     font-size: 14px;
     object-position: center center !important;
     border: 1px solid #002b7f;
     display: block !important;
}
}
.gbi-tab-active {
 
     background-color: #002b7f !important;
.gbi-banner .gbi-banner-img,
     color: #fff !important;
.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;
}
}


/* 3-Column Grid */
/* Remove any padding/margin from MW wrappers */
.gbi-layout {
.gbi-photo a, .gbi-banner a {
     display: grid;
     margin: 0 !important;
    grid-template-columns: 22% 50% 28%;
     padding: 0 !important;
    gap: 20px;
     width: 95%;
    margin: auto;
}
}


/* Cards */
/* Remove invisible alignment gaps */
.gbi-section-card {
.gbi-photo span,
     background: #fff;
.gbi-banner span {
     border: 1px solid #dce4f5;
     display: block !important;
    border-radius: 12px;
     line-height: 0 !important;
     padding: 18px 20px;
}
     margin-bottom: 22px;
.gbi-social-links {
     box-shadow: 0 4px 18px rgba(0,0,0,0.05);
     display: flex;
     gap: 8px;
     align-items: center;
}
}


/* Media gallery */
.gbi-social {
.gbi-gallery img {
     width: 22px;
     width: 160px;
     height: 22px;
     height: 160px;
    display: inline-block;
     border-radius: 10px;
    background-size: contain !important;
     object-fit: cover;
     background-repeat: no-repeat !important;
     margin: 4px;
     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); }