MediaWiki:Common.css: Difference between revisions
Chaudharydsn (talk | contribs) mNo edit summary |
Chaudharydsn (talk | contribs) mNo edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | |||
.gov-verified-tick { | /* ================================================================= */ | ||
/* 1. VERIFIED TICK BADGES & GENERAL UTILITIES */ | |||
/* ================================================================= */ | |||
.gov-verified-tick, | |||
.savrosi-verified-tick { | |||
display: inline-block; | display: inline-block; | ||
width: | width: 30px; | ||
height: | height: 30px; | ||
background-image: url('https://govpillars.com/images/2/22/Verified.png'); | background-image: url('https://govpillars.com/images/2/22/Verified.png'); | ||
background-size: contain; | background-size: contain; | ||
| Line 11: | Line 15: | ||
vertical-align: middle; | vertical-align: middle; | ||
margin-left: 6px; | margin-left: 6px; | ||
} | |||
/* Hide the category box on the Main Page only */ | |||
.page-Main_Page #catlinks { | |||
display: none !important; | |||
} | |||
/* ================================================================= */ | |||
/* 2. DEFAULT BRAND THEME: SAVROSI.ORG (HEADINGS) */ | |||
/* ================================================================= */ | |||
.mw-parser-output h2 { | |||
color: #0F172A; /* Midnight Navy */ | |||
font-family: 'Cinzel', 'Georgia', serif; | |||
} | |||
.mw-parser-output h3 { | |||
color: #0F172A; /* Midnight Navy */ | |||
font-family: 'Georgia', serif; | |||
} | |||
.mw-parser-output h4 { | |||
color: #C59B27; /* Champagne Gold Accent */ | |||
font-family: 'Georgia', serif; | |||
} | |||
/* ================================================================= */ | |||
/* 3. SAVROSI PORTABLE INFOBOX STYLING (INDIVIDUAL & COMPANY) */ | |||
/* ================================================================= */ | |||
.savrosi-template-individual .portable-infobox, | |||
.savrosi-template-company .portable-infobox { | |||
width: 300px !important; /* Compact width to save vertical space */ | |||
float: right !important; | |||
margin: 0 0 15px 15px !important; | |||
border: 1px solid #E2E8F0 !important; | |||
border-top: 4px solid #C59B27 !important; /* Champagne Gold Accent */ | |||
background-color: #FFFFFF !important; | |||
box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important; | |||
border-radius: 6px !important; | |||
font-family: 'Segoe UI', Helvetica, Arial, sans-serif !important; | |||
font-size: 12.5px !important; | |||
} | |||
/* Infobox Main Title */ | |||
.savrosi-template-individual .pi-title, | |||
.savrosi-template-company .pi-title { | |||
background-color: #0F172A !important; /* Midnight Navy */ | |||
color: #FFFFFF !important; | |||
font-family: 'Cinzel', 'Georgia', serif !important; | |||
font-size: 17px !important; | |||
padding: 8px 10px !important; | |||
text-align: center !important; | |||
letter-spacing: 0.5px !important; | |||
} | |||
/* Group Section Headers */ | |||
.savrosi-template-individual .pi-header, | |||
.savrosi-template-company .pi-header { | |||
background-color: #0F172A !important; /* Midnight Navy */ | |||
color: #C59B27 !important; /* Champagne Gold Text */ | |||
font-family: 'Georgia', serif !important; | |||
font-size: 11px !important; | |||
text-transform: uppercase !important; | |||
letter-spacing: 1px !important; | |||
padding: 5px 8px !important; | |||
} | |||
/* Label Column: Allocated width & vertical alignment to prevent multi-line wrapping */ | |||
.savrosi-template-individual .pi-data-label, | |||
.savrosi-template-company .pi-data-label { | |||
width: 35% !important; | |||
color: #0F172A !important; /* Midnight Navy */ | |||
font-weight: 600 !important; | |||
font-size: 12px !important; | |||
padding: 4px 6px !important; | |||
vertical-align: top !important; | |||
} | |||
/* Value Column: Tight padding & clean line height */ | |||
.savrosi-template-individual .pi-data-value, | |||
.savrosi-template-company .pi-data-value { | |||
color: #334155 !important; | |||
font-size: 12px !important; | |||
padding: 4px 6px !important; | |||
line-height: 1.4 !important; | |||
} | |||
/* Mobile Responsiveness for Infoboxes */ | |||
@media screen and (max-width: 768px) { | |||
.savrosi-template-individual .portable-infobox, | |||
.savrosi-template-company .portable-infobox { | |||
width: 100% !important; | |||
float: none !important; | |||
margin: 0 0 20px 0 !important; | |||
} | |||
} | |||
/* ================================================================= */ | |||
/* 4. LEGACY BRAND THEME: GOVPILLARS (SCOPED OVERRIDES) */ | |||
/* Retains Red & Pink theme for legacy templates */ | |||
/* ================================================================= */ | |||
.template-officer-profile h2, | |||
.template-officer-profile-hindi h2, | |||
.template-gov-ecosystem-english h2, | |||
.template-gov-ecosystem-hindi h2, | |||
.govpillars-legacy h2 { | |||
color: #D71A21 !important; /* GovPillars Primary Red */ | |||
font-family: 'Georgia', serif !important; | |||
} | |||
.template-officer-profile h3, | |||
.template-officer-profile-hindi h3, | |||
.template-gov-ecosystem-english h3, | |||
.template-gov-ecosystem-hindi h3, | |||
.govpillars-legacy h3 { | |||
color: #BB1F5B !important; /* GovPillars Secondary Pink */ | |||
font-family: 'Georgia', serif !important; | |||
} | } | ||