MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
Line 2,916: Line 2,916:
.gra-bookmark-cite {
.gra-bookmark-cite {
   margin-top: 6px;
   margin-top: 6px;
   font-family: var(--font-indic);
  /* --font-translit, not --font-indic. The reference is romanised - IAST
    author, IAST title, Latin site name and URL - and Gentium Book Plus
    is the only family here with a REAL italic face (Adishila, which
    --font-indic leads with, has none at this weight, so the italic title
    fell back to a synthetic slant or to nothing at all). Gentium's
    unicode-range covers Latin only, so a Devanagari fallback title still
    lands on Adishila further down the stack. */
   font-family: var(--font-translit);
  font-synthesis: style;            /* allow a slant for the Devanagari case */
   font-size: clamp(11px, calc(var(--gr-font-size, 22px) * 0.54), 15px);
   font-size: clamp(11px, calc(var(--gr-font-size, 22px) * 0.54), 15px);
   line-height: 1.5; color: #6b5b52;
   line-height: 1.5; color: #6b5b52;
Line 2,936: Line 2,944:
}
}
.gra-bookmark-cite a:hover { color: #b5451b; border-bottom-color: #b5451b; }
.gra-bookmark-cite a:hover { color: #b5451b; border-bottom-color: #b5451b; }
.gra-bookmark-cite i { font-style: italic; }
.gra-bookmark-cite i,
.gra-bookmark-cite em { font-style: italic; font-synthesis: style; }


/* Where the bookmark sits in the text. A caption, not part of the
/* Where the bookmark sits in the text. A caption, not part of the