MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* 🌟 Global Bio Index | /* 🌟 Global Bio Index Premium Bio UI */ | ||
.gbi-header { | .gbi-header { | ||
display: flex; | display: flex; | ||
width: 100%; | width: 100%; | ||
height: | height: 280px; | ||
gap: 0; | |||
margin-bottom: 25px; | margin-bottom: 25px; | ||
} | } | ||
/* Profile Image 30% */ | /* 📌 Profile Image 30% */ | ||
.gbi-photo { | .gbi-photo { | ||
flex | flex: 0 0 30%; | ||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
background: #eaf0f7; | |||
border-radius: 14px 0 0 14px; | |||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.gbi-img { | .gbi-img { | ||
width: 100% !important; | width: 100% !important; | ||
height: | height: 100% !important; | ||
object-fit: cover !important; | object-fit: cover !important; | ||
border-radius: | border-radius: 14px 0 0 14px; | ||
display: block; | |||
} | } | ||
/* Remove | /* ❌ Remove thumbnail containers completely */ | ||
.gbi-photo .thumb, | .gbi-photo .thumb, | ||
.gbi-photo .thumbinner, | |||
.gbi-photo .mw-thumb-inner, | .gbi-photo .mw-thumb-inner, | ||
.gbi-photo .thumbimage, | .gbi-photo .thumbimage, | ||
.gbi-photo .mw-file-element | .gbi-photo .mw-file-element, | ||
.gbi-photo .thumbcaption { | .gbi-photo .thumbcaption { | ||
display: | all: unset !important; | ||
display: block !important; | |||
} | } | ||
/* Banner 70% */ | /* 🖼 Banner — right 70% */ | ||
.gbi-banner { | .gbi-banner { | ||
flex | flex: 0 0 70%; | ||
position: relative; | position: relative; | ||
overflow: hidden | height: 100%; | ||
border-radius: 0 14px 14px 0; | |||
overflow: hidden; | |||
} | |||
.gbi-banner-img { | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
display: block; | |||
} | } | ||
/* Text | /* Overlay Text */ | ||
.gbi-banner-overlay { | .gbi-banner-overlay { | ||
background: linear-gradient(to right, rgba(0,0,0,0. | position: absolute; | ||
inset: 0; | |||
background: linear-gradient(to right, rgba(0,0,0,0.6), transparent 75%); | |||
color: #fff; | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
padding-left: | padding-left: 28px; | ||
} | } | ||
.gbi-title { | .gbi-title { | ||
font-size: | margin: 0; | ||
font-size: 32px; | |||
font-weight: 700; | font-weight: 700; | ||
line-height: 38px; | |||
line-height: | |||
} | } | ||
.gbi-designation { | .gbi-designation { | ||
margin-top: 6px; | |||
font-size: 17px; | |||
font-weight: 500; | font-weight: 500; | ||
opacity: 0.92; | |||
} | } | ||
/* | /* 📰 Body Layout */ | ||
.gbi-layout { | .gbi-layout { | ||
display: flex; | display: flex; | ||
gap: | gap: 30px; | ||
margin-top: | margin-top: 30px; | ||
} | } | ||
.gbi-content { | .gbi-content { | ||
width: | width: 64%; | ||
font-size: 16px; | font-size: 16px; | ||
line-height: 1.65; | |||
background: #fff; | |||
} | } | ||
/* 📌 Infobox Right Panel */ | |||
.gbi-infobox { | .gbi-infobox { | ||
width: | width: 36%; | ||
} | } | ||
/* Responsive */ | /* 🔹 Responsive */ | ||
@media(max-width: 900px){ | @media(max-width: 900px){ | ||
.gbi-header { | .gbi-header { | ||
| Line 95: | Line 105: | ||
height: auto; | height: auto; | ||
} | } | ||
.gbi-photo, .gbi-banner { | .gbi-photo, | ||
.gbi-banner, | |||
.gbi-banner-img { | |||
width: 100% !important; | width: 100% !important; | ||
height: 230px !important; | |||
border-radius: 14px !important; | |||
} | } | ||
.gbi-layout { | .gbi-layout { | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
.gbi-content, .gbi-infobox { | .gbi-content, | ||
.gbi-infobox { | |||
width: 100%; | width: 100%; | ||
} | } | ||
} | } | ||
Revision as of 04:28, 26 November 2025
/* 🌟 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%;
}
}