MediaWiki:Common.css

From Sarkari Result. India's No.1 Govt Job Portal
Revision as of 03:49, 23 November 2025 by Nishanttaliyan08 (talk | contribs) (Created page with "CSS placed here will be applied to all skins: =========================== S A R K A R I R E S U L T PROFESSIONAL UI THEME ===========================: Global Font: body, #content { font-family: "Roboto", "Segoe UI", sans-serif; line-height: 1.55; color: #1a1a1a; } Main Color Branding: :root { --sr-primary: #c92a2a; SarkariResult Red: --sr-primary-dark: #a4161a; --sr-green: #2d6a4f; --sr-blue: #1d4e89;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
/* CSS placed here will be applied to all skins */
/* ===========================
   S A R K A R I   R E S U L T
   PROFESSIONAL UI THEME
   =========================== */

/* Global Font */
body, #content {
    font-family: "Roboto", "Segoe UI", sans-serif;
    line-height: 1.55;
    color: #1a1a1a;
}

/* Main Color Branding */
:root {
    --sr-primary: #c92a2a;     /* SarkariResult Red */
    --sr-primary-dark: #a4161a;
    --sr-green: #2d6a4f;
    --sr-blue: #1d4e89;
    --sr-bg: #f8f9fa;
}

/* Header (Vector + Minerva) */
#mw-head, .minerva-header {
    background: var(--sr-primary) !important;
    color: white !important;
}

#p-logo a {
    background-size: contain !important;
}

/* Links */
a {
    color: var(--sr-primary-dark);
    font-weight: 500;
}
a:hover {
    color: var(--sr-primary);
    text-decoration: underline;
}

/* Section Headings */
h1, h2, h3, h4 {
    color: var(--sr-primary-dark);
    font-weight: 700;
    border-bottom: 2px solid #e6e6e6;
    padding-bottom: 4px;
}

/* Navigation Box (Wikipedia style) */
.wikitable th {
    background: var(--sr-blue);
    color: white;
    font-weight: 600;
}

.wikitable td {
    background: #ffffff;
}

/* Sarkari Result Highlight Box */
.sr-box {
    border: 2px solid var(--sr-primary);
    padding: 12px;
    background: #fff5f5;
    border-radius: 6px;
}

/* Buttons */
.sr-btn {
    display: inline-block;
    padding: 8px 14px;
    background: var(--sr-primary);
    color: white !important;
    border-radius: 4px;
    font-weight: 600;
}
.sr-btn:hover {
    background: var(--sr-primary-dark);
}

/* Home Page Layout */
.sr-main {
    background: var(--sr-bg);
    padding: 15px;
    border-radius: 6px;
}

/* Sidebar Styling */
#mw-panel {
    background: white !important;
    border-right: 1px solid #e6e6e6;
}

#p-navigation .portal h3 {
    background: var(--sr-primary);
    color: white;
    padding: 6px;
    border-radius: 4px;
}

/* Footer */
#footer {
    background: #f1f1f1 !important;
    border-top: 3px solid var(--sr-primary);
    padding-top: 10px;
}
#footer a {
    color: var(--sr-primary);
}

/* Mobile Optimizations */
@media(max-width: 720px) {
    .sr-main, .wikitable {
        width: 100% !important;
        display: block;
    }
}