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 06:48, 27 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 — FINAL CSS */

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

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

/* MediaWiki File Wrapper Fix (Profile) */
.gbi-photo .gbi-img,
.gbi-photo .gbi-img img,
.gbi-photo a,
.gbi-photo span {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
}

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

/* MediaWiki File Wrapper Fix (Banner) */
.gbi-banner .gbi-banner-img,
.gbi-banner .gbi-banner-img img,
.gbi-banner a,
.gbi-banner span {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
}

/* Text Overlay */
.gbi-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
    color: #ffffff;
    text-align: left;
    pointer-events: none;
}

/* Title Text */
.gbi-title {
    font-size: 34px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* Designation Text */
.gbi-designation {
    font-size: 18px;
    opacity: 0.95;
    margin-top: 6px;
}

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

.gbi-content {
    width: 65%;
    line-height: 1.75;
    font-size: 16px;
    color: #222;
}
.gbi-infobox {
    width: 35%;
}

/* Mobile Responsive */
@media(max-width: 900px) {
    .gbi-header {
        flex-direction: column;
        height: auto;
    }
    .gbi-photo,
    .gbi-banner {
        width: 100% !important;
        height: 260px !important;
        border-radius: 14px !important;
    }
    .gbi-banner-overlay {
        padding: 18px;
    }
    .gbi-title {
        font-size: 26px;
    }
    .gbi-content,
    .gbi-infobox {
        width: 100%;
    }
}