MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(8 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 48: Line 48:
   src: url("/resources/fonts/Noto_Sans_Devanagari/NotoSansDevanagari.ttf") format("truetype");
   src: url("/resources/fonts/Noto_Sans_Devanagari/NotoSansDevanagari.ttf") format("truetype");
   font-weight: normal; font-style: normal;
   font-weight: normal; font-style: normal;
}
body {
background-color: #fff;
}
}


Line 70: 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 282: 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 380: 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 661: 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 705: Line 704:
.skin-minerva header.header-container {
.skin-minerva header.header-container {
   background: #b5451b !important;
   background: #b5451b !important;
   position: sticky !important;
   position: fixed !important;
   top: 0 !important;
   top: 0 !important;
   z-index: 200 !important;
   z-index: 200 !important;
Line 1,465: Line 1,464:
     flex-shrink: 0;
     flex-shrink: 0;
     line-height: 0;
     line-height: 0;
    margin-top: -3px;
}
}
body.page-Special_UserLogin .gr-google-login-icon svg {
body.page-Special_UserLogin .gr-google-login-icon svg {
Line 1,637: Line 1,637:
}
}
     .gr-login-checks{display:flex;justify-content: space-between; gap:8px;margin:12px 0;}
     .gr-login-checks{display:flex;justify-content: space-between; gap:8px;margin:12px 0;}
.gr-check-label{display:flex;align-items:center;gap:8px;font-size:14px;color:#1C1A17;cursor:pointer;}
.gr-check-label{display:flex;align-items:center;gap:8px;font-size:14px;color:#1C1A17;cursor:pointer; font-family: "Noto Sans Devanagari"}
.gr-check-label input{width:16px;height:16px;accent-color:#B14A2E;cursor:pointer;}
.gr-check-label input{width:16px;height:16px;accent-color:#B14A2E;cursor:pointer; font-family: "Noto Sans Devanagari"}
      
      
@media (max-width: 480px) {
@media (max-width: 480px) {
Line 2,124: 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;
}