From a72e0a1618dcc4699b95d1e4bceae0df3eeb16a4 Mon Sep 17 00:00:00 2001 From: geoffroy-noel-ddh Date: Fri, 27 Sep 2024 22:54:37 +0100 Subject: [PATCH] feat(annotator): text viewer shows specific labels for sections (e.g. 1485). gh-76. --- app/assets/main.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/assets/main.css b/app/assets/main.css index 767b635e7..98827d83a 100644 --- a/app/assets/main.css +++ b/app/assets/main.css @@ -261,14 +261,20 @@ The name of the element is inserted into the class attribute: .textpart-number:before { content: 'Part '; } +/* 613 */ div[data-tei-subtype='fragment-physical'] .textpart-number:before { content: 'Fragment '; } +/* 1485 */ +div[data-tei-subtype='section'] .textpart-number:before { + content: 'Section '; +} .textpart-number, .column-number { font-size: 1.5em; border-top: 1px solid gray; width: 90%; } +/* 613 */ .column-number:before { content: 'Column '; }