Skip to content
Snippets Groups Projects
Commit a16799c1 authored by Max-Ferdinand Zeterberg's avatar Max-Ferdinand Zeterberg
Browse files

feat(oxygen-css): make bibl as links to zotero

feat(oxygen-css): implement renditions for hi
feat(oxygen-css): implement brackets for tei:unclear
feat(oxygen-css): implement uncertainty for all elements with @cert 
parent dd6cdbb6
No related branches found
No related tags found
1 merge request!28Resolve "Oxygen-Nutzung"
...@@ -1080,16 +1080,45 @@ philology unit[xml|id]::after(2) { ...@@ -1080,16 +1080,45 @@ philology unit[xml|id]::after(2) {
} }
bibl {
-oxy-link: "https://www.zotero.org/groups/5113405/eupt/collections/WDM6KU22/items/" oxy_substring(attr(zotero), 5) ;
text-decoration-color: blue;
text-decoration: underline;
}
/* #################{ Highlightings and transcriptional elements }############### */ /* #################{ Highlightings and transcriptional elements }############### */
hi, hi:not([rend]),
hi[rend=italic]{ hi[rend=italic]{
font-style: italic; font-style: italic;
-oxy-display-tags: none; -oxy-display-tags: none;
} }
hi[rend=bold]{
font-weight: bold;
-oxy-display-tags: none;
}
hi[rend=sub]{
vertical-align: sub;
font-weight: 600;
font-size: 0.7em;
-oxy-display-tags: none;
}
hi[rend=super]{
vertical-align: super;
font-weight: 600;
font-size: 0.7em;
-oxy-display-tags: none;
}
hi[rend=under]{
text-decoration: underline;
-oxy-display-tags: none;
}
sic, sic,
corr, corr,
choice, choice,
...@@ -1119,7 +1148,7 @@ add::before, add::after, ...@@ -1119,7 +1148,7 @@ add::before, add::after,
del::before, del::after, del::before, del::after,
unclear::before, unclear::after, unclear::before, unclear::after,
damage::before, damage::after, damage::before, damage::after,
restore::before restore::after, restore::before, restore::after,
supplied::before, supplied::after, supplied::before, supplied::after,
surplus::before, surplus::after, surplus::before, surplus::after,
secl::before, secl::after, secl::before, secl::after,
...@@ -1171,6 +1200,9 @@ supplied::after { content: ">"; } ...@@ -1171,6 +1200,9 @@ supplied::after { content: ">"; }
surplus::before { content: "{"; } surplus::before { content: "{"; }
surplus::after { content: "}"; } surplus::after { content: "}"; }
unclear::before { content: "("; }
unclear::after { content: ")"; }
/* Line Breaks */ /* Line Breaks */
lb::before, lb::before,
lb::after { lb::after {
...@@ -1189,8 +1221,11 @@ lb:focus { ...@@ -1189,8 +1221,11 @@ lb:focus {
content: oxy_textfield(edit, "@n", columns, 5); content: oxy_textfield(edit, "@n", columns, 5);
} }
g[cert="uncertain"]::after(500) { *[cert="low"]::after(500) {
content: "?"; content: "?";
vertical-align: super;
font-weight: 600;
font-size: 0.7em;
} }
/** LINKS **/ /** LINKS **/
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment