MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2,744: | Line 2,744: | ||
.gr-note-marker:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; } | .gr-note-marker:focus-visible { outline: 2px solid var(--orange); outline-offset: 1px; } | ||
.gr-note-marker-open { background: #b5451b; color: #fff !important; border-color: #b5451b; } | .gr-note-marker-open { background: #b5451b; color: #fff !important; border-color: #b5451b; } | ||
/* The open state for an annotated WORD - used when the card is anchored to | |||
the words themselves, which is the case for a commentary's notes (they | |||
carry no superscript). It must not reverse the text out, or the word it | |||
is meant to point at becomes unreadable. */ | |||
#mw-content-text .gra-qe-footnote-highlight.gr-note-hl-open { | |||
background: #fdefe6; | |||
border-bottom: 1px solid #b5451b; | |||
border-radius: 3px; | |||
box-shadow: 0 0 0 2px #fdefe6; | |||
} | |||
/* The card. Fixed, because it is positioned against the marker's viewport | /* The card. Fixed, because it is positioned against the marker's viewport | ||
| Line 2,823: | Line 2,834: | ||
font-weight: 600; color: #b5451b; | font-weight: 600; color: #b5451b; | ||
padding-bottom: 3px; margin-bottom: 4px; border-bottom: 1px solid #f1e4db; | padding-bottom: 3px; margin-bottom: 4px; border-bottom: 1px solid #f1e4db; | ||
} | |||
/* Footnote panel: one section per source document. The page's own notes | |||
come first, then a section per commentary shown on the page. */ | |||
.gra-footnote-section-title { | |||
font-family: var(--font-deva); | |||
font-size: clamp(13px, calc(var(--gr-font-size, 22px) * 0.66), 18px); | |||
font-weight: 600; color: #b5451b; | |||
margin: 14px 4px 6px; padding-bottom: 4px; | |||
border-bottom: 1px solid #f1e4db; | |||
} | |||
.gra-footnote-section-title:first-child { margin-top: 2px; } | |||
.gra-footnote-section-own { color: #7a6a60; } | |||
/* Repeated on the card, for when the heading has scrolled out of view. */ | |||
.gra-footnote-source { | |||
font-family: var(--font-deva); | |||
font-size: clamp(11px, calc(var(--gr-font-size, 22px) * 0.5), 14px); | |||
color: #b5451b; opacity: 0.85; margin-bottom: 2px; | |||
} | } | ||