LiteratureInContext / LiC-app

Application development for Literature in Context. Staging on development branch (http://anthologydev.lib.virginia.edu), production on master (http://anthology.lib.virginia.edu).
Other
6 stars 1 forks source link

CSS/XSLT updates #132

Open tonyahowe opened 2 years ago

tonyahowe commented 2 years ago

Need some updates to styling! :)

In the Linked Data visualizations, we need to ignore the individuals named in the EDITOR element(s) in the persons/places network graph and the list of persons. For instance, my name/John's name come up as authors/persons mentioned in the texts, and they shouldn't.

In the persons mentioned list, mentions have a pair of parentheses after the word mention, like so--Mention (). Is there a reason for this? Can we delete the ()?

wsalesky commented 2 years ago

I broke out some of these into other issue.

tonyahowe commented 1 year ago

@wsalesky I think we need more styles for indentation--I'm working with a modern poem that uses many different forms of indentation. Can we add styles for indent4 thru indent10? It seems like each level of indent is going over 5 spaces--is that correct?

wsalesky commented 1 year ago

@tonyahowe yes, they go in by 5px. I will add the additional styles.

wsalesky commented 1 year ago

Added up to indent10. (They are actually measured in em not px, and go up by 2em for every indent.)

tonyahowe commented 1 year ago

We are moving into adding medieval literature! Many such texts have side notes, which are sort of glosses/summaries on the text at that point. In Anonymous/beowulf-hall.xml, you can see that there are <note type="sidenote"></note> in the body of the text. Not sure what the best way to render these is, but typically they are either to the right or left of the textblock, italicized, and in a smaller, lighter font.

wsalesky commented 1 year ago

@tonyahowe I will have to give this some thought in terms of display.

wsalesky commented 9 months ago

@tonyahowe do you want these always visable, or an icon that indicates a note in the margin?

tonyahowe commented 9 months ago

That's a great question--can we add a way to distinguish them, perhaps an attribute tag? In some cases, the notes are always visible (they're part of the text); in other cases, they're not. The Beowulf notes should be always visible.