dh-nuigalway / EN6138-2023

EN6138: Digital Scholarly Editing 2022-23
MIT License
2 stars 1 forks source link

Note Colours In EVT #44

Closed sineadba closed 1 year ago

sineadba commented 1 year ago

Hi David, We are struggling to colour code the notes in EVT using CSS, despite using similar code to last year's edition. If possible could you give us advice on what the problem could be? Thanks, WP4

davekelly commented 1 year ago

Hi @sineadba

The file you need to edit with updated CSS rules is: https://github.com/dh-nuigalway/EN6138-2023/blob/main/edition/config/custom-style.css

Notes in the HTML appear as:

<i class="evt_note ng-scope">
    <span class="etymological"></span>
</i>

To target this in CSS you'd need a style rule like:

.evt_note .etymological{  /*css rules go in here */ }

Let me know if that doesn't work, and I'll take another look...

David

sineadba commented 1 year ago

Hi David, I tried that code and it doesn't seem to be working. Thanks, Sinéad

davekelly commented 1 year ago

I took a look, and they seem to be working with different colours – is it fixed?

ValeriaBarbon commented 1 year ago

Yes we managed to solve the problem! Thank you so much!