nfdi4plants / arc-rdm.org

The official ARC website!
https://arc-rdm.org/
1 stars 2 forks source link

Styling of different cross-link types (dictionary, cross-reference, etc.) #70

Open Brilator opened 1 week ago

Brilator commented 1 week ago

The mix of highlighting (bold, italic) / dictionary terms / internal cross-references can lead to somewhat ugly styling. Maybe make all dictionary-links and cross-links bold by default and underline dictionary links in addition? Or is it easily possible to inherit styling for dictionary tagged words (e.g. if text is bold)?

Screenshot 2024-09-23 at 12 44 45

Freymaurer commented 1 week ago

I think in request of @kMutagene i changed the dictionary links to be not bold 😅

kMutagene commented 1 week ago

I think it is better that some bold text looks weird occasionally rather than many passages of normal text being 50/50 bold due to dictionary link highlighting, but i guess that's personal preference

kMutagene commented 1 week ago

Ideally, dictionary link highlighting respects original styling but i can see how that's hard to implement

kMutagene commented 1 week ago

Ideally, dictionary link highlighting respects original styling but i can see how that's hard to implement

or maybe not if the link style just adds the underline (without any other styling) @Freymaurer ?