MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary Tag: Reverted |
||
| Line 35: | Line 35: | ||
height: 100%; | height: 100%; | ||
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden !important; | ||
border-radius: 0 14px 14px 0; | border-radius: 0 14px 14px 0; | ||
background: | background: none !important; | ||
padding: 0 !important; | |||
margin: 0 !important; | |||
} | } | ||
/* Banner Image */ | /* Banner Image */ | ||
.gbi-banner-img { | .gbi-banner-img, | ||
.gbi-banner-img img, | |||
.gbi-banner a.image, | |||
.gbi-banner span { | |||
width: 100% !important; | width: 100% !important; | ||
height: 100% !important; | height: 100% !important; | ||
object-fit: cover !important; | object-fit: cover !important; | ||
display: block; | object-position: center center !important; | ||
display: block !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
border: none !important; | |||
line-height: 0 !important; | |||
} | } | ||
| Line 51: | Line 61: | ||
.gbi-banner-overlay { | .gbi-banner-overlay { | ||
position: absolute; | position: absolute; | ||
bottom: 0; | |||
left: 0; | |||
right: 0; | |||
padding: 25px; | padding: 25px; | ||
z-index: 10; | |||
background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0)); | background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0)); | ||
color: #ffffff; | color: #ffffff; | ||
| Line 66: | Line 75: | ||
font-weight: 700; | font-weight: 700; | ||
margin: 0; | margin: 0; | ||
text-shadow: 0px 0px 6px rgba(0,0,0,0. | text-shadow: 0px 0px 6px rgba(0,0,0,0.7); | ||
} | } | ||
| Line 72: | Line 81: | ||
.gbi-designation { | .gbi-designation { | ||
font-size: 17px; | font-size: 17px; | ||
opacity: 0. | opacity: 0.95; | ||
margin-top: 6px; | margin-top: 6px; | ||
} | } | ||
| Line 88: | Line 97: | ||
font-size: 16px; | font-size: 16px; | ||
} | } | ||
.gbi-infobox { | .gbi-infobox { | ||
width: 35%; | width: 35%; | ||
| Line 98: | Line 108: | ||
height: auto; | height: auto; | ||
} | } | ||
.gbi-photo, .gbi-banner { | .gbi-photo, | ||
.gbi-banner { | |||
width: 100% !important; | width: 100% !important; | ||
height: 240px !important; | height: 240px !important; | ||
| Line 106: | Line 117: | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
.gbi-content, .gbi-infobox { | .gbi-content, | ||
.gbi-infobox { | |||
width: 100%; | width: 100%; | ||
} | } | ||
} | } | ||
Revision as of 07:04, 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 !important;
border-radius: 0 14px 14px 0;
background: none !important;
padding: 0 !important;
margin: 0 !important;
}
/* Banner Image */
.gbi-banner-img,
.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;
padding: 0 !important;
margin: 0 !important;
border: none !important;
line-height: 0 !important;
}
/* Text Overlay */
.gbi-banner-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 25px;
z-index: 10;
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;
text-shadow: 0px 0px 6px rgba(0,0,0,0.7);
}
/* Designation */
.gbi-designation {
font-size: 17px;
opacity: 0.95;
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%;
}
}