MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 36: | Line 36: | ||
@font-face { | @font-face { | ||
font-family: "AdishilaDev"; | font-family: "AdishilaDev"; | ||
src: url("/resources/fonts/ | src: url("/resources/fonts/AdishilaDev.ttf") format("truetype"); | ||
font-weight: bold; font-style: normal; | font-weight: bold; font-style: normal; | ||
} | } | ||
| Line 51: | Line 51: | ||
body { | body { | ||
background: #fff; | background-color: #fff; | ||
} | } | ||
| Line 74: | Line 74: | ||
.gra-icon-prev { background-image: url('/images/prev.svg'); } | .gra-icon-prev { background-image: url('/images/prev.svg'); } | ||
.gra-icon-next { background-image: url('/images/next.svg'); } | .gra-icon-next { background-image: url('/images/next.svg'); } | ||
.gra-icon-footnote { background-image: url('/images/footnote.svg'); } | |||
#mw-content-text { | #mw-content-text { | ||
| Line 286: | Line 287: | ||
display: block; font-weight: 500; line-height: 1.35; margin: 0; color: var(--maroon); | display: block; font-weight: 500; line-height: 1.35; margin: 0; color: var(--maroon); | ||
} | } | ||
.verse-block.normal .shloka-line { color: #555; } | |||
.verse-block + p { display: none !important; margin: 0 !important; } | .verse-block + p { display: none !important; margin: 0 !important; } | ||
.mw-parser-output .verse-block, | .mw-parser-output .verse-block, | ||
| Line 384: | Line 386: | ||
} | } | ||
.gr-vyakhya-gadya { | .gr-vyakhya-gadya { | ||
font-weight: bold | font-weight: bold; | ||
} | } | ||
.gr-vyakhya-para { margin: 0 0 0.5em 0; line-height: 1.65; color: #444; } | .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-embedded-bhashya { margin: 0.2em 0 0.2em 1em; line-height: 1.6; } | ||
.gr-gadya { | .gr-gadya { | ||
font-family: 'Adishila';font-weight: bold; display: block !important; margin-left: 0.2em;} | |||
.gr-author-note { | .gr-author-note { | ||
font-style: italic; color: var(--maroon); text-align: center; font-size: 0.9em; | font-style: italic; color: var(--maroon); text-align: center; font-size: 0.9em; | ||
| Line 665: | Line 666: | ||
display: block; | display: block; | ||
text-align: left; | text-align: left; | ||
font-weight: bold; | font-weight: bold; | ||
color: | color: var(--maroon); | ||
font-family: 'AdishilaDev', 'Adishila', 'Noto Serif Devanagari', serif; | font-family: 'AdishilaDev', 'Adishila', 'Noto Serif Devanagari', serif; | ||
margin: 0; | margin: 0; | ||
} | } | ||
/* B.Shloka / TK.Shloka / TP.Shloka — left, black, AdishilaDev | /* B.Shloka / TK.Shloka / TP.Shloka — left, black, AdishilaDev */ | ||
.gr-b-shloka, | .gr-b-shloka, | ||
.gr-tp-shloka { | .gr-tp-shloka { | ||
display: block; | display: block; | ||
text-align: left; | text-align: left; | ||
font-weight: normal; | font-weight: normal; | ||
color: #1a1a1a; | color: #1a1a1a; | ||
font-family: 'AdishilaDev', 'Adishila', 'Noto Serif Devanagari', serif; | font-family: 'AdishilaDev', 'Adishila', 'Noto Serif Devanagari', serif; | ||
margin: 0; | margin: 0; | ||
} | } | ||
| Line 2,129: | Line 2,124: | ||
body.ns-10 .vector-page-toolbar, | body.ns-10 .vector-page-toolbar, | ||
body.ns-8 .vector-page-toolbar { display: block !important; } | body.ns-8 .vector-page-toolbar { display: block !important; } | ||
/* Style overrides for QuickEdit */ | |||
.mw-body-content[contenteditable="true"]:focus-visible { | |||
outline: 0; | |||
} | |||