|
|
| (89 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| /* ═══════════════════════════════════════════════════════════════════ | | /* ═══════════════════════════════════════════════════════════════════ |
| MediaWiki:Common.css — grantha.io (v6 additions) | | MediaWiki:Common.css — Anandamakaranda |
| Paste this entire block INTO your existing Common.css, replacing
| | Clean rebuild — works on Vector (desktop) + Minerva (mobile) |
| or appending as appropriate. Sections marked NEW are net additions.
| |
| ═══════════════════════════════════════════════════════════════════ */ | | ═══════════════════════════════════════════════════════════════════ */ |
|
| |
|
| /* ── Fonts ────────────────────────────────────────────────────── */ | | /* ── 1. CSS VARIABLES ──────────────────────────────────────────── */ |
| | :root { |
| | --maroon: #be100e; |
| | --orange: #e65100; |
| | --light-orange: #f57c00; |
| | --dark-gray: #555; |
| | --light-gray: #eee; |
| | --muted-gray: #888; |
| | --text: #1a1a1a; |
| | --brown: #a07040; |
| | --light-brown: #e8d4a0; |
| | } |
| | |
| | /* ── 2. FONTS ──────────────────────────────────────────────────── */ |
| @font-face { | | @font-face { |
| font-family: "Adishila"; | | font-family: "Adishila"; |
| Line 16: |
Line 28: |
| font-weight: bold; font-style: normal; | | font-weight: bold; font-style: normal; |
| } | | } |
| | @font-face { |
| | font-family: "AdishilaDev"; |
| | src: url("/resources/fonts/AdishilaDev.ttf") format("truetype"); |
| | font-weight: normal; font-style: normal; |
| | } |
| | @font-face { |
| | font-family: "AdishilaDev"; |
| | src: url("/resources/fonts/AdishilaDeBv.ttf") format("truetype"); |
| | font-weight: bold; font-style: normal; |
| | } |
| | @font-face { |
| | font-family: "AdishilaDevGuru"; |
| | src: url("/resources/fonts/AdishilaDevGuru.ttf") format("truetype"); |
| | font-weight: bold; font-style: normal; |
| | } |
| | @font-face { |
| | font-family: "Noto Sans Devanagari"; |
| | src: url("/resources/fonts/Noto_Sans_Devanagari/NotoSansDevanagari.ttf") format("truetype"); |
| | font-weight: normal; font-style: normal; |
| | } |
| | |
| | /* ── Icon base ──────────────────────────────────────────────────── */ |
| | .gra-icon { |
| | display: inline-block; |
| | width: 20px; |
| | height: 20px; |
| | background-size: contain; |
| | background-repeat: no-repeat; |
| | background-position: center; |
| | flex-shrink: 0; |
| | } |
| | /* comment.svg → Feedback (flag/report) */ |
| | .gra-icon-feedback { background-image: url('/images/feedback.svg'); } |
| | /* notes.svg → Notes */ |
| | .gra-icon-note { background-image: url('/images/notes.svg'); } |
| | .gra-icon-bookmark { background-image: url('/images/bookmark.svg'); } |
| | .gra-icon-copy { background-image: url('/images/copy.svg'); } |
| | .gra-icon-search { background-image: url('/images/search.svg'); } |
| | .gra-icon-dismiss { background-image: url('/images/close.svg'); } |
| | .gra-icon-prev { background-image: url('/images/prev.svg'); } |
| | .gra-icon-next { background-image: url('/images/next.svg'); } |
|
| |
|
| .mw-parser-output,
| | #mw-content-text { |
| .mw-parser-output *,
| | font-family: 'Adishila'; |
| .mw-parser-output pre,
| |
| .mw-parser-output code,
| |
| .mw-parser-output tt,
| |
| .mw-parser-output kbd {
| |
| font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; | |
| } | | } |
|
| |
|
| .mw-parser-output { | | .mw-parser-output { |
| font-size: 22px; | | font-size: 22px; |
| line-height: 1.6; | | line-height: 1.7; |
| color: #555; | | color: #555; |
| max-width: 100%; | | max-width: 100%; |
| Line 36: |
Line 84: |
| } | | } |
|
| |
|
| | // Danda marks wrap issue |
| | .mw-parser-output { overflow-wrap: anywhere; } |
| | |
| | /* ── 4. HIDE ELEMENTS (both skins) ────────────────────────────── */ |
| | /* Page title */ |
| h1.firstHeading, #firstHeading, .mw-page-title-main { display: none !important; } | | h1.firstHeading, #firstHeading, .mw-page-title-main { display: none !important; } |
| | /* Footer */ |
| | #footer, .mw-footer, .vector-footer, .vector-footer-container, |
| | footer, .minerva-footer { display: none !important; } |
| | /* Categories */ |
| | .catlinks, #catlinks, .mw-normal-catlinks, .mw-hidden-catlinks { display: none !important; } |
| | /* Edit section links */ |
| | .mw-editsection, .mw-editsection-bracket { display: none !important; } |
| | /* Site notice */ |
| | #siteNotice { display: none !important; } |
| | /* Watchlist */ |
| | li#pt-watchlist, li#pt-watchlist-kbd { display: none !important; } |
| | /* Appearance panel */ |
| | #vector-appearance, #vector-appearance-pinned-container, |
| | #vector-appearance-unpinned-container, .mw-portlet-appearance, |
| | #p-appearance, [aria-controls="vector-appearance"] { display: none !important; } |
| | /* Vector hamburger + sidebar */ |
| | #mw-sidebar-button, .vector-main-menu, .vector-main-menu-container, |
| | .vector-main-menu-landmark, #vector-main-menu-dropdown { display: none !important; } |
| | /* Vector search box (we use our own) */ |
| | #p-search, .vector-search-box, .vector-search-box-vue, |
| | .vector-search-box-collapses { display: none !important; } |
| | /* Vector page toolbar */ |
| | .vector-page-toolbar, .vector-page-toolbar-container { display: none !important; } |
| | /* Vector page tools */ |
| | .vector-page-tools { display: none !important; } |
| | /* Empty paragraphs */ |
| | .mw-parser-output p:empty, |
| | .mw-parser-output > div > p:empty, |
| | .mw-heading + p:empty, |
| | .adhyaya-block + p:empty, |
| | .verse-block + p:empty { display: none !important; margin: 0 !important; } |
| | /* Empty divs */ |
| | .adhyaya-block:empty, .mw-parser-output div:empty { display: none !important; } |
| | /* Cargo hidden */ |
| | .cargo-store-only { display: none !important; } |
|
| |
|
| .mw-parser-output h1, | | /* ── 5. VECTOR HEADER (desktop only) ──────────────────────────── */ |
| .mw-parser-output h2, | | .vector-header-container { |
| .mw-parser-output h3,
| | background: #b5451b !important; |
| .mw-parser-output h4, | | border-bottom: 1px solid rgba(255,255,255,0.12); |
| .mw-parser-output .mw-heading h1,
| | } |
| .mw-parser-output .mw-heading h2,
| | .vector-header { |
| .mw-parser-output .mw-heading h3 { | | background: transparent !important; |
| font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; | | max-width: 100% !important; |
| border: none !important; border-bottom: none !important; | | display: flex !important; |
| padding: 0 !important; background: none !important; | | align-items: center !important; |
| | justify-content: space-between !important; |
| | padding-left: 20px !important; |
| | padding-right: 20px !important; |
| | } |
| | .vector-header-start { |
| | flex: 0 0 auto !important; |
| | display: flex !important; |
| | align-items: center !important; |
| | gap: 12px; |
| | } |
| | .vector-header-end { |
| | flex: 0 0 auto !important; |
| | display: flex !important; |
| | align-items: center !important; |
| | gap: 16px; |
| | margin-left: auto; |
| } | | } |
| | .mw-logo { display: flex !important; align-items: center; opacity: 1 !important; } |
| | .mw-logo-icon { width: 24px; height: 24px; } |
|
| |
|
| .mw-parser-output .mw-heading { | | /* Site name */ |
| border: none !important; border-bottom: none !important; | | .mw-logo-wordmark { |
| margin: 0; padding: 0; | | font-size: 0 !important; |
| | white-space: nowrap; |
| | display: flex !important; |
| | flex-direction: column !important; |
| | } |
| | .mw-logo-wordmark::before { |
| | content: 'Anandamakaranda'; |
| | font-size: 17px; |
| | font-weight: 700; |
| | color: #fff; |
| | font-family: system-ui, -apple-system, sans-serif; |
| | letter-spacing: -0.01em; |
| | } |
| | .mw-logo-wordmark::after { |
| | content: "A Digital Archive of Dvaita Vedanta Literature"; |
| | display: block; |
| | font-size: 11px; |
| | font-weight: 400; |
| | color: rgba(255,255,255,0.85); |
| | letter-spacing: 0.3px; |
| | margin-top: 1px; |
| | font-family: sans-serif; |
| } | | } |
|
| |
|
| .gr-doc-title { | | /* Header right links */ |
| font-size: 1.6em; font-weight: 500; color: #1a1a1a;
| | .vector-header-end > *:not(#p-search) { color: rgba(255,255,255,0.9) !important; } |
| line-height: 1.4; margin: 0 0 16px; border: none !important;
| | .vector-user-links a { color: rgba(255,255,255,0.9) !important; } |
| | |
| | /* User icon white */ |
| | .vector-user-menu-container .vector-icon svg, |
| | .vector-user-menu-container .vector-icon svg path, |
| | .vector-user-menu-container .vector-icon svg circle { |
| | fill: #fff !important; stroke: #fff !important; |
| | } |
| | .vector-user-links .vector-user-menu-chevron .vector-icon svg, |
| | .vector-user-links .vector-user-menu-chevron .vector-icon svg path { |
| | fill: rgba(255,255,255,0.9) !important; |
| } | | } |
|
| |
|
| /* ── Chapter / section headings ──────────────────────────────── */ | | /* User dropdown — dark text on white card */ |
| .adhyaya-block h2, | | .vector-user-menu .mw-list-item a, |
| .adhyaya-heading, | | .vector-user-menu .vector-menu-content-list a, |
| .mw-parser-output .mw-heading2 h2, | | #p-personal .vector-menu-content a, |
| .mw-parser-output h2 { | | .mw-portlet-personal .vector-menu-content a { color: #202122 !important; } |
| font-size: 1.2em !important; font-weight: 500 !important;
| | .vector-user-menu .mw-list-item a:hover { color: var(--light-orange) !important; } |
| color: #f57c00 !important; line-height: 1.8;
| |
| margin: 24px 0 4px !important; padding: 0 !important;
| |
| border: none !important;
| |
| border-bottom: 2px dotted #f57c00 !important;
| |
| width: 75%;
| |
| } | |
|
| |
|
| .mw-parser-output .mw-heading3 h3,
| | /* Suppress Vector sticky header clone */ |
| .mw-parser-output h3 { | | .vector-sticky-header { display: none !important; } |
| font-size: 1em !important; font-weight: 500 !important;
| |
| color: #e65100 !important; line-height: 1.5;
| |
| margin: 24px 0 8px !important; padding: 0 !important;
| |
| border: none !important;
| |
| border-bottom: 1px dotted #e65100 !important;
| |
| width: 55%;
| |
| } | |
|
| |
|
| .mw-heading .mw-editsection, | | /* Suppress body top padding that Vector adds */ |
| .adhyaya-block .mw-editsection { display: none !important; }
| | .mw-body { margin-top: 0 !important; padding-top: 0 !important; } |
|
| |
|
| .mw-parser-output p { margin: 0 0 0.6rem; } /* REDUCED */ | | /* ── 6. VECTOR TOC (desktop sidebar) ──────────────────────────── */ |
| .mw-parser-output p:empty, | | .vector-toc .vector-toc-numb { display: none !important; } |
| .mw-parser-output > div > p:empty, | | .vector-toc .vector-toc-title { |
| .mw-heading + p:empty, | | font-size: 0.72em !important; font-weight: 700 !important; |
| .mw-heading2 + p:empty, | | text-transform: uppercase; letter-spacing: 0.08em; |
| .adhyaya-block + p:empty, | | color: var(--text) !important; |
| .verse-block + p:empty { | | font-family: 'Adishila', 'Noto Serif Devanagari', system-ui, sans-serif !important; |
| display: none !important; margin: 0 !important; | | } |
| | .vector-toc .vector-toc-text { |
| | white-space: normal !important; word-break: break-word !important; |
| | overflow-wrap: anywhere !important; display: inline !important; |
| | font-family: 'Adishila', 'Noto Serif Devanagari', system-ui, sans-serif !important; |
| | } |
| | .vector-toc a, .vector-toc .vector-toc-link { |
| | font-size: 1rem !important; |
| | font-family: 'Adishila', 'Noto Serif Devanagari', system-ui, sans-serif !important; |
| | color: var(--text) !important; text-decoration: none !important; |
| | } |
| | .vector-toc a:hover { color: var(--light-orange) !important; } |
| | .vector-toc .vector-toc-list-item-active .vector-toc-link, |
| | .vector-toc .vector-toc-list-item-active .vector-toc-link * { |
| | color: var(--light-orange) !important; font-weight: 700 !important; |
| | } |
| | .vector-toc .cdx-button.vector-toc-toggle { |
| | background: none !important; border: none !important; |
| | box-shadow: none !important; color: var(--text) !important; |
| } | | } |
|
| |
|
| /* ── Verse blocks — tightened spacing ────────────────────────── */ | | /* ── 7. HEADINGS ───────────────────────────────────────────────── */ |
| .shloka-block { | | .mw-parser-output h1, .mw-parser-output h2, .mw-parser-output h3, .mw-parser-output h4, |
| display: block; | | .mw-parser-output .mw-heading h1, .mw-parser-output .mw-heading h2, |
| text-align: left; | | .mw-parser-output .mw-heading h3 { |
| margin: 3px 0 0;
| | font-family: 'Adishila', 'Noto Serif Devanagari', serif; |
| | border: none !important; padding: 0 !important; background: none !important; |
| } | | } |
| | .mw-parser-output .mw-heading { border: none !important; margin: 0; padding: 0; } |
|
| |
|
| .shloka-line { | | .mw-heading, .mw-heading2, .mw-heading3 { text-align:center; } |
| display: block; | | .mw-parser-output h2, .mw-parser-output .mw-heading2 h2 { |
| font-style: normal; | | font-size: 1.2em !important; font-weight: 500 !important; |
| color: #333; | | color: var(--maroon) !important; line-height: 1.8; |
| line-height: 1.35; | | margin: 24px 0 4px !important; |
| margin: 0; | | border-bottom: 2px dotted var(--maroon) !important; |
| | width: 75%; font-family: 'AdishilaDev'; text-align: center; |
| | } |
| | .mw-parser-output h3, .mw-parser-output .mw-heading3 h3 { |
| | font-size: 1em !important; font-weight: 500 !important; |
| | color: var(--orange) !important; line-height: 1.5; |
| | margin: 24px 0 8px !important; |
| | border-bottom: 1px dotted var(--orange) !important; |
| | width: 55%; font-family: 'AdishilaDev'; text-align: center; |
| } | | } |
|
| |
|
| .verse-block { | | /* ── 8. PARAGRAPHS ─────────────────────────────────────────────── */ |
| display: block; | | .mw-parser-output p { margin: 0 0 0.35rem !important; } |
| margin: 6px 0 0; /* REDUCED from 10px */ | | |
| text-align: left; | | /* ── 9. DOCUMENT TITLE ─────────────────────────────────────────── */ |
| | .gr-doc-title { |
| | font-size: 2em; font-weight: 500; color: var(--maroon); |
| | line-height: 1.4; margin: 0 0 16px; border: none !important; |
| | text-align:center; font-family: 'AdishilaDev'; |
| } | | } |
|
| |
|
| | /* ── 10. VERSE BLOCKS ──────────────────────────────────────────── */ |
| | .shloka-block { display: block; text-align: left; margin: 3px 0 0; padding-bottom: 0.5em; } |
| | .shloka-line { display: block; font-style: normal; color: #333; line-height: 1.35; margin: 0; } |
| | .verse-block { display: block; margin: 6px 0 0; text-align: left; } |
| .verse-block .shloka-block { text-align: left; margin: 0; } | | .verse-block .shloka-block { text-align: left; margin: 0; } |
|
| |
| .verse-block .shloka-line { | | .verse-block .shloka-line { |
| display: block; | | display: block; font-style: italic; color: #c65; |
| font-style: italic;
| | font-weight: 500; line-height: 1.35; margin: 0; |
| color: #c65;
| |
| font-weight: 500; | |
| line-height: 1.35;
| |
| margin: 0;
| |
| } | | } |
| | .verse-block + p { display: none !important; margin: 0 !important; } |
| | .mw-parser-output .verse-block, |
| | .mw-parser-output .shloka-block { margin-top: 2px !important; margin-bottom: 2px !important; } |
|
| |
|
| .verse-block + p { display: none !important; margin: 0 !important; } | | .gr-verse-text, .verse-line, .verse-text { |
| | color: #b5451b; font-style: italic; line-height: 1.5; display: block; margin: 0.1em 0; |
| | } |
| | .gr-verse-type-sutra .gr-verse-text, |
| | .verse-block[data-type="sutra"] .verse-line { font-style: normal; font-weight: 600; color: #b5451b; } |
|
| |
|
| /* ── Uvacha ───────────────────────────────────────────────────── */ | | /* ── 11. UVACHA ────────────────────────────────────────────────── */ |
| .uvacha-block { | | .uvacha-block { |
| display: block; | | display: block; font-weight: bold; color: #c65; |
| font-weight: bold; color: #c65;
| | margin: 0.5rem 0 0; padding: 2px 0 2px 12px; |
| margin: 0.5rem 0 0; | | border-left: 3px solid #c65; font-style: normal; |
| padding: 2px 0 2px 12px;
| |
| border-left: 3px solid #c65; | |
| text-align: left; font-style: normal;
| |
| } | | } |
| .uvacha-block + .verse-block { margin-top: 2px; } | | .uvacha-block + .verse-block { margin-top: 2px; } |
| | .gr-uvaaca, .uvaaca { |
| | color: #b5451b; font-weight: 600; font-size: 0.92em; margin: 0.5em 0 0.2em 0; display: block; |
| | } |
|
| |
|
| /* ── Bhashyam ─────────────────────────────────────────────────── */ | | /* ── 12. BHASHYAM ──────────────────────────────────────────────── */ |
| .bhashyam-block { | | .bhashyam-block { |
| display: block; | | display: block; font-size: 1em; line-height: 1.6; color: #555; |
| font-size: 1em; line-height: 1.6;
| | margin: 0.25em 0 0.35em 48px; padding: 0; border: none; background: transparent; |
| color: #555;
| | } |
| margin: 0.25em 0 0.35em 48px; | | .gr-bhashyam, .commentary-bhashyam { |
| padding: 0; border: none; background: transparent;
| | color: #222; font-style: normal; line-height: 1.75; margin: 0.3em 0 0.5em 0; |
| } | | } |
| | .gr-leading-bhashya { font-style: italic; color: #555; margin: 0.4em 0 0.5em 0; } |
|
| |
|
| /* ── Padya ────────────────────────────────────────────────────── */ | | /* ── 13. PADYA ─────────────────────────────────────────────────── */ |
| .padya-block { | | .padya-block { |
| display: block; font-size: 1em; line-height: 1.75; | | display: block; font-size: 1em; line-height: 1.75; color: #c65 !important; |
| color: #c65 !important; font-style: italic; font-weight: 500;
| | font-style: italic; font-weight: 500; margin: 0.4em 0 0.6em 60px; |
| margin: 0.4em 0 0.6em 60px; padding: 0; border: none; background: transparent;
| |
| } | | } |
| | .gr-padapatha { font-size: 0.9em; color: #555; margin: 0.2em 0 0.3em 0.8em; } |
|
| |
|
| /* ── Prateeka (inline bold lemma) ────────────────────────────── */ | | /* ── 14. TEEKA ─────────────────────────────────────────────────── */ |
| .gr-prateeka { font-weight: bold; font-style: normal; color: #333; } | |
| | |
| /* ── Mulaprateeka (block-level centered bold) ────────────────── */
| |
| .gr-mulaprateeka-block {
| |
| display: block; font-weight: bold; font-style: normal;
| |
| text-align: center; color: #333;
| |
| margin: 0.7em 0 0.3em; line-height: 1.5;
| |
| }
| |
| | |
| /* ── Moola (inline highlighted source text) ──────────────────── */
| |
| .gr-moola { font-weight: bold; font-style: italic; color: #c65; }
| |
| | |
| /* ── Teeka ────────────────────────────────────────────────────── */
| |
| /* NEW — teeka now has a subtle warm background (was unstyled) */
| |
| .teeka-block { | | .teeka-block { |
| border-radius: 5px;
| | padding: 6px 10px 8px; margin: 0.3em 0; line-height: 1.6; color: #555; |
| padding: 6px 10px 8px; | |
| margin: 0.3em 0;
| |
| font-size: 0.92em;
| |
| line-height: 1.6;
| |
| color: #555;
| |
| background: #fffdf5;
| |
| border: 1px solid #f0e0b0;
| |
| } | | } |
| .teeka-title { | | .teeka-title { |
| font-family: system-ui, -apple-system, sans-serif !important; | | font-family: 'AdishilaDev';, sans-serif !important; |
| font-size: 0.75em; font-weight: 700; | | font-size: 1.75em; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; |
| letter-spacing: 0.06em; text-transform: uppercase;
| | margin-bottom: 4px; padding-bottom: 3px; |
| color: #a07040; margin-bottom: 4px; padding-bottom: 3px; | |
| border-bottom: 1px solid #e8d4a0;
| |
| } | | } |
| .teeka-body { font-family: inherit; margin: 0; } | | .teeka-body .shloka-block { |
| .teeka-block .shloka-block {
| | margin: 0.4em 0; padding: 0.3em 0.6em; font-family: 'AdishilaDev'; |
| margin: 0 0 0.35em; | |
| text-align: left;
| |
| padding: 0;
| |
| } | | } |
| .teeka-block .shloka-line { | | .teeka-body .shloka-line { font-style: italic; font-size: 0.97em; font-family: 'AdishilaDev'; } |
| display: block; font-style: italic; color: #be100e;
| | |
| line-height: 1.4; font-size: 0.97em; margin: 0;
| | /* ── 15. PRATEEKA / MOOLA ──────────────────────────────────────── */ |
| }
| | .gr-prateeka { font-weight: bold; font-style: normal; color: #333; } |
| /* Vyakhya sub-headings rendered as h4 (wikitext === not parsed inside divs) */ | | .gr-mulaprateeka-block { |
| .gr-vyakhya-head, .gr-section-head { | | display: block; font-weight: bold; font-style: normal; |
| font-size: 0.88em; font-weight: 700; | | text-align: center; color: #333; margin: 0.7em 0 0.3em; line-height: 1.5; |
| color: #6a3e00; margin: 0.4em 0 0.2em; | |
| font-family: inherit;
| |
| border: none;
| |
| } | | } |
| | .gr-moola { font-weight: bold; font-style: italic; color: #c65; } |
|
| |
|
| /* ── Adhyaya block ────────────────────────────────────────────── */ | | /* ── 16. ADHYAYA ───────────────────────────────────────────────── */ |
| .adhyaya-block { margin: 0 0 4px; } | | .adhyaya-block { margin: 0 0 4px; } |
| .adhyaya-trans { font-size: 0.9em; color: #666; margin: 2px 0 0; } | | .adhyaya-trans { font-size: 0.9em; color: #666; margin: 2px 0 0; } |
| .adhyaya-intro { margin-top: 8px; line-height: 1.75; color: #555; } | | .adhyaya-intro { margin-top: 8px; line-height: 1.75; color: #555; } |
| | .introduction p { color: var(--dark-gray); font-weight: 400; margin: 0 !important; padding: 0 !important; } |
| | .introduction { padding-bottom: 0.5em; text-align: justify; } |
|
| |
|
| /* ── Nyaya ────────────────────────────────────────────────────── */ | | /* ── 17. NYAYA / PRASNA ────────────────────────────────────────── */ |
| .nyaya-block { margin: 32px 0; padding-top: 12px; border-top: 1px solid #eee; } | | .nyaya-block { margin: 32px 0; padding-top: 12px; border-top: 1px solid #eee; } |
| .nyaya-title { | | .nyaya-title { |
| font-size: 1em; font-weight: 500; color: #e65100; | | font-size: 1em; font-weight: 500; color: var(--orange); |
| margin-bottom: 0.4rem; border-bottom: 1px dotted #e65100; width: 50%; | | margin-bottom: 0.4rem; border-bottom: 1px dotted var(--orange); width: 50%; |
| } | | } |
| .nyaya-title span { display: block; font-size: 0.85em; color: #666; }
| |
| .nyaya-body { color: #555; line-height: 1.75; margin-top: 0.5rem; } | | .nyaya-body { color: #555; line-height: 1.75; margin-top: 0.5rem; } |
|
| |
| /* ── Prasna ───────────────────────────────────────────────────── */
| |
| .prasna-block { margin: 32px 0; padding-top: 12px; border-top: 1px solid #eee; } | | .prasna-block { margin: 32px 0; padding-top: 12px; border-top: 1px solid #eee; } |
| .prasna-title { | | .prasna-title { |
| font-size: 1em; font-weight: 500; color: #e65100; | | font-size: 1em; font-weight: 500; color: var(--orange); |
| margin-bottom: 0.4rem; border-bottom: 1px dotted #e65100; width: 50%; | | margin-bottom: 0.4rem; border-bottom: 1px dotted var(--orange); width: 50%; |
| } | | } |
| .prasna-title span { display: block; font-size: 0.85em; color: #666; }
| |
| .prasna-question, .prasna-answer { color: #555; line-height: 1.75; margin-top: 0.5rem; } | | .prasna-question, .prasna-answer { color: #555; line-height: 1.75; margin-top: 0.5rem; } |
| .prasna-answer { margin-left: 60px; } | | .prasna-answer { margin-left: 60px; } |
|
| |
|
| /* ── Verse action buttons ─────────────────────────────────────── */ | | /* ── 18. VYAKHYA ELEMENTS ──────────────────────────────────────── */ |
| | .gr-vyakhya-head, .gr-section-head { |
| | font-size: 0.9em; font-weight: 700; color: #6a3e00; |
| | margin: 0.35em 0 0.15em; font-family: inherit; border: none; padding: 0; |
| | } |
| | .gr-avataranika { |
| | font-style: italic; color: #444; margin: 0.2em 0 0.5em 0.5em; |
| | padding-left: 0.6em; border-left: 2px solid #c9a96e; line-height: 1.6; |
| | } |
| | .gr-vyakhya-pada { |
| | font-size: 0.88em; color: #555; background: #fafafa; |
| | border: 1px solid #e8e0d0; border-radius: 4px; padding: 0.5em 0.8em; |
| | margin: 0.5em 0; line-height: 1.5; white-space: pre-wrap; |
| | } |
| | .gr-vyakhya-gadya { |
| | font-weight: bold; font-size: 0.95em; text-align: center; |
| | color: #8b1a1a; margin: 0.2em 0; line-height: 1.6; letter-spacing: 0.03em; |
| | } |
| | .gr-vyakhya-para { margin: 0 0 0.5em 0; line-height: 1.65; color: #444; } |
| | .gr-embedded-bhashya { margin: 0.2em 0 0.2em 1em; line-height: 1.6; } |
| | .gr-gadya { |
| | display: block !important; font-size: 0.96em !important; font-weight: 600 !important; |
| | font-style: normal !important; color: #555 !important; margin: 16px 0 4px !important; |
| | border-bottom: 1px solid #ddd !important; width: 60%; line-height: 1.5 !important; |
| | } |
| | .gr-author-note { |
| | font-style: italic; color: var(--maroon); text-align: center; font-size: 0.9em; |
| | margin: 0.8em 0 0.4em 0; border-top: 1px solid #ddd; padding-top: 0.4em; font-family: 'AdishilaDev' |
| | } |
| | .gr-devatachandas { font-size: 0.82em; color: #777; margin: 0.4em 0 0.2em 0; } |
| | .gr-vargikarana { font-size: 0.82em; color: #888; margin: 0.5em 0 0.1em 0; } |
| | |
| | /* ── 20. BHASHYA COLLECTION ────────────────────────────────────── */ |
| | .mw-parser-output .bhashya-collection { margin: 0; padding: 0; } |
| | .mw-parser-output .bhashya + p:empty, |
| | .mw-parser-output .verse + p:empty, |
| | .mw-parser-output .bhashya-collection + p:empty, |
| | .mw-parser-output .pramana + p:empty, |
| | .mw-parser-output .author-note + p:empty { display: none !important; margin: 0 !important; height: 0 !important; } |
| | |
| | /* ── 21. VERSE ACTIONS ─────────────────────────────────────────── */ |
| .verse-actions { | | .verse-actions { |
| display: flex; flex-direction: row; | | display: flex; flex-direction: row; align-items: center; |
| align-items: center; gap: 6px; margin-top: 4px;
| | gap: 6px; margin-top: 4px; justify-content: center; |
| padding-left: 2px; justify-content: center;
| |
| } | | } |
| .verse-action-btn { | | .verse-action-btn { |
| display: inline-flex; align-items: center; justify-content: center; | | display: inline-flex; align-items: center; justify-content: center; |
| padding: 4px; border-radius: 6px; cursor: pointer; | | padding: 4px; border-radius: 6px; cursor: pointer; opacity: 0.75; transition: all 0.2s; |
| opacity: 0.75; transition: all 0.2s ease;
| |
| } | | } |
| .verse-action-btn:hover { opacity: 1; background-color: rgba(0,0,0,0.05); } | | .verse-action-btn:hover { opacity: 1; background-color: rgba(0,0,0,0.05); } |
| | | .icon { display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-position: center; background-size: contain; } |
| .icon { | |
| display: inline-block; width: 18px; height: 18px;
| |
| background-repeat: no-repeat; background-position: center;
| |
| background-size: contain; transform: translateY(2px);
| |
| pointer-events: none;
| |
| } | |
| .icon-copy { background-image: url('/images/copy.svg'); } | | .icon-copy { background-image: url('/images/copy.svg'); } |
| .icon-commentary { background-image: url('/images/commentary.svg'); } | | .icon-commentary { background-image: url('/images/commentary.svg'); } |
|
| |
| .copy-tooltip { | | .copy-tooltip { |
| position: absolute; bottom: calc(100% + 8px); left: 50%; | | position: absolute; bottom: calc(100% + 8px); left: 50%; |
| transform: translateX(-50%) translateY(4px); | | transform: translateX(-50%) translateY(4px); |
| white-space: nowrap; pointer-events: none; z-index: 9999; | | white-space: nowrap; pointer-events: none; z-index: 9999; |
| display: inline-flex; align-items: center; | | display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; |
| padding: 2px 8px; border-radius: 999px;
| | font-size: 0.75rem; font-weight: 500; background: rgba(30,30,30,0.82); color: #fff; |
| font-size: 0.75rem; font-weight: 500; | | opacity: 0; transition: opacity 0.2s, transform 0.2s; |
| background: rgba(30,30,30,0.82); color: #fff;
| |
| backdrop-filter: blur(6px); opacity: 0; | |
| transition: opacity 0.2s ease, transform 0.2s ease;
| |
| }
| |
| .copy-tooltip.copy-tooltip-visible {
| |
| opacity: 1; transform: translateX(-50%) translateY(0);
| |
| } | | } |
| | .copy-tooltip.copy-tooltip-visible { opacity: 1; transform: translateX(-50%) translateY(0); } |
|
| |
|
| /* ── Code / pre ───────────────────────────────────────────────── */ | | /* ── 22. CODE / PRE ────────────────────────────────────────────── */ |
| pre, code, .mw-code, tt, kbd { | | pre, code, .mw-code, tt, kbd { |
| font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; | | font-family: 'Adishila', 'Noto Serif Devanagari', serif ; |
| background-color: transparent !important; border: none !important; | | background-color: transparent !important; border: none !important; padding: 0.3em 0 !important; |
| padding: 0.3em 0 !important; line-height: 1.65;
| |
| } | | } |
|
| |
| .mw-collapsible, .mw-collapsible-content, blockquote, .quotebox { | | .mw-collapsible, .mw-collapsible-content, blockquote, .quotebox { |
| background-color: transparent !important; border: none !important; | | background-color: transparent !important; border: none !important; |
| Line 280: |
Line 437: |
| } | | } |
|
| |
|
| .cargo-store-only { display: none !important; }
| | /* ── 23. INLINE TOC BOX (wikitext __TOC__) ─────────────────────── */ |
| | |
| /* ── TOC — inline box ─────────────────────────────────────────── */ | |
| .toc { | | .toc { |
| display: block !important; background: #fffdf5; | | display: block !important; background: #fffdf5; border: 1px solid #e8c88a; |
| border: 1px solid #e8c88a; border-radius: 8px;
| | border-radius: 8px; padding: 12px 16px; margin: 0 0 24px 0; |
| padding: 12px 16px; margin: 0 0 24px 0;
| |
| width: fit-content; min-width: 220px; max-width: 420px; | | width: fit-content; min-width: 220px; max-width: 420px; |
| font-size: 0.9em; line-height: 2; | | font-size: 0.9em; line-height: 2; |
| font-family: 'Adishila', 'Noto Serif Devanagari', serif !important;
| |
| } | | } |
| .toc h2, .toc .toctitle { | | .toc h2, .toc .toctitle { |
| font-size: 0.85em !important; font-weight: 600 !important; | | font-size: 0.85em !important; font-weight: 600 !important; color: var(--text) !important; |
| color: #5a3a00 !important; border: none !important;
| | border: none !important; margin: 0 0 6px !important; text-transform: uppercase; letter-spacing: 0.05em; |
| border-bottom: none !important; width: auto !important; | |
| margin: 0 0 6px !important; text-transform: uppercase; letter-spacing: 0.05em;
| |
| } | | } |
| .toc ul { margin: 0 !important; padding-left: 1.2em !important; list-style: none !important; } | | .toc ul { margin: 0 !important; padding-left: 1.2em !important; list-style: none !important; } |
| .toc li { margin: 0; padding: 0; } | | .toc li { margin: 0; padding: 0; } |
| .toc a { color: #7a4a10 !important; text-decoration: none !important; } | | .toc a { color: var(--text) !important; text-decoration: none !important; } |
| .toc a:hover { color: #f57c00 !important; } | | .toc a:hover { color: var(--light-orange) !important; } |
| .toc .toclevel-1 > a { font-weight: 600; color: #5a3a00 !important; } | | .toc .toclevel-1 > a { font-weight: 600; } |
| .toc .toclevel-2 > a { color: #7a4a10 !important; }
| | .tocnumber { display: none; } |
| .toc .toclevel-3 > a { color: #9a6020 !important; font-size: 0.95em; }
| |
| .tocnumber { color: #aaa; margin-right: 4px; font-size: 0.85em; } | |
|
| |
|
| /* ── Vector 2022 sidebar TOC ──────────────────────────────────── */ | | /* ── 24. DOC TEEKAS + TOC NAV ──────────────────────────────────── */ |
| /* Only override colours, sizes, and chevron styling.
| | .gr-doc-teekas { margin-bottom: 1em; } |
| * Never override display/flex/layout — Vector 2022 manages its own
| | .gr-doc-teekas + p:empty { display: none !important; margin: 0 !important; height: 0 !important; } |
| * TOC layout and overriding it breaks multi-script rendering. */
| | .toc-main-links { display: flex; gap: 6px; padding: 5px; align-items: center; margin-bottom: 4px; } |
| .vector-toc { | | .toc-main-link-item { |
| font-size: 0.95em !important; | | font-size: 0.9em; color: var(--text); text-decoration: none; padding: 4px 8px; |
| line-height: 1.6 !important; | | border-radius: 6px; background: rgba(0,0,0,0.05); transition: background 0.15s; |
| } | | } |
| | .toc-main-link-item:hover { background: rgba(0,0,0,0.10) !important; } |
|
| |
|
| /* "Contents" heading */
| | /* ── 25. MAIN PAGE ─────────────────────────────────────────────── */ |
| .vector-toc .vector-toc-title {
| | body.page-Main_Page #mw-panel, |
| font-size: 0.72em !important;
| | body.page-Main_Page .vector-sidebar-container { display: none !important; } |
| font-weight: 700 !important;
| |
| text-transform: uppercase;
| |
| letter-spacing: 0.08em;
| |
| color: #b07040 !important;
| |
| font-family: system-ui, sans-serif !important;
| |
| margin-bottom: 2px !important;
| |
| }
| |
| | |
| /* Chevron toggle button — colour and size only, no layout override */
| |
| .vector-toc .cdx-button.vector-toc-toggle {
| |
| background: none !important;
| |
| border: none !important;
| |
| box-shadow: none !important;
| |
| color: #9a6030 !important;
| |
| opacity: 1 !important;
| |
| transition: color 0.15s !important;
| |
| }
| |
| .vector-toc .cdx-button.vector-toc-toggle:hover {
| |
| color: #f57c00 !important;
| |
| background: none !important;
| |
| }
| |
| .vector-toc .cdx-button.vector-toc-toggle svg {
| |
| fill: currentColor !important;
| |
| }
| |
| | |
| /* Hide section numbers in TOC — consistent across all scripts */
| |
| .vector-toc .vector-toc-numb {
| |
| display: none !important;
| |
| }
| |
| | |
| /* Allow long section names (Kannada, Tamil, etc.) to wrap rather than
| |
| * overflow or overlap. Vector sets nowrap by default which causes
| |
| * multi-script long titles to bleed out of the sidebar column. */
| |
| .vector-toc .vector-toc-text {
| |
| white-space: normal !important;
| |
| word-break: break-word !important;
| |
| overflow-wrap: anywhere !important;
| |
| line-height: 1.35 !important;
| |
| display: inline !important;
| |
| }
| |
| | |
| | |
| | |
| .vector-toc a,
| |
| .vector-toc .vector-toc-link { color: #5a3a00 !important; text-decoration: none !important; }
| |
| .vector-toc a:hover,
| |
| .vector-toc .vector-toc-link:hover { color: #f57c00 !important; }
| |
| | |
| /* ── TOC ACTIVE ITEM — fixed for Vector 2022 + Common.js span wrapping ─ | |
| *
| |
| * Common.js wraps every text node (including TOC link text) inside a
| |
| * <span data-deva="…"> for transliteration. This means the direct >a
| |
| * child selector fails — we need descendant selectors that reach into
| |
| * the link regardless of span nesting.
| |
| *
| |
| * We also target BOTH the <a> element AND any [data-deva] span inside
| |
| * it to ensure the colour propagates regardless of how deep the span is.
| |
| * ──────────────────────────────────────────────────────────────────── */
| |
| .vector-toc .vector-toc-list-item-active .vector-toc-link, | |
| .vector-toc .vector-toc-list-item-active .vector-toc-link *,
| |
| .vector-toc .vector-toc-list-item-active > a,
| |
| .vector-toc .vector-toc-list-item-active > a *,
| |
| .vector-toc .vector-toc-level-1-active .vector-toc-link,
| |
| .vector-toc .vector-toc-level-1-active .vector-toc-link * {
| |
| color: #f57c00 !important;
| |
| font-weight: 700 !important;
| |
| }
| |
| | |
| .vector-toc .vector-toc-level-1 > .vector-toc-link,
| |
| .vector-toc .vector-toc-level-1 > .vector-toc-link * { | |
| font-weight: 600 !important; color: #3a1f00 !important;
| |
| }
| |
| .vector-toc .vector-toc-level-2 > .vector-toc-link,
| |
| .vector-toc .vector-toc-level-2 > .vector-toc-link * { color: #5a3a00 !important; }
| |
| .vector-toc .vector-toc-level-3 > .vector-toc-link,
| |
| .vector-toc .vector-toc-level-3 > .vector-toc-link * {
| |
| color: #7a5010 !important; font-size: 0.95em !important;
| |
| }
| |
| /* Override for active: must come AFTER level rules */
| |
| .vector-toc .vector-toc-list-item-active .vector-toc-level-1 > .vector-toc-link,
| |
| .vector-toc .vector-toc-list-item-active .vector-toc-level-2 > .vector-toc-link,
| |
| .vector-toc .vector-toc-list-item-active .vector-toc-level-3 > .vector-toc-link {
| |
| color: #f57c00 !important; font-weight: 700 !important;
| |
| }
| |
| | |
| /* ── Doc teekas ───────────────────────────────────────────────── */
| |
| .gr-doc-teekas { margin-bottom: 1em; }
| |
| .gr-doc-teekas + p:empty { display: none !important; margin: 0 !important; height: 0 !important; }
| |
|
| |
|
| /* ── Main page ────────────────────────────────────────────────── */
| |
| .gr-home { max-width: 1080px; margin: 0 auto; padding: 0; } | | .gr-home { max-width: 1080px; margin: 0 auto; padding: 0; } |
| .gr-home-page-title { | | .gr-home-page-title { |
| font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; | | font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; |
| text-align: center; font-size: 1.8em; font-weight: 500; | | text-align: center; font-size: 1.8em; font-weight: 500; color: #1a2e40; margin: 24px 0 32px; |
| color: #1a2e40; margin: 24px 0 32px;
| |
| } | | } |
| .gr-home-grid { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 32px; } | | .gr-home-grid { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 32px; } |
| Line 422: |
Line 482: |
| .gr-home-card-title { | | .gr-home-card-title { |
| font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; | | font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; |
| font-size: 1em; font-weight: 600; color: #1a2e40; | | font-size: 1em; font-weight: 600; color: #1a2e40; text-align: center; |
| text-align: center; padding-bottom: 10px; margin-bottom: 12px;
| | padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1.5px solid #c0392b; |
| border-bottom: 1.5px solid #c0392b;
| |
| } | | } |
| .gr-home-card ol { margin: 0; padding-left: 1.4em; list-style: decimal; } | | .gr-home-card ol { margin: 0; padding-left: 1.4em; list-style: decimal; } |
| Line 434: |
Line 493: |
| .gr-home-group-label { | | .gr-home-group-label { |
| font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; | | font-family: 'Adishila', 'Noto Serif Devanagari', serif !important; |
| font-size: 1.1em; font-weight: 600; color: #1a2e40; | | font-size: 1.1em; font-weight: 600; color: #1a2e40; text-align: center; |
| text-align: center; margin: 36px 0 16px; padding-bottom: 8px;
| | margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 2px solid #c0392b; |
| border-bottom: 2px solid #c0392b;
| |
| }
| |
| | |
| /* ── Modals ───────────────────────────────────────────────────── */
| |
| .grantha-new-btn {
| |
| background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
| |
| color: white; padding: 6px 14px; border-radius: 20px; cursor: pointer; margin-right: 10px;
| |
| }
| |
| .grantha-modal {
| |
| position: fixed; inset: 0; background: rgba(0,0,0,0.35);
| |
| display: flex; align-items: center; justify-content: center; z-index: 10000;
| |
| } | | } |
| .grantha-modal-box { background: white; padding: 20px; border-radius: 10px; width: 300px; }
| |
| .gm-title { font-weight: bold; margin-bottom: 10px; }
| |
| .gm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
| |
|
| |
| /* ── Main page sidebar hide ───────────────────────────────────── */
| |
| body.page-Main_Page #mw-panel,
| |
| body.page-Main_Page .vector-sidebar-container { display: none !important; }
| |
| body.page-Main_Page #footer { display: none !important; }
| |
|
| |
|
| /* ── Main page view toggle ────────────────────────────────────── */ | | /* ── 26. TOGGLE BUTTONS ────────────────────────────────────────── */ |
| .gr-home-toggle { display: flex; gap: 8px; margin: 0 0 24px; justify-content: center; } | | .gr-home-toggle { display: flex; gap: 8px; margin: 0 0 24px; justify-content: center; } |
| .gr-toggle-btn { | | .gr-toggle-btn { |
| font-family: 'Adishila', 'Noto Serif Devanagari', serif; | | font-family: 'Adishila', 'Noto Serif Devanagari', serif; |
| font-size: 0.88em; padding: 6px 20px; | | font-size: 0.88em; padding: 6px 20px; border: 1.5px solid #c0392b; border-radius: 20px; |
| border: 1.5px solid #c0392b; border-radius: 20px;
| | background: transparent; color: #c0392b; cursor: pointer; user-select: none; transition: background 0.15s, color 0.15s; |
| background: transparent; color: #c0392b; | |
| cursor: pointer; user-select: none; transition: background 0.15s, color 0.15s;
| |
| } | | } |
| .gr-toggle-btn:hover { background: #fdf0ed; } | | .gr-toggle-btn:hover { background: #fdf0ed; } |
| .gr-toggle-btn.gr-toggle-active { background: #c0392b; color: #fff; } | | .gr-toggle-btn.gr-toggle-active { background: #c0392b; color: #fff; } |
|
| |
|
| /* ── Script switcher bar ──────────────────────────────────────── */ | | /* ── 27. SCRIPT BAR ────────────────────────────────────────────── */ |
| .gr-script-bar { | | .gr-script-bar { margin: 0 0 20px; font-size: 0.8em; color: #888; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } |
| margin: 0 0 20px; font-size: 0.8em; color: #888;
| |
| display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
| |
| } | |
| .gr-script-label { font-family: system-ui, sans-serif; color: #aaa; } | | .gr-script-label { font-family: system-ui, sans-serif; color: #aaa; } |
| .gr-script-btn { | | .gr-script-btn { font-family: 'Adishila', 'Noto Serif Devanagari', serif; color: #c0392b !important; text-decoration: underline dotted !important; cursor: pointer; } |
| font-family: 'Adishila', 'Noto Serif Devanagari', serif;
| |
| color: #c0392b !important; text-decoration: underline dotted !important; cursor: pointer;
| |
| } | |
| .gr-script-btn.active { color: #888 !important; text-decoration: none !important; cursor: default; } | | .gr-script-btn.active { color: #888 !important; text-decoration: none !important; cursor: default; } |
|
| |
|
| /* ── Vector 2022 header ───────────────────────────────────────── */ | | /* ── 28. MODALS ────────────────────────────────────────────────── */ |
| .vector-header-container { | | .grantha-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.35); display: flex; align-items: center; justify-content: center; z-index: 10000; } |
| background: #b5451b !important;
| | .grantha-modal-box { background: white; padding: 20px; border-radius: 10px; width: 300px; } |
| border-bottom: 1px solid rgba(255,255,255,0.12);
| | .gm-title { font-weight: bold; margin-bottom: 10px; } |
| }
| | .gm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; } |
| .vector-header {
| |
| background: transparent !important; max-width: 100% !important;
| |
| display: flex !important; align-items: center !important;
| |
| justify-content: space-between !important;
| |
| padding-left: 20px !important; padding-right: 20px !important;
| |
| } | |
| .vector-header-start { | |
| flex: 0 0 auto !important; display: flex !important;
| |
| align-items: center !important; gap: 12px;
| |
| } | |
| .vector-header-end { | |
| flex: 0 0 auto !important; display: flex !important;
| |
| align-items: center !important; gap: 16px; margin-left: auto;
| |
| } | |
| .mw-logo { display: flex !important; align-items: center; opacity: 1 !important; } | |
| .mw-logo-wordmark { color: #ffffff !important; font-weight: 700; font-size: 18px; }
| |
| .mw-logo-icon { content: url('/favicon.ico'); width: 24px; height: 24px; }
| |
| /* Invert header icons to white — but NOT the user-links area icons
| |
| * (user menu chevron, login button) which need to remain visible) */
| |
| .vector-header .vector-icon:not(.vector-user-links .vector-icon):not(#vector-user-links-dropdown .vector-icon) {
| |
| filter: invert(1);
| |
| opacity: 0.9;
| |
| }
| |
| /* Keep user-links icons visible at full opacity */
| |
| .vector-user-links .vector-icon,
| |
| #vector-user-links-dropdown .vector-icon,
| |
| .vector-user-menu-container .vector-icon {
| |
| filter: none !important;
| |
| opacity: 1 !important;
| |
| }
| |
| .cdx-search-input .vector-icon, .cdx-search-input svg, .cdx-search-input path,
| |
| .cdx-search-input__end-button .vector-icon, .cdx-search-input__end-button svg,
| |
| .cdx-search-input__end-button path { filter: none !important; fill: #202124 !important; opacity: 1 !important; }
| |
| .vector-header-end > *:not(#p-search) { color: rgba(255,255,255,0.9) !important; }
| |
| .vector-user-links a { color: rgba(255,255,255,0.9) !important; }
| |
| | |
| /* ── Hide: Watchlist, Appearance, fix user-menu dropdown text ──
| |
| *
| |
| * Vector 2022 header (right side, between username and chevron):
| |
| * .mw-portlet-vector-user-menu-overflow — overflow strip (watchlist ≡★)
| |
| * #vector-appearance / pinned/unpinned containers — appearance panel
| |
| *
| |
| * The user-menu dropdown text must be dark (not inherit the white
| |
| * header colour) because it renders on a white card background.
| |
| * ──────────────────────────────────────────────────────────────── */
| |
| | |
| /* 1. Watchlist icon — hide by specific item ID only.
| |
| * Do NOT hide .mw-portlet-vector-user-menu-overflow by class — on some
| |
| * Vector versions that portlet contains the profile/logout links too. */
| |
| li#pt-watchlist,
| |
| li#pt-watchlist-kbd { display: none !important; }
| |
|
| |
|
| /* 2. Appearance panel — every container Vector 2022 might use */ | | /* ── 29. LOGIN PAGE ────────────────────────────────────────────── */ |
| #vector-appearance,
| | body.page-Special_UserLogin .vector-search-box, |
| #vector-appearance-pinned-container,
| | body.page-Special_UserLogin #p-search { display: none !important; } |
| #vector-appearance-unpinned-container,
| | body.page-Special_UserLogin #content { max-width: 420px; margin: 40px auto !important; } |
| .mw-portlet-appearance, | |
| #p-appearance, | |
| .vector-appearance-pinnable-element,
| |
| /* The toggle BUTTON that opens the appearance panel (page-tools area) */
| |
| .vector-page-tools [aria-controls="vector-appearance"], | |
| /* Appearance inside the right-side sticky header overflow */
| |
| .vector-sticky-header [aria-controls="vector-appearance"] { display: none !important; }
| |
|
| |
|
| /* 3. User-menu dropdown card — force dark text on white background */ | | /* ── 30. SPECIAL PAGES ─────────────────────────────────────────── */ |
| /* The chevron (▾) opens .vector-user-menu which has a white card;
| | body.ns-special #footer, body.ns-special .mw-footer, |
| * the inherited header color: white must be overridden here. */
| | body.ns-special .vector-footer { display: none !important; } |
| .vector-user-menu .mw-list-item a, | | body.ns-special .vector-page-tools { display: none !important; } |
| .vector-user-menu .vector-menu-content-list a,
| |
| #p-personal .vector-menu-content a,
| |
| .mw-portlet-personal .vector-menu-content a, | |
| #vector-user-menu-overflow .vector-menu-content a { color: #202122 !important; }
| |
| .vector-user-menu .mw-list-item a:hover, | |
| .vector-user-menu .vector-menu-content-list a:hover { color: #f57c00 !important; }
| |
|
| |
|
| /* ── User dropdown — fix white text inside the menu ───────────── */ | | /* ── 31. MINERVA (mobile) ──────────────────────────────────────── */ |
| /* The dropdown card itself has a white/light background so links
| | .skin-minerva .mw-parser-output { |
| must be dark, not the header-inherited white. */
| | font-size: 18px !important; |
| .vector-user-menu .vector-menu-content, | | line-height: 1.8 !important; |
| .vector-user-menu .vector-menu-content a,
| |
| .vector-user-menu .vector-menu-content .mw-list-item a,
| |
| #pt-userpage, #pt-userpage a,
| |
| .mw-portlet-personal .vector-menu-content a,
| |
| /* OOUI dropdown items */
| |
| .oo-ui-menuSelectWidget a,
| |
| .oo-ui-menuOptionWidget,
| |
| /* Codex menu */
| |
| .cdx-menu__listbox .cdx-menu-item__content,
| |
| .cdx-menu__listbox a {
| |
| color: #202122 !important;
| |
| } | | } |
| .vector-user-menu .vector-menu-content a:hover, | | .skin-minerva .mw-parser-output h2, |
| .mw-portlet-personal .vector-menu-content a:hover { | | .skin-minerva .mw-parser-output .mw-heading2 h2 { |
| color: #f57c00 !important; | | width: 100% !important; |
| background: #fdf3ed !important;
| |
| } | | } |
| | | .skin-minerva .mw-parser-output h3, |
| #p-search { margin-left: 8px; }
| | .skin-minerva .mw-parser-output .mw-heading3 h3 { |
| .vector-search-box, .vector-search-box-expanded, .vector-search-box-auto-expand-width { | | width: 100% !important; |
| min-width: 0 !important; flex-grow: 0 !important; | |
| position: relative !important; margin: 0 !important;
| |
| } | | } |
| .cdx-search-input__input, .cdx-text-input__input { | | .skin-minerva .bhashyam-block { margin-left: 16px !important; } |
| background: #ffffff !important; border: none !important;
| | .skin-minerva .prasna-answer { margin-left: 16px !important; } |
| border-radius: 8px !important; color: #202124 !important;
| | .skin-minerva .padya-block { margin-left: 16px !important; } |
| padding: 6px 10px !important; font-family: system-ui, sans-serif !important; | | /* Home grid single column on Minerva */ |
| | .skin-minerva .gr-home-grid { |
| | flex-direction: column !important; |
| | flex-wrap: nowrap !important; |
| } | | } |
| .cdx-search-input__input::placeholder, | | .skin-minerva .gr-home-card { |
| .cdx-text-input__input::placeholder { color: rgba(32,33,36,0.5) !important; } | | max-width: 100% !important; |
| .cdx-search-input__end-button { background: transparent !important; border: none !important; }
| | min-width: unset !important; |
| .cdx-typeahead-search, .cdx-typeahead-search__menu, .cdx-menu {
| | flex: 0 0 auto !important; |
| background: #ffffff !important; color: #202124 !important;
| | width: 100% !important; |
| border-radius: 10px !important; box-shadow: 0 6px 24px rgba(0,0,0,0.2) !important; | |
| filter: none !important; | |
| } | | } |
| .cdx-menu-item, .cdx-menu-item * { color: #202124 !important; filter: none !important; } | | /* Hide things that should be hidden on mobile too */ |
| .cdx-menu-item:hover, .cdx-menu-item--active, .cdx-menu-item--selected { background: #f1f3f4 !important; } | | .skin-minerva .catlinks, |
| .cdx-menu-item__icon, .cdx-menu-item__icon svg, | | .skin-minerva #catlinks { display: none !important; } |
| .cdx-menu-item__icon path { fill: #202124 !important; filter: none !important; } | | .skin-minerva .mw-editsection { display: none !important; } |
| | | /* Minerva already has its own TOC — hide our inline .toc */ |
| /* ── Gadya — styled as a sub-subheading (NOT adhyaya-title level) ─ | | .skin-minerva .toc { display: none !important; } |
| *
| | /* ReaderToolbar on Minerva */ |
| * Previously gadya used adhyaya-title styles which was too prominent.
| | .skin-minerva #gr-static-bar { |
| * Now it renders as a modest bold sub-heading, similar to h3 but
| | height: auto !important; |
| * without the dotted border, clearly below chapter level.
| | min-height: 52px !important; |
| * ──────────────────────────────────────────────────────────────── */
| | overflow-x: auto !important; |
| .gr-gadya, | | overflow-y: hidden !important; |
| .verse-line.gr-gadya,
| | scrollbar-width: none !important; |
| .gr-verse-text.gr-gadya {
| |
| display: block !important; | |
| font-size: 0.96em !important; | |
| font-weight: 600 !important; | |
| font-style: normal !important; | |
| color: #555 !important; /* muted — not as loud as orange heading */
| |
| margin: 16px 0 4px !important; | |
| border-bottom: 1px solid #ddd !important;
| |
| width: 60%;
| |
| line-height: 1.5 !important;
| |
| letter-spacing: 0.01em;
| |
| } | | } |
| | | .skin-minerva #gr-static-bar::-webkit-scrollbar { display: none !important; } |
| /* ── Avataranika ──────────────────────────────────────────────── */
| | .skin-minerva .gr-controls .gr-btn { |
| .gr-avataranika { | | height: 44px !important; |
| font-style: italic; color: #444;
| | min-width: 44px !important; |
| margin: 0 0 0.5em 0.5em; padding-left: 0.6em;
| | font-size: 14px !important; |
| border-left: 2px solid #c9a96e; line-height: 1.6; | |
| } | | } |
| | .skin-minerva .gr-btn-staging { display: none !important; } |
| | .skin-minerva .gr-controls .gr-sep { display: none !important; } |
| | /* Minerva already shows page title — don't double-hide */ |
| | .skin-minerva h1.firstHeading { display: block !important; } |
|
| |
|
| /* ── Vyakhya-pada ─────────────────────────────────────────────── */ | | /* ── 32. PRINT ─────────────────────────────────────────────────── */ |
| .gr-vyakhya-pada {
| | @media print { |
| font-size: 0.88em; color: #555;
| | #gr-static-bar, .gr-controls, .vector-header-container { display: none !important; } |
| background: #fafafa; border: 1px solid #e8e0d0;
| | .mw-parser-output { font-size: 11pt !important; } |
| border-radius: 4px; padding: 0.5em 0.8em;
| |
| margin: 0.5em 0; line-height: 1.5; white-space: pre-wrap; | |
| } | | } |
|
| |
|
| /* ── Vyakhya-gadya ────────────────────────────────────────────── */ | | /* ── 33. TYPOGRAPHY CLASSES ────────────────────────────────────── */ |
| .gr-vyakhya-gadya {
| |
| font-weight: bold; font-size: 0.95em; text-align: center;
| |
| color: #8b1a1a; margin: 0.8em 0 0.3em 0; letter-spacing: 0.03em;
| |
| }
| |
|
| |
|
| /* ── Author note ──────────────────────────────────────────────── */ | | /* Heading — center, maroon, AdishilaDevGuru */ |
| .gr-author-note { | | .gr-heading { |
| font-style: italic; color: #666; text-align: center; | | display: block; |
| font-size: 0.9em; margin: 0.8em 0 0.4em 0; | | text-align: center; |
| border-top: 1px solid #ddd; padding-top: 0.4em; | | font-size: 1.09em; |
| | font-weight: 500; |
| | color: #be100e; |
| | font-family: 'AdishilaDevGuru', 'Adishila', 'Noto Serif Devanagari', serif; |
| | line-height: 1.4; |
| | margin: 0.45em 0; |
| } | | } |
|
| |
|
| /* ── Leading bhashya ──────────────────────────────────────────── */ | | /* Sub-heading — center, orange, AdishilaDevGuru */ |
| .gr-leading-bhashya { font-style: italic; color: #555; margin: 0.4em 0 0.5em 0; } | | .gr-sub-heading { |
| | | display: block; |
| /* ── Verse text (general) ─────────────────────────────────────── */
| | text-align: center; |
| .gr-verse-text, .verse-line, .verse-text {
| | font-size: 0.73em; |
| color: #b5451b; font-style: italic; line-height: 1.5; /* REDUCED */ | | font-weight: 500; |
| display: block; margin: 0.1em 0; | | color: #e65100; |
| | font-family: 'AdishilaDevGuru', 'Adishila', 'Noto Serif Devanagari', serif; |
| | line-height: 1.5; |
| | margin: 0.5em 0; |
| } | | } |
| .gr-verse-type-mantra .gr-verse-text,
| |
| .verse-block[data-type="mantra"] .verse-line { font-size: 1.05em; }
| |
| .gr-verse-type-sutra .gr-verse-text,
| |
| .verse-block[data-type="sutra"] .verse-line { font-style: normal; font-weight: 600; color: #b5451b; }
| |
|
| |
|
| /* ── Bhashyam / commentary prose ─────────────────────────────── */ | | /* Chapter Heading — center, maroon, AdishilaDevGuru */ |
| .gr-bhashyam, .commentary-bhashyam { | | .gr-chapter-heading { |
| color: #222; font-style: normal; line-height: 1.75; margin: 0.3em 0 0.5em 0; | | display: block; |
| | text-align: center; |
| | font-size: 0.82em; |
| | font-weight: 500; |
| | color: #be100e; |
| | font-family: 'AdishilaDevGuru', 'Adishila', 'Noto Serif Devanagari', serif; |
| | line-height: 1.5; |
| | margin: 0.5em 0; |
| } | | } |
|
| |
|
| /* ── Padapatha ────────────────────────────────────────────────── */ | | /* M.Veda Shloka — left, bold, maroon, AdishilaVed, 5mm indent */ |
| .gr-padapatha { font-size: 0.9em; color: #555; margin: 0.2em 0 0.3em 0.8em; font-style: normal; } | | .gr-mv-shloka { |
| | | display: block; |
| /* ── Devatachandas / vargikarana ─────────────────────────────── */
| | text-align: left; |
| .gr-devatachandas { font-size: 0.82em; color: #777; font-style: normal; margin: 0.4em 0 0.2em 0; } | | font-size: 0.82em; |
| .gr-vargikarana { font-size: 0.82em; color: #888; font-style: normal; margin: 0.5em 0 0.1em 0; }
| | font-weight: bold; |
| | | color: #be100e; |
| /* ── Uvaaca ───────────────────────────────────────────────────── */
| | font-family: 'AdishilaVed', 'Adishila', 'Noto Serif Devanagari', serif; |
| .gr-uvaaca, .uvaaca {
| | padding-left: 0.86em; |
| color: #b5451b; font-weight: 600; font-size: 0.92em; | | margin: 0; |
| margin: 0.5em 0 0.2em 0; display: block;
| | line-height: 1.75; |
| }
| |
| | |
| /* ── Responsive ───────────────────────────────────────────────── */
| |
| @media (max-width: 600px) {
| |
| .mw-parser-output { font-size: 16px; } | |
| .mw-parser-output h2, .mw-parser-output .mw-heading2 h2 { width: 100% !important; }
| |
| .mw-parser-output h3, .mw-parser-output .mw-heading3 h3 { width: 100% !important; }
| |
| .nyaya-title, .prasna-title { width: 100%; }
| |
| .bhashyam-block, .teeka-block { margin-left: 10px; }
| |
| .toc { max-width: 100%; }
| |
| .gr-gadya { width: 90%; }
| |
| }
| |
| | |
| | |
| | |
| | |
| /* ── Global spacing tightening ────────────────────────────────── */
| |
| .mw-parser-output p { margin-bottom: 0.35rem !important; }
| |
| .mw-parser-output .verse-block,
| |
| .mw-parser-output .shloka-block { margin-top: 2px !important; margin-bottom: 2px !important; }
| |
| | |
| /* ── Vyakhya sub-headings (h4 replaces === which breaks inside divs) */
| |
| .gr-vyakhya-head, .gr-section-head {
| |
| font-size: 0.9em; | |
| font-weight: 700; | |
| color: #6a3e00; | |
| margin: 0.35em 0 0.15em;
| |
| font-family: inherit; | |
| border: none;
| |
| padding: 0; | |
| }
| |
| | |
| /* ── Vyakhya page layout ──────────────────────────────────────── */
| |
| .gr-vyakhya-gadya { margin: 0.2em 0; line-height: 1.6; }
| |
| .gr-avataranika { margin: 0.2em 0; line-height: 1.6; color: #555; }
| |
| .gr-embedded-bhashya { margin: 0.2em 0 0.2em 1em; line-height: 1.6; }
| |
| | |
| /* ── Individual vyakhya prose paragraphs ─────────────────────── */
| |
| .gr-vyakhya-para {
| |
| margin: 0 0 0.5em 0; | |
| line-height: 1.65; | |
| color: #444;
| |
| }
| |
| .gr-vyakhya-para:last-child { margin-bottom: 0; }
| |
| | |
| /* Shloka-lines inside teeka-block (quoted verses within commentary) */
| |
| .teeka-body .shloka-block {
| |
| margin: 0.4em 0;
| |
| padding: 0.3em 0.6em;
| |
| border-left: 3px solid #e8c88a;
| |
| background: transparent;
| |
| }
| |
| .teeka-body .shloka-line {
| |
| color: #8a4a00;
| |
| font-style: italic;
| |
| font-size: 0.97em;
| |
| } | | } |
|
| |
|
| /* ══════════════════════════════════════════════════════════════════ | | /* M.Veda Gadya — justify, bold, maroon, AdishilaVed */ |
| TEEKA VIEW MODES
| | .gr-mv-gadya { |
| Applied to <body> by Common.js based on referrer / ?ref= param.
| |
| | |
| gr-standalone — direct URL access: plain reading view
| |
| gr-ref-mode — navigated from main doc: styled embedded view
| |
| ══════════════════════════════════════════════════════════════════ */
| |
| | |
| /* ── Standalone mode: strip all container chrome ──────────────── */
| |
| /* The gr-page-nav back-link is useful in standalone, keep it */
| |
| body.gr-standalone .gr-page-nav {
| |
| display: block; | | display: block; |
| }
| | text-align: justify; |
| /* Remove coloured box — show as plain flowing text */
| | font-size: 0.82em; |
| body.gr-standalone .teeka-block {
| | font-weight: bold; |
| background: none !important;
| |
| border: none !important;
| |
| padding: 0 !important;
| |
| border-radius: 0 !important;
| |
| }
| |
| body.gr-standalone .teeka-title {
| |
| display: none !important;
| |
| }
| |
| /* Each entry flows naturally, small separator between descriptors */
| |
| body.gr-standalone .gr-teeka-entry {
| |
| border-bottom: 1px solid #f0e8d8;
| |
| padding-bottom: 0.8em; | |
| margin-bottom: 0.8em; | |
| }
| |
| body.gr-standalone .gr-teeka-entry:last-of-type {
| |
| border-bottom: none;
| |
| }
| |
| /* Shlokas in standalone get the normal verse color, no extra indent */
| |
| body.gr-standalone .teeka-body .shloka-block {
| |
| border-left: none;
| |
| padding-left: 0;
| |
| background: none;
| |
| }
| |
| body.gr-standalone .teeka-body .shloka-line {
| |
| color: #be100e; | | color: #be100e; |
| font-style: italic; | | font-family: 'AdishilaVed', 'Adishila', 'Noto Serif Devanagari', serif; |
| }
| | text-indent: 1.18em; |
| /* Vyakhya headings still show, but lighter */
| | padding-left: 0.36em; |
| body.gr-standalone .gr-vyakhya-head {
| | margin: 0; |
| color: #a07040; | | line-height: 1.75; |
| font-size: 0.95em; | |
| margin-top: 0.8em; | |
| } | | } |
|
| |
|
| /* ── Ref mode: full styled embedded view (default teeka-block look) ── */ | | /* M.Shloka — left, bold, orange, AdishilaDev, 5mm indent */ |
| /* This is already the default from .teeka-block rules above.
| | .gr-m-shloka { |
| Explicit declarations here for clarity and override safety. */
| | display: block; |
| body.gr-ref-mode .teeka-block {
| | text-align: left; |
| background: #fffdf5 !important; | | font-size: 0.82em; |
| border: 1px solid #f0e0b0 !important; | | font-weight: bold; |
| padding: 6px 10px 8px !important; | | color: #e65100; |
| border-radius: 5px !important; | | font-family: 'AdishilaDev', 'Adishila', 'Noto Serif Devanagari', serif; |
| }
| | padding-left: 0.86em; |
| body.gr-ref-mode .teeka-title {
| | margin: 0; |
| display: block !important; | | line-height: 1.75; |
| }
| |
| /* The page-nav back-link is redundant when embedded in main doc */
| |
| body.gr-ref-mode .gr-page-nav {
| |
| display: none;
| |
| } | | } |
|
| |
|
| /* ── Default (no body class yet — JS may not have run) ────────── */ | | /* B.Shloka / TK.Shloka / TP.Shloka — left, black, AdishilaDev, 10mm indent */ |
| /* Show styled until JS classifies */ | | .gr-b-shloka, |
| .gr-teeka-page .teeka-block { | | .gr-tp-shloka { |
| background: #fffdf5; | | display: block; |
| border: 1px solid #f0e0b0; | | text-align: left; |
| | font-size: 0.73em; |
| | font-weight: normal; |
| | color: #1a1a1a; |
| | font-family: 'AdishilaDev', 'Adishila', 'Noto Serif Devanagari', serif; |
| | padding-left: 1.73em; |
| | margin: 0; |
| | line-height: 1.75; |
| } | | } |
| /* ═══════════════════════════════════════════════════════════════════
| |
| Common.css — additions for v7 (append to existing Common.css)
| |
| ═══════════════════════════════════════════════════════════════════ */
| |
|
| |
|
| /* ── TOC: Remove bold from all non-active level rules ───────────── | | /* Reference — orange, AdishilaDev */ |
| * Common.js v7 sets font-weight:400 !important on every inactive
| | .gr-reference { |
| * item via inline style, so the level-1 bold rule below would be
| | color: #e65100; |
| * overridden anyway. These declarations make the CSS self-consistent
| | font-family: 'AdishilaDev', 'Adishila', 'Noto Serif Devanagari', serif; |
| * and work even if JS hasn't run yet. Active-item bold is handled
| |
| * entirely by JS inline style. ──────────────────────────────────── */
| |
| .vector-toc .vector-toc-level-1 > .vector-toc-link, | |
| .vector-toc .vector-toc-level-1 > .vector-toc-link * {
| |
| font-weight: 400 !important; /* was 600 — now normal; JS makes active bold */
| |
| color: #3a1f00 !important; | |
| }
| |
| .vector-toc .vector-toc-level-2 > .vector-toc-link,
| |
| .vector-toc .vector-toc-level-2 > .vector-toc-link * {
| |
| font-weight: 400 !important; | |
| color: #5a3a00 !important;
| |
| }
| |
| .vector-toc .vector-toc-level-3 > .vector-toc-link,
| |
| .vector-toc .vector-toc-level-3 > .vector-toc-link * {
| |
| font-weight: 400 !important;
| |
| color: #7a5010 !important;
| |
| font-size: 0.95em !important;
| |
| } | | } |
|
| |
|
| /* Active overrides — must come AFTER level rules. | | /* Custom tag span — subtle dashed underline only */ |
| * JS inline style also handles this; CSS is a belt-and-braces backup. */
| | .gr-custom { |
| .vector-toc .vector-toc-list-item-active .vector-toc-link, | | border-bottom: 1px dashed #b5451b; |
| .vector-toc .vector-toc-list-item-active .vector-toc-link * {
| | padding-bottom: 1px; |
| color: #f57c00 !important; | |
| font-weight: 700 !important; | |
| } | | } |
|
| |
|
| /* ── TOC: विषयसूची title label ────────────────────────────────── */ | | /* ── 34. MINERVA HEADER — orange theme + sticky ────────────────── */ |
| /* Adishila doesn't cover ASCII fallback well at tiny sizes —
| |
| * keep the title in system-ui as before. The JS sets the text. */
| |
| .vector-toc .vector-toc-title {
| |
| font-family: system-ui, sans-serif !important;
| |
| }
| |
|
| |
|
| /* ── TOC: मूल / उल्लेख nav bar ────────────────────────────────── */ | | /* Kill space above header */ |
| #gr-toc-doc-nav {
| | .skin-minerva body { margin-top: 0 !important; padding-top: 0 !important; } |
| /* Layout via JS inline style; these are safety defaults */
| | .skin-minerva #mw-mf-viewport, |
| font-family: 'Adishila', 'Noto Serif Devanagari', serif;
| | .skin-minerva #mw-mf-page-center { margin-top: 0 !important; padding-top: 0 !important; } |
| }
| |
| #gr-toc-doc-nav a:focus { | |
| outline: 2px solid #f57c00;
| |
| outline-offset: 1px;
| |
| } | |
|
| |
|
| /* ── About / Main_Page: hide sidebar TOC panel entirely ─────────── | | /* Header — orange, sticky */ |
| * These pages use __NOTOC__ in wikitext; the sidebar TOC should not
| | .skin-minerva header.header-container { |
| * appear. Vector 2022 may still render the pinned container empty —
| | background: #b5451b !important; |
| * hide it to avoid a blank sidebar gap. ─────────────────────────── */
| | position: sticky !important; |
| body.page-My_wiki-About .vector-sidebar,
| | top: 0 !important; |
| body.page-My_wiki-About .vector-sticky-pinned-container,
| | z-index: 200 !important; |
| body.page-My_wiki-About #vector-toc-pinned-container,
| | width: 100% !important; |
| body.page-My_wiki-About .mw-table-of-contents-container {
| | margin: 0 !important; |
| display: none !important; | | padding: 0 !important; |
| | color: #ffffff; |
| } | | } |
| | | .skin-minerva .minerva-header { |
| /* ── Ullekha (references index) page ──────────────────────────── */
| | background: #b5451b !important; |
| .gr-ullekha-back {
| | display: flex !important; |
| font-size: 0.88em;
| | align-items: center !important; |
| color: #888;
| | min-height: 54px !important; |
| margin-bottom: 0.5em;
| | padding: 0 12px !important; |
| }
| |
| .gr-ullekha-back a { color: #b04b00; text-decoration: none; }
| |
| .gr-ullekha-back a:hover { text-decoration: underline; }
| |
| | |
| .gr-ullekha-summary {
| |
| font-size: 0.9em;
| |
| color: #666;
| |
| margin-bottom: 1.5em;
| |
| font-style: italic;
| |
| }
| |
| | |
| .gr-ullekha-source { | |
| margin-bottom: 2em;
| |
| border: 1px solid #e8d4a0;
| |
| border-radius: 6px;
| |
| padding: 10px 14px 12px;
| |
| background: #fffdf5; | |
| }
| |
| | |
| .gr-ullekha-source-title {
| |
| font-size: 1.05em;
| |
| font-weight: 600;
| |
| color: #5a3000; | |
| margin-bottom: 2px; | |
| border-bottom: 1px dotted #c9a060; | |
| padding-bottom: 4px; | |
| }
| |
| | |
| .gr-ullekha-source-count {
| |
| font-size: 0.78em;
| |
| color: #999;
| |
| font-family: system-ui, sans-serif;
| |
| margin-bottom: 8px;
| |
| }
| |
| | |
| .gr-ullekha-list {
| |
| margin: 0 !important; | | margin: 0 !important; |
| padding-left: 1.4em !important;
| |
| list-style: decimal !important;
| |
| } | | } |
|
| |
|
| .gr-ullekha-item { | | .minerva-icon { |
| margin: 0.4em 0;
| | |
| line-height: 1.55;
| | filter: brightness(0) saturate(100%) invert(100%) sepia(4%) saturate(1%) hue-rotate(296deg) brightness(104%) contrast(100%); |
| } | | } |
|
| |
|
| .gr-ullekha-quote { | | /* Site name text */ |
| font-style: italic; | | .skin-minerva .branding-box { background: transparent !important; } |
| color: #444; | | .skin-minerva .branding-box a { |
| | text-decoration: none !important; |
| | display: flex !important; |
| | align-items: center !important; |
| } | | } |
| | | .skin-minerva .branding-box a span { |
| .gr-ullekha-ref { | | color: #fff !important; |
| font-size: 0.8em; | | font-size: 18px !important; |
| font-style: normal;
| | font-weight: 700 !important; |
| color: #999;
| | font-family: system-ui, -apple-system, sans-serif !important; |
| margin-left: 4px;
| | white-space: nowrap !important; |
| font-family: system-ui, sans-serif;
| |
| }
| |
| .gr-ullekha-ref a { color: #b04b00 !important; text-decoration: none; }
| |
| .gr-ullekha-ref a:hover { text-decoration: underline; }
| |
| /* ═══════════════════════════════════════════════════════════════════
| |
| Common.css — v7 additions (append to existing Common.css)
| |
| Full typography spec implementation.
| |
| ═══════════════════════════════════════════════════════════════════ */
| |
| :root {
| |
| --gr-maroon: #800000; | |
| --gr-orange: #f57c00;
| |
| --gr-black: #222222;
| |
| --gr-i5mm: 19px;
| |
| --gr-i7mm: 26px;
| |
| --gr-i10mm: 38px;
| |
| --gr-i2mm: 8px;
| |
| --gr-font-dev: 'Adishila', 'Noto Serif Devanagari', serif;
| |
| --gr-font-vedic: 'AdishilaVedic', 'Adishila', 'Noto Serif Devanagari', serif;
| |
| }
| |
| /* 1. Heading */
| |
| .gr-doc-title { font-family:var(--gr-font-dev)!important; font-size:24px!important; font-weight:500!important; color:var(--gr-maroon)!important; text-align:center!important; margin:0 0 18px; border:none!important; }
| |
| /* 2. Sub-heading */
| |
| .gr-section-head,.gr-gadya-head,h4.gr-section-head,h4.gr-gadya-head { font-family:var(--gr-font-dev)!important; font-size:16px!important; font-weight:600!important; color:var(--gr-orange)!important; text-align:center!important; margin:18px 0 8px!important; padding:0!important; border:none!important; }
| |
| /* 3. Chapter heading */
| |
| .mw-parser-output h2,.mw-parser-output .mw-heading2 h2 { font-family:var(--gr-font-dev)!important; font-size:18px!important; font-weight:600!important; color:var(--gr-maroon)!important; text-align:center!important; margin:28px auto 6px!important; padding:0!important; border:none!important; border-bottom:2px dotted var(--gr-maroon)!important; width:80%; line-height:1.6; }
| |
| .mw-parser-output h3,.mw-parser-output .mw-heading3 h3 { font-family:var(--gr-font-dev)!important; font-size:16px!important; font-weight:600!important; color:var(--gr-orange)!important; text-align:center!important; margin:22px auto 6px!important; padding:0!important; border:none!important; border-bottom:1px dotted var(--gr-orange)!important; width:70%; line-height:1.5; }
| |
| /* 4. Author-note */
| |
| .bhashyam-block.gr-author-note,.gr-author-note { font-family:var(--gr-font-dev)!important; font-size:16px!important; font-weight:700!important; color:var(--gr-maroon)!important; text-align:center!important; margin:12px 0!important; padding:0!important; border:none!important; background:none!important; }
| |
| /* 5. Moola Veda Shloka */
| |
| .verse-block[data-type="mantra"] .shloka-line,.gr-verse-type-mantra .shloka-line { font-family:var(--gr-font-vedic)!important; font-size:18px!important; font-weight:700!important; color:var(--gr-maroon)!important; text-align:left!important; display:block; padding-left:var(--gr-i5mm)!important; line-height:1.55; margin:0; }
| |
| /* 6. Moola Veda Gadya */
| |
| .verse-block[data-type="mantra"] .bhashyam-block.gr-pramana-gadya { font-family:var(--gr-font-vedic)!important; font-size:18px!important; font-weight:700!important; color:var(--gr-maroon)!important; text-align:justify!important; text-indent:var(--gr-i7mm)!important; padding-left:var(--gr-i2mm)!important; margin-left:0!important; }
| |
| /* 7. Moola Shloka */
| |
| .verse-block .shloka-line,.shloka-block .shloka-line,.gr-verse-text { font-family:var(--gr-font-dev)!important; font-size:18px!important; font-weight:700!important; color:var(--gr-orange)!important; text-align:left!important; display:block; padding-left:var(--gr-i5mm)!important; line-height:1.55; margin:0; }
| |
| .verse-block[data-type="sutra"] .shloka-line,.gr-verse-type-sutra .shloka-line { color:var(--gr-maroon)!important; font-style:normal!important; }
| |
| /* 8. Moola Gadya */
| |
| .gr-verse-text.gr-pramana-gadya,.bhashyam-block.gr-pramana-gadya { font-family:var(--gr-font-dev)!important; font-size:18px!important; font-weight:700!important; color:var(--gr-orange)!important; text-align:justify!important; text-indent:var(--gr-i7mm)!important; padding-left:var(--gr-i2mm)!important; margin-left:0!important; }
| |
| /* 9. Bhashya Shloka (pramana-padya) */
| |
| .bhashyam-block.gr-pramana-padya,.gr-verse-text.gr-pramana-padya { font-family:var(--gr-font-dev)!important; font-size:16px!important; font-weight:400!important; color:var(--gr-black)!important; text-align:left!important; display:block; padding-left:var(--gr-i10mm)!important; margin-left:0!important; line-height:1.6; }
| |
| /* 10. Bhashya Gadya */
| |
| .bhashyam-block,.gr-bhashyam,.gr-inlinepara-run { font-family:var(--gr-font-dev)!important; font-size:16px!important; font-weight:400!important; color:var(--gr-black)!important; text-align:justify!important; text-indent:var(--gr-i7mm)!important; padding-left:var(--gr-i2mm)!important; margin-left:0!important; line-height:1.65; margin-bottom:0.3em; }
| |
| /* 11-12. Teeka Shloka/Gadya */
| |
| .teeka-block .teeka-body { font-family:var(--gr-font-dev)!important; font-size:16px!important; font-weight:400!important; color:var(--gr-black)!important; line-height:1.65; }
| |
| .teeka-block .shloka-line { font-size:16px!important; font-weight:400!important; color:var(--gr-black)!important; text-align:left!important; padding-left:var(--gr-i10mm)!important; line-height:1.6; }
| |
| .teeka-block .bhashyam-block,.teeka-block .gr-vyakhya-para,.teeka-block p { font-size:16px!important; font-weight:400!important; color:var(--gr-black)!important; text-align:justify!important; text-indent:var(--gr-i7mm)!important; padding-left:var(--gr-i2mm)!important; }
| |
| /* 13-14. Tippani */
| |
| .gr-tippani-block { font-family:var(--gr-font-dev)!important; font-size:16px!important; font-weight:400!important; color:var(--gr-black)!important; background:#f5f8fa; border:1px solid #c8dae8; border-radius:4px; padding:6px 10px 8px; margin:0.3em 0; }
| |
| .gr-tippani-block .shloka-line { text-align:left!important; padding-left:var(--gr-i10mm)!important; }
| |
| /* 15. Moola prateeka */
| |
| .gr-mulaprateeka-block,em.Moola,.gr-moola { font-weight:700!important; font-style:italic!important; color:var(--gr-maroon)!important; display:block; text-align:center; margin:0.6em 0 0.3em; }
| |
| /* 16. Prateeka */
| |
| .gr-prateeka,em.prateeka,span.prateeka { font-weight:700!important; font-style:normal!important; color:var(--gr-orange)!important; }
| |
| /* 17. Reference */
| |
| .gr-reference,a.qt,span.gr-blockquote .gr-reference,.pramana a { color:var(--gr-orange)!important; font-style:italic; text-decoration:none; }
| |
| .gr-reference:hover,a.qt:hover { text-decoration:underline dotted; }
| |
| /* Moola reference shloka above teeka entries */
| |
| .gr-moola-ref { display:block; margin:0 0 6px; padding:4px 0 4px var(--gr-i5mm); border-left:3px solid var(--gr-orange); }
| |
| .gr-moola-ref .shloka-line { font-size:17px!important; font-weight:600!important; color:var(--gr-orange)!important; padding-left:0!important; }
| |
| /* TOC bold only on active */
| |
| .vector-toc .vector-toc-level-1>.vector-toc-link,.vector-toc .vector-toc-level-1>.vector-toc-link * { font-weight:400!important; color:#3a1f00!important; }
| |
| .vector-toc .vector-toc-level-2>.vector-toc-link,.vector-toc .vector-toc-level-2>.vector-toc-link * { font-weight:400!important; color:#5a3a00!important; }
| |
| .vector-toc .vector-toc-level-3>.vector-toc-link,.vector-toc .vector-toc-level-3>.vector-toc-link * { font-weight:400!important; color:#7a5010!important; font-size:.95em!important; }
| |
| .vector-toc .vector-toc-list-item-active .vector-toc-link,.vector-toc .vector-toc-list-item-active .vector-toc-link * { color:#f57c00!important; font-weight:700!important; }
| |
| /* About/Main_Page no sidebar TOC */
| |
| body.page-My_wiki-About .vector-sidebar,body.page-My_wiki-About .vector-sticky-pinned-container,body.page-My_wiki-About #vector-toc-pinned-container { display:none!important; }
| |
| /* Ullekha page */
| |
| .gr-ullekha-back { font-size:.88em; color:#888; margin-bottom:.5em; }
| |
| .gr-ullekha-back a { color:var(--gr-maroon); text-decoration:none; }
| |
| .gr-ullekha-source { margin-bottom:2em; border:1px solid #e8d4a0; border-radius:6px; padding:10px 14px 12px; background:#fffdf5; }
| |
| .gr-ullekha-source-title { font-size:1.05em; font-weight:600; color:#5a3000; margin-bottom:2px; border-bottom:1px dotted #c9a060; padding-bottom:4px; }
| |
| .gr-ullekha-list { margin:0!important; padding-left:1.4em!important; list-style:decimal!important; }
| |
| .gr-ullekha-item { margin:.4em 0; line-height:1.55; }
| |
| .gr-ullekha-quote { font-style:italic; color:#444; }
| |
| .gr-ullekha-ref { font-size:.8em; font-style:normal; color:#999; margin-left:4px; font-family:system-ui,sans-serif; }
| |
| .gr-ullekha-ref a { color:var(--gr-maroon)!important; text-decoration:none; }
| |
| /* Responsive */
| |
| @media (max-width:600px) {
| |
| .mw-parser-output h2,.mw-parser-output h3 { width:100%!important; }
| |
| .bhashyam-block { text-indent:12px!important; padding-left:4px!important; } | |
| .verse-block .shloka-line { padding-left:8px!important; }
| |
| }
| |
| | |
| /* ── Moola page (verse-text only view) ──────────────────────────── */
| |
| /* The title shows "...— मूलम्" with a warm ochre accent */
| |
| .gr-doc-title[data-moola="1"] {
| |
| color: var(--gr-maroon) !important;
| |
| border-bottom: 2px solid var(--gr-orange);
| |
| padding-bottom: 8px;
| |
| margin-bottom: 20px;
| |
| }
| |
| /* On the Moola page, verse lines use full-width justified layout
| |
| matching the "M. Shloka / M. Gadya" spec (no bhashya indentation) */
| |
| .mw-parser-output .verse-block {
| |
| margin: 8px 0 12px;
| |
| }
| |
| .mw-parser-output .verse-block .shloka-block {
| |
| margin: 0;
| |
| } | | } |
|
| |
|
| /* ── Ullekha page ────────────────────────────────────────────────── */ | | /* Hamburger + search icons — white */ |
| /* Title: maroon, dotted bottom border (matches ref site exactly) */
| | .skin-minerva .minerva-header label, |
| .gr-ullekha-title {
| | .skin-minerva .minerva-header .search-toggle { |
| color: var(--gr-maroon) !important;
| | color: #fff !important; |
| font-size: 22px !important;
| |
| border-bottom: 1.5px dotted var(--gr-maroon) !important;
| |
| padding-bottom: 6px !important;
| |
| margin-bottom: 20px !important;
| |
| text-align: left !important;
| |
| }
| |
| /* Source heading (h2): orange, dotted bottom border */
| |
| .mw-parser-output .gr-ullekha-page h2, | |
| body .mw-parser-output h2.gr-ullekha-source-heading {
| |
| color: var(--gr-orange) !important;
| |
| font-size: 1em !important;
| |
| font-weight: 600 !important;
| |
| border-bottom: 1px dotted var(--gr-orange) !important;
| |
| width: 60% !important;
| |
| text-align: left !important;
| |
| }
| |
| /* Numbered list of quotes */
| |
| .gr-ullekha-list {
| |
| margin: 0.5em 0 1.2em 0 !important;
| |
| padding-left: 1.6em !important;
| |
| list-style: decimal !important;
| |
| }
| |
| .gr-ullekha-list li { | |
| margin: 0.3em 0;
| |
| line-height: 1.6;
| |
| }
| |
| /* Each quote as an orange link with single quotes, italic */
| |
| .gr-ullekha-ref-link a, | |
| .gr-ullekha-list li a { | |
| color: var(--gr-orange) !important; | |
| font-style: italic;
| |
| text-decoration: none !important;
| |
| } | | } |
| .gr-ullekha-ref-link a:hover, | | .skin-minerva .minerva-header svg path, |
| .gr-ullekha-list li a:hover { | | .skin-minerva .minerva-header svg rect, |
| text-decoration: underline dotted !important; | | .skin-minerva .minerva-header svg circle { |
| | fill: #fff !important; |
| } | | } |
| /* Highlighted text on bhashya page after clicking Ullekha link */
| | .skin-minerva .minerva-header .mw-ui-icon:before { |
| .gr-ullekha-highlight { | | color: #fff !important; |
| background: #fff176 !important; | | filter: brightness(10) !important; |
| border-radius: 2px; | |
| padding: 0 2px;
| |
| } | | } |
|
| |
|
| | | /* Reader toolbar below Minerva header */ |
| /* ═══════════════════════════════════════════════════════════════════
| | .skin-minerva #gr-static-bar { |
| Canonical XSL class mappings (added v7.1)
| | position: sticky !important; |
| The renderer now emits HTML directly with classes matching the XSL
| | top: 54px !important; |
| template from the reference site, so styles work without MW templates.
| | z-index: 100 !important; |
| ═══════════════════════════════════════════════════════════════════ */
| |
| | |
| /* Wrap all document content */ | |
| .mw-parser-output { | |
| /* All content lives inside maintext-equivalent scope */ | |
| } | | } |
|
| |
|
| /* ── Verse block (XSL: div.verse > div.verse-text > div.shloka > span.shloka-line) */ | | /* ── 35. MINERVA — auto-expand sections ────────────────────────── */ |
| .mw-parser-output .verse { | | .skin-minerva .collapsible-block, |
| margin: 8px 0 4px; | | .skin-minerva .collapsible-heading + .collapsible-block { |
| | display: block !important; |
| } | | } |
| .mw-parser-output .verse-text { | | .skin-minerva .mf-section-0, |
| font-size: 1.1em;
| | .skin-minerva .mf-section-1, |
| color: var(--gr-orange);
| | .skin-minerva .mf-section-2, |
| font-weight: 600;
| | .skin-minerva .mf-section-3, |
| margin-top: 6px; | | .skin-minerva .mf-section-4, |
| | .skin-minerva .mf-section-5, |
| | .skin-minerva .mf-section-6, |
| | .skin-minerva .mf-section-7, |
| | .skin-minerva .mf-section-8, |
| | .skin-minerva .mf-section-9 { |
| | display: block !important; |
| } | | } |
| .mw-parser-output .verse[type="sutra"] .verse-text, | | .skin-minerva .section-heading { |
| .mw-parser-output .verse[type="sutra"] .shloka-line { | | pointer-events: none !important; |
| color: var(--gr-maroon) !important; | |
| font-style: normal !important;
| |
| } | | } |
| .mw-parser-output .verse[type="mantra"] .verse-text, | | .skin-minerva .section-heading .indicator { |
| .mw-parser-output .verse[type="mantra"] .shloka-line { | | display: none !important; |
| font-family: var(--gr-font-vedic) !important; | |
| color: var(--gr-maroon) !important;
| |
| font-weight: 700 !important;
| |
| }
| |
| .mw-parser-output .shloka {
| |
| margin: 0;
| |
| padding: 0;
| |
| } | | } |
| .mw-parser-output .shloka-line {
| | /* ── Hide MediaWiki default header user/account controls (desktop) ── */ |
| display: block;
| | #pt-userpage-2, |
| font-size: 18px;
| | #p-vector-user-menu-userpage, |
| font-weight: 600;
| | /* Hide the right-side person-icon dropdown */ |
| color: var(--gr-orange);
| | #vector-user-links-dropdown, |
| padding-left: var(--gr-i5mm);
| | .vector-user-links-dropdown, |
| line-height: 1.55;
| | #p-personal-more, |
| margin: 0;
| | .vector-user-menu, |
| | .mw-portlet-vector-user-menu-overflow, |
| | #pt-watchlist-2, #pt-watchlist { |
| | display: none !important; |
| } | | } |
| | /* Hide original userpage text link */ |
| | #p-vector-user-menu-userpage { display: none !important; } |
|
| |
|
| /* ── Introduction (XSL: div.introduction) */ | | /* Hide the right-side person-icon user menu dropdown */ |
| .mw-parser-output .introduction {
| | #vector-user-links-dropdown { display: none !important; } |
| font-family: var(--gr-font-dev) !important;
| |
| font-size: 16px;
| |
| color: var(--gr-black);
| |
| text-align: justify;
| |
| text-indent: var(--gr-i7mm);
| |
| padding-left: var(--gr-i2mm);
| |
| margin: 0.5em 0 0.3em;
| |
| line-height: 1.65;
| |
| }
| |
| .mw-parser-output .introduction p {
| |
| display: inline;
| |
| margin: 0;
| |
| } | |
|
| |
|
| /* ── Bhashya (XSL: div.bhashya) */ | | /* ── Custom username dropdown ── */ |
| .mw-parser-output .bhashya {
| | #gr-user-dropdown { |
| font-family: var(--gr-font-dev) !important;
| | position: relative; |
| font-size: 16px;
| | display: inline-block; |
| color: var(--gr-black);
| | font-family: system-ui, sans-serif; |
| text-align: justify;
| |
| text-indent: var(--gr-i7mm);
| |
| padding-left: var(--gr-i2mm);
| |
| margin: 0.2em 0 0.35em;
| |
| line-height: 1.65;
| |
| }
| |
| .mw-parser-output .bhashya p {
| |
| display: inline;
| |
| margin: 0;
| |
| }
| |
| .mw-parser-output .bhashya.footnote {
| |
| font-size: 0.9em;
| |
| padding-left: 40px;
| |
| padding-top: 12px;
| |
| padding-bottom: 12px;
| |
| border-top: 1px solid #007bff;
| |
| border-bottom: 1px solid #007bff;
| |
| } | | } |
| | | #gr-user-trigger { |
| /* ── Leading-bhashya (XSL: div.leading-bhashya) */
| | display: inline-flex; |
| .mw-parser-output .leading-bhashya {
| | align-items: center; |
| font-style: italic;
| | gap: 6px; |
| color: var(--gr-black);
| | background: rgba(255,255,255,0.12); |
| margin: 0.4em 0 0.5em;
| | border: none; |
| line-height: 1.6;
| | color: #fff; |
| | font-size: 0.9em; |
| | font-weight: 500; |
| | padding: 6px 12px; |
| | border-radius: 6px; |
| | cursor: pointer; |
| | white-space: nowrap; |
| } | | } |
| | #gr-user-trigger:hover { background: rgba(255,255,255,0.2); } |
| | #gr-user-trigger .gr-caret { font-size: 0.7em; opacity: 0.8; } |
|
| |
|
| /* ── Pramana container (XSL: div.pramana) */
| | #gr-user-menu { |
| .mw-parser-output .pramana {
| | position: absolute; |
| font-style: italic;
| | top: calc(100% + 6px); |
| color: #be100e;
| | right: 0; |
| margin: 0.4em 0;
| | min-width: 180px; |
| }
| | background: #fff; |
| /* Pramana verse (XSL: div.padya inside div.pramana) */
| | border: 1px solid #e0d8d2; |
| .mw-parser-output .pramana .padya {
| | border-radius: 8px; |
| margin-bottom: 1.2em;
| | box-shadow: 0 6px 24px rgba(0,0,0,0.14); |
| text-align: left;
| | padding: 6px; |
| padding-left: var(--gr-i5mm);
| | z-index: 1000; |
| line-height: 1.55;
| | display: none; |
| } | | } |
| /* Pramana prose (XSL: div.gadya inside div.pramana) */
| | #gr-user-menu.gr-open { display: block; } |
| .mw-parser-output .pramana .gadya {
| | #gr-user-menu a { |
| margin-bottom: 0.8em;
| | display: flex; |
| text-align: justify;
| | align-items: center; |
| text-indent: var(--gr-i7mm);
| | gap: 10px; |
| padding-left: var(--gr-i2mm);
| | padding: 10px 12px; |
| | color: #2c1810; |
| | text-decoration: none; |
| | font-size: 0.92em; |
| | border-radius: 6px; |
| | white-space: nowrap; |
| } | | } |
| | | #gr-user-menu a:hover { background: #f7f1ed; } |
| /* ── Uvaaca (XSL: blockquote.uvaaca) */
| | .vector-user-links a { |
| .mw-parser-output blockquote.uvaaca,
| | color: #1C1A17 !important; |
| .mw-parser-output .uvaaca {
| |
| color: #BF360C;
| |
| padding: 8px 40px;
| |
| border-left: 3px solid #BF360C;
| |
| margin: 16px 0 20px;
| |
| background-color: #FFF4F3;
| |
| font-style: normal;
| |
| font-weight: 500;
| |
| } | | } |
| | | .vector-user-links-main { |
| /* ── Author-note (XSL: p.author-note / div.gr-author-note) */
| | display: none !important; |
| .mw-parser-output .author-note,
| |
| .mw-parser-output .gr-author-note {
| |
| font-family: var(--gr-font-dev) !important;
| |
| font-size: 16px !important;
| |
| font-weight: 700 !important;
| |
| color: var(--gr-maroon) !important;
| |
| text-align: center !important;
| |
| margin: 14px 0 !important;
| |
| padding: 0 !important;
| |
| border: none !important;
| |
| background: none !important;
| |
| line-height: 1.6;
| |
| } | | } |
| | | .gr-phone-row { margin-bottom: 12px; } |
| /* ── Prateeka / Moola inline (XSL: span.prateeka, em.Moola) */
| | .gr-phone-label { |
| .mw-parser-output .prateeka,
| | display: block; |
| .mw-parser-output .gr-prateeka { | | font-weight: 700; |
| font-weight: bold !important;
| | font-size: 0.875rem; |
| font-style: normal !important;
| | margin-bottom: 6px; |
| color: var(--gr-orange) !important;
| |
| display: inline-block;
| |
| margin: 0 0.1em;
| |
| } | | } |
| .mw-parser-output .Moola, | | .gr-phone-inputs { |
| .mw-parser-output .gr-moola {
| | display: flex; |
| font-weight: bold !important;
| | gap: 8px; |
| font-style: italic !important;
| | align-items: stretch; |
| color: var(--gr-maroon) !important;
| | height: 48px; |
| display: inline-block;
| | position: relative; |
| margin: 0 0.1em;
| | font-family: "Noto Sans Devanagari", system-ui, -apple-system, BlinkMacSystemFont, sans-serif; |
| } | | } |
| | .gr-phone-country { width: 101px; border-radius: 12px; padding: 12px; gap: 8px; border: 1px solid #CED4DA;} |
| | .gr-phone-national { flex: 1; border-radius: 12px; padding: 12px; border: 1px solid #CED4DA;} |
|
| |
|
| /* ── Reference / quote links (XSL: a.qt) */ | | /* ── Country trigger button ── */ |
| .mw-parser-output a.qt, | | .gr-country-trigger { |
| .mw-parser-output .gr-reference {
| | display: flex; |
| color: var(--gr-orange) !important;
| | align-items: center; |
| font-style: italic;
| | gap: 8px; |
| text-decoration: none !important;
| | width: 101px; |
| }
| | border-radius: 12px; |
| .mw-parser-output a.qt:hover,
| | padding: 12px; |
| .mw-parser-output .gr-reference:hover {
| | border: 1px solid #CED4DA; |
| text-decoration: underline dotted !important;
| | white-space: nowrap; |
| | background: #fff; |
| } | | } |
| | .gr-country-trigger:hover { border-color: #72777d; } |
| | .gr-trigger-flag { font-size: 1.3rem; line-height: 1; } |
| | .gr-trigger-dial { font-size: 0.9rem; color: #54595d; } |
| | .gr-trigger-caret { font-size: 0.7rem; color: #54595d; } |
|
| |
|
| /* ── Adhikarana heading (XSL: h3.adhikarana-heading) */ | | /* ── Dropdown ── */ |
| .mw-parser-output h3.adhikarana-heading, | | .gr-country-dropdown { |
| .mw-parser-output .adhikarana-heading {
| | position: absolute; |
| font-size: 1em !important;
| | top: calc(100% + 4px); left: 0; |
| font-weight: 600 !important;
| | z-index: 9999; |
| color: var(--gr-orange) !important;
| | width: 280px; |
| text-align: center !important;
| | background: #fff; |
| margin: 22px auto 6px !important;
| | border: 1px solid #a2a9b1; |
| border-bottom: 1px dotted var(--gr-orange) !important;
| | border-radius: 4px; |
| width: 65%;
| | box-shadow: 0 4px 16px rgba(0,0,0,0.12); |
| padding: 0 !important;
| |
| } | | } |
| | | .gr-country-search { |
| /* ── Avataranika (XSL: p.avataranika) */
| | width: 100%; box-sizing: border-box; |
| .mw-parser-output .avataranika { | | padding: 8px 12px; |
| font-style: italic;
| | border: none; border-bottom: 1px solid #eee; |
| color: #444;
| | font-size: 0.9rem; outline: none; |
| margin: 0.3em 0 0.5em 0.5em;
| |
| padding-left: 0.6em;
| |
| border-left: 2px solid #c9a96e;
| |
| line-height: 1.6;
| |
| } | | } |
| | | .gr-country-list { max-height: 240px; overflow-y: auto; } |
| /* ── Mulaprateeka (XSL: p.mulaprateeka) */
| | .gr-country-option { |
| .mw-parser-output .mulaprateeka,
| | display: flex; align-items: center; gap: 8px; |
| .mw-parser-output .gr-mulaprateeka-block {
| | padding: 8px 12px; cursor: pointer; font-size: 0.9rem; |
| font-weight: bold !important;
| |
| font-style: italic !important;
| |
| color: var(--gr-maroon) !important;
| |
| text-align: center !important;
| |
| margin: 0.6em 0 0.3em !important;
| |
| line-height: 1.5;
| |
| } | | } |
| | .gr-country-option:hover { background: #f8f9fa; } |
| | .gr-country-flag { font-size: 1.2rem; flex-shrink: 0; } |
| | .gr-country-name { flex: 1; color: #202122; } |
| | .gr-country-dial { color: #54595d; font-size: 0.85rem; } |
|
| |
|
| /* ── Gadya heading (XSL: h2.topichead) */
| | .gr-phone-national:focus { |
| .mw-parser-output h2.topichead { | | outline: none; border-color: #4A433A; |
| font-size: 1em !important;
| |
| color: #800080 !important;
| |
| font-weight: 500 !important;
| |
| margin-top: 10px !important;
| |
| display: none; /* ref site hides topichead by default */
| |
| } | | } |
| | | /* Search Results Bar styles */ |
| /* ── Bhashya-collection inlinepara run */ | | .gr-search-hl-mobile { |
| .mw-parser-output .gr-inlinepara-run { | | position: fixed; |
| font-family: var(--gr-font-dev) !important;
| | top: 105px; |
| font-size: 16px; | | left: 0px; |
| color: var(--gr-black);
| | right: 0px; |
| text-align: justify;
| | z-index: 10200; |
| line-height: 1.65;
| | background: rgb(181, 69, 27); |
| margin: 0.2em 0;
| | color: rgb(255, 255, 255); display: flex; |
| | align-items: stretch; |
| | justify-content: space-around; |
| | font-family: "Noto Sans Devanagari", system-ui, sans-serif; |
| | box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08) !important; |
| | height: 52px; |
| | box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08) !important; |
| | padding: 5px 4px !important; |
| | gap: 20px !important; |
| } | | } |
| | | .gr-search-hl-mobile .gr-search-bar-btn { |
| /* ── Bhashya anchor (for copy-id hover) */
| | height: 48px; |
| .mw-parser-output .gr-bhashya-anchor {
| | width: 48px; |
| /* inline, no visual change — just provides ID anchor */ | | border: none; |
| | background: transparent; |
| | cursor: pointer; |
| | display: flex; |
| | flex-direction: column; |
| | align-items: center; |
| | justify-content: center; |
| | position: relative; |
| | transition: background 0.15s; |
| } | | } |