MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2,918: | Line 2,918: | ||
font-family: var(--font-indic); | font-family: var(--font-indic); | ||
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. | line-height: 1.5; color: #6b5b52; | ||
overflow-wrap: anywhere; | /* Ragged right and flush left. The hanging indent that was here reads | ||
correctly in a printed reference LIST, where it separates one entry | |||
from the next; on a single card it just looked like the lines had | |||
slipped. Justification came in from the panel and stretched the word | |||
gaps, which is what made the spacing look broken. */ | |||
text-align: left; | |||
text-indent: 0; | |||
padding-left: 0; | |||
overflow-wrap: break-word; | |||
word-break: normal; | |||
hyphens: none; | |||
} | |||
.gra-bookmark-cite a { | |||
color: inherit; text-decoration: none; border-bottom: 1px dotted #c3b3a9; | |||
overflow-wrap: anywhere; /* only the URL may break mid-token */ | |||
} | } | ||
.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 { font-style: italic; } | ||
/* 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 | ||