bkhpanigha / hh-suttas

Hillside Hermitage Sutta Translations
5 stars 6 forks source link

Improve formatting for highlights? #29

Open ghost opened 6 months ago

ghost commented 6 months ago

Currently we are highlighting like below. I was wondering if it would be preferable to have something more temporary that showcases the highlight and then fades away. E.g a distinct box, highlighting or peculiar formatting that then fades back into normal text.

image
Reptilioo commented 2 days ago

@uruvelakassapa @bkhpanigha I find that the highlighting is a bit too much, when you send a link to a big chunk of text, opening the page is really aggressive to the eye and I find it doesn't look really good, am I the only one?

Maybe we could make the highlighting more subtle by removing the bolding and font-size change (or make it less big but still bigger than the rest of the text) and just keeping the shadows around the highlighted text or using a slightly heavier bolding by importing and using "Roboto Serif Light" or "Roboto Serif Regular".

Note for myself: it could be nice to highlight the linked comment so as to know which one to look at specifically

Reptilioo commented 2 days ago

I tested to highlight the text in a flashy color first and then to fade away in black, but that doesn't really add much since the text still ends up highlighted after it. And I'm not sure we should remove the highlighting entirely because it is always nice to know the boundaries of the passage that was shared.