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

MediaWiki interface page
Revision as of 04:28, 26 November 2025 by Admin (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 🌟 Global Bio Index Premium Bio UI */

.gbi-header {
    display: flex;
    width: 100%;
    height: 280px;
    gap: 0;
    margin-bottom: 25px;
}

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

.gbi-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 14px 0 0 14px;
    display: block;
}

/* ❌ Remove thumbnail containers completely */
.gbi-photo .thumb,
.gbi-photo .thumbinner,
.gbi-photo .mw-thumb-inner,
.gbi-photo .thumbimage,
.gbi-photo .mw-file-element,
.gbi-photo .thumbcaption {
    all: unset !important;
    display: block !important;
}

/* 🖼 Banner — right 70% */
.gbi-banner {
    flex: 0 0 70%;
    position: relative;
    height: 100%;
    border-radius: 0 14px 14px 0;
    overflow: hidden;
}

.gbi-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay Text */
.gbi-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6), transparent 75%);
    color: #fff;
    display: flex;
    align-items: center;
    padding-left: 28px;
}

.gbi-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 38px;
}

.gbi-designation {
    margin-top: 6px;
    font-size: 17px;
    font-weight: 500;
    opacity: 0.92;
}

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

.gbi-content {
    width: 64%;
    font-size: 16px;
    line-height: 1.65;
    background: #fff;
}

/* 📌 Infobox Right Panel */
.gbi-infobox {
    width: 36%;
}

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