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/AdishilaDeBv.ttf") format("truetype");
   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-size: 0.95em; text-align: center;
   font-weight: bold;
  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-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 {
  display: block !important; font-size: 0.96em !important;}
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-size: 0.82em;
   font-weight: bold;
   font-weight: bold;
   color: #e65100;
   color: var(--maroon);
   font-family: 'AdishilaDev', 'Adishila', 'Noto Serif Devanagari', serif;
   font-family: 'AdishilaDev', 'Adishila', 'Noto Serif Devanagari', serif;
  padding-left: 0.86em;
   margin: 0;
   margin: 0;
  line-height: 1.75;
}
}


/* B.Shloka / TK.Shloka / TP.Shloka — left, black, AdishilaDev, 10mm indent */
/* 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-size: 0.73em;
   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;
  padding-left: 1.73em;
   margin: 0;
   margin: 0;
  line-height: 1.75;
}
}


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;
}