MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 150: | Line 150: | ||
background: #0847b0; | background: #0847b0; | ||
} | } | ||
.bio-box { | .bio-box { | ||
float: right; | float: right; | ||
| Line 162: | Line 161: | ||
} | } | ||
.bio-img { | .bio-img { | ||
text-align: center; | text-align: center; | ||
| Line 169: | Line 167: | ||
.bio-caption { | .bio-caption { | ||
font-size: | font-size: 14px; | ||
color: # | font-weight: bold; | ||
margin- | margin-top: 6px; | ||
color: #333; | |||
} | |||
.verified-badge { | |||
vertical-align: middle; | |||
margin-left: 4px; | |||
} | } | ||
.bio-table { | .bio-table { | ||
width: 100%; | width: 100%; | ||
| Line 182: | Line 185: | ||
.bio-table th { | .bio-table th { | ||
width: 35%; | width: 35%; | ||
padding: 6px; | |||
background: #f5f7ff; | background: #f5f7ff; | ||
font-weight: bold; | |||
text-align: left; | text-align: left; | ||
} | } | ||
.bio-table td { | .bio-table td { | ||
padding: 6px; | padding: 6px; | ||
} | } | ||
Revision as of 05:52, 8 December 2025
/* ---------------------------------------------------------- */
/* CUSTOM HEADER LOGO */
/* ---------------------------------------------------------- */
.mw-wiki-title,
.mw-logo-wordmark,
#p-logo-text {
display: none !important;
}
.mw-logo-wordmark {
display: block !important;
width: 220px;
height: 40px;
margin-top: 15px;
background-image: url("https://bharatwikipedia.org/images/BharatWikipedia.svg");
background-repeat: no-repeat;
background-size: contain;
text-indent: -9999px;
overflow: hidden;
white-space: nowrap;
}
/* ---------------------------------------------------------- */
/* FOOTER BADGES (ConnexAbility + Powered by MediaWiki) */
/* ---------------------------------------------------------- */
/* Ensure footer icons sit in one row, aligned right */
#footer-icons {
display: flex !important;
justify-content: flex-end !important;
align-items: center !important;
flex-direction: row !important; /* NORMAL left→right order */
gap: 5px;
}
/* ConnexAbility Badge — placed BEFORE MediaWiki badge */
#footer-icons::before {
content: "";
display: inline-flex;
justify-content: center;
align-items: center;
width: 135px;
height: 45px; /* INCREASED HEIGHT */
background-image: url("/images/AConnexAbilityProject.svg");
background-size: 78% auto;
background-position: center;
background-repeat: no-repeat;
background-color: #fff;
border: 1px solid #a2a9b1;
border-radius: 4px;
padding: 8px 8px; /* reduced padding so logo stays centered */
box-sizing: border-box;
}
/* Make MediaWiki badge and ConnexAbility badge align perfectly */
#footer-poweredbyico a {
display: inline-flex !important;
align-items: center !important;
height: 45px !important; /* MATCH ConnexAbility box height */
padding: 8px 8px !important;
border: 1px solid #72777d !important;
border-radius: 4px !important;
background-color: #fff !important;
}
/* =============================== */
/* MAIN PAGE SPACING FIX */
/* =============================== */
/* Remove MediaWiki default top space on Main Page */
body.page-Main_Page .mw-body,
body.page-Main_Page #content {
margin-top: 0 !important;
padding-top: 0 !important;
}
/* Add clean spacing below the header */
body.page-Main_Page .mw-body-content {
padding-top: 0 !important;
}
/* HERO SECTION */
.bw-hero {
padding: 60px 30px; /* reduced height */
text-align: center;
background: white;
/* thinner tricolor line */
border-top: 4px solid transparent;
border-image: linear-gradient(to right,
#FF9933, /* saffron */
white,
#138808 /* green */
) 1;
border-radius: 8px 8px 0 0;
margin-bottom: 0;
}
/* WELCOME TEXT — remove underline + reduce spacing */
.bw-welcome {
font-size: 48px;
font-weight: 700;
margin: 0 0 10px 0 !important;
padding: 0 !important;
border: none !important; /* remove default underline */
}
.bw-brand {
color: #3366cc;
}
/* SUBTEXT */
.bw-tagline {
font-size: 18px;
color: #555;
margin: 0 0 25px 0;
}
/* SEARCH BAR */
.bw-search-form {
display: inline-flex;
gap: 10px;
}
.bw-search-input {
width: 360px;
padding: 12px 16px;
font-size: 16px;
border: 2px solid #ccc;
border-radius: 8px;
}
.bw-search-btn {
padding: 12px 20px;
background: #0b57d0;
color: white;
font-size: 16px;
border: none;
border-radius: 8px;
cursor: pointer;
}
.bw-search-btn:hover {
background: #0847b0;
}
.bio-box {
float: right;
width: 300px;
margin-left: 20px;
margin-bottom: 20px;
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 10px;
}
.bio-img {
text-align: center;
margin-bottom: 10px;
}
.bio-caption {
font-size: 14px;
font-weight: bold;
margin-top: 6px;
color: #333;
}
.verified-badge {
vertical-align: middle;
margin-left: 4px;
}
.bio-table {
width: 100%;
border-collapse: collapse;
}
.bio-table th {
width: 35%;
padding: 6px;
background: #f5f7ff;
font-weight: bold;
text-align: left;
}
.bio-table td {
padding: 6px;
}