Skip to content

Commit

Permalink
fix(annotator): tetx viewer shows part numbers (e.g. fragments). gh-76.
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffroy-noel-ddh committed Sep 27, 2024
1 parent f835fb7 commit d05129c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
16 changes: 13 additions & 3 deletions app/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,24 @@ The name of the element is inserted into the class attribute:
text-align: center;
}

.textpart-number:before {
content: 'Part ';
}
div[data-tei-subtype='fragment-physical'] .textpart-number:before {
content: 'Fragment ';
}
.textpart-number, .column-number {
font-size: 1.5em;
border-top: 1px solid gray;
width: 90%;
}
.column-number:before {
content: 'Column ';
}
.column-number {
font-size: 1.5em;
border-top: 1px solid gray;
font-size: 1.3em;
border-top-style: dashed;
display: inline-block;
width: 90%;
}

.tei-ab > br:first-child {
Expand Down
Loading

0 comments on commit d05129c

Please sign in to comment.