:root { /* --theme-color: #003967; --theme-color-light: #aeb7c6; --theme-color-light-bg: rgba(174, 183, 198, 0.185); */ --theme-color: #3aa675; /* color of hyperlinks / clickable elements */ --theme-color-dark: #266d4d; /* background color of highlighted text elements */ --theme-color-light: #adbac7; --theme-color-light-bg: rgba(173, 186, 199, 0.185); --theme-color-compl: #a63a6b; --tech-font: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; --mono-font: monospace; } /*::::::::::::::::::::::::::::::::::{ EDXML: ANCHORS & LINKS }::::::::::::::::::::::::::::::::*/ .column-anchor, .anchor { text-decoration: none; } .column-anchor, .anchor { color: var(--theme-color-dark); } /*::::::::::::::::::::::::::::::::::{ EDXML: FACSIMILE }::::::::::::::::::::::::::::::::*/ /*----------------------------------{ FACSIMILE }--------------------------------*/ .facsimile, .section { margin: 0em 0em; } /*----------------------------------{ SURFACES }--------------------------------*/ .surface { margin-bottom: 50px; } /*----------------------------------{ COLUMNS }--------------------------------*/ div.column { margin-bottom: .8em; } .column .head .col-nr::before { content: attr(data-roman-n); } /*::::::::::::::::::::::::::::::::::{ LINE-LEVEL }::::::::::::::::::::::::::::::::*/ .surface .line, .surface .note { line-height: 1.65em; margin-bottom: 0.45em; } /*----------------------------------{ LINES }--------------------------------*/ .line-nr { display: inline-block; min-width: 4em; } .line-nr { font-family: var(--tech-font); font-size: small; text-align: right; margin-right: 1em; padding: 0 .3em; color: var(--theme-color-light); } .line-nr.calculated { color: lightgray; display: none; } .line:hover .line-nr { background-color: var(--theme-color-light); color: var(--theme-color-dark); } .line:hover { background-color: var(--theme-color-light-bg); } /*::::::::::::::::::::::::::::::::::{ PARTS & SEGMENTS }::::::::::::::::::::::::::::::::*/ /*----------------------------------{ SEGMENTS }--------------------------------*/ span.seg:hover{ /* background-color: rgba(165, 42, 42, 0.150); */ /* background-color: rgba(0, 57, 103, 0.150); */ background-color: var(--theme-color-dark); color: white !important; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } /*----------------------------------{ METAMARKS }--------------------------------*/ hr.metamark-line::before { position: absolute; background: inherit; font-family: var(--tech-font); padding: 0 .3em 0 0; color: var(--theme-color-dark); } hr.metamark-line { display: block; background-color:white; margin:0 0 45px 0; /* max-width:600px; */ border-width:0; } hr.metamark-line.line { height:4px; border-top:1px solid var(--theme-color-dark); } hr.metamark-line.doubleLine { height:4px; border-top:1px solid var(--theme-color-dark); border-bottom:1px solid var(--theme-color-dark); } /*::::::::::::::::::::::::::::::::::{ EDXML: PHILOLOGY }::::::::::::::::::::::::::::::::*/ .unit-container { display: flex; flex-direction: row; } .unit-container > .section-tab { width: 45%; } .section-tab + .section-tab { border-left: solid 1px var(--theme-color-light); padding-left: 5px; } .section-tab.notes { text-align: center; width: 10%; } /*----------------------------------{ UNIT }--------------------------------*/ .philology .unit { line-height: 1.65em; padding-bottom: 0.45em; } .philology .unit:hover { background-color: var(--theme-color-light-bg); } .philology .unit .head { display: inline-block; /* display: none; */ } .philology .unit .head.hide { display: none; } .philology .unit .anchor .unit-nr::before { margin-left: 10px; content: attr(data-n); display: none; } .philology .unit .anchor .unit-count { margin-left: 10px; } /*---------------------------------{ TRANSLATION }------------------------------*/ .translation[data-lang="en"] { display: none; } /*----------------------------------{ LINEBREAKS }--------------------------------*/ .lb { color: var(--theme-color-light); font-family: var(--tech-font); font-size: small; line-height: 1.5; vertical-align: super; } .lb:before { margin-right: .1em; } .lb:after { margin-left: .1em; } /*----------------------------------{ PHRASES }--------------------------------*/ .phr { } /*----------------------------------{ HIGHLIGHTINGS }--------------------------------*/ .bold { font-weight: bold; } .italics { font-style: italic; } .under { text-decoration: underline; } /*----------------------------------{ ITEMS }--------------------------------*/ /*.item { vertical-align: top; }*/ .item { border: 0px solid var(--theme-color-dark); -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } .item:not(:first-child) .value { text-align: center; } .item .annotation { display: none; visibility: hidden; opacity: 0; height: 0; overflow: hidden; } /*----------------------------------{ ITEMS: DISPLAY Annotations }--------------------------------*/ .unit-container:focus-within .item .annotation { transition-property: visibility, opacity; transition-delay: 1s; display: block; visibility: visible; opacity: 1; height: auto; } .unit-container:focus-within .item:hover { background-color: unset; color: unset; } .item .annotation { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background-color: var(--theme-color-dark); color: white; } .item .annotation > * { display: block; padding: 0 .3em ; } .item .annotation > span:hover { background-color: var(--theme-color-light); color: var(--theme-color-dark); } /*----- NOTES -----*/ .line-container span:has(> .notes-icon) { float: right; } .notes-icon ~ input[type=checkbox] { display: none; } .notes-icon::after { content: "📔"; color: transparent; text-shadow: 0 0 0 var(--theme-color); } .notes-icon:has(~ input[type=checkbox]:checked)::after { content: "📖"; } .notes-container { display: none; font-size: 87.5%; margin-left: 1.25em; margin-right: 0.25em; } .line-container:has(.notes-icon ~ input[type=checkbox]:checked) > .notes-container, .unit-container:has(.notes-icon ~ input[type=checkbox]:checked) ~ .notes-container { display: block; } .notes-container input[type=checkbox] { display: none; } .notes-container label { cursor: pointer; } .notes-container > ul { list-style: none; margin-left: -1.5em; text-indent: -0.5em; } .note-item > input[type=checkbox]:checked ~ span { display: none; } .note-item { text-align: justify; } .note-item:not(:first-child) { margin-top: 1em; } .note-item > label { color: var(--theme-color); font-variant: small-caps; font-weight: bold; } .note-item > span > p { margin: 0; margin-top: 0.5em; padding: 0; text-indent: 0; } .note-item > span > p:first-child { display: inline; margin-top: 0; } .unit .note-item > label:not(:has(~ input[type=checkbox]:checked))::after { content: ": "; } /*----------------------------------{ ITEMS: WORDS }--------------------------------*/ .item.w:hover { background-color: var(--theme-color-dark); color: white; } /*::::::::::::::::::::::::::::::::::{ TEI: Transcriptional }::::::::::::::::::::::::::::::::*/ :has(> .conti)::before, :has(> .conti)::after, [data-cert="low"]::after, .tei::before, .tei::after { color: var(--theme-color-compl); } .body:hover, .seg:hover { .g[data-cert="uncertain"]::after, .tei::before, .tei::after { color: white; } } [data-cert="low"]::after { content: "?"; font-size: small; line-height: 0; vertical-align: super; } .tei.add::before { content: "("; } .tei.add::after { content: ")"; } /* corr::before { content: "<"; } corr::after { content: ">"; } */ /*.tei.sic::before { content: "!(Text:"; }*/ :has(+ .sic)::after { content: "!"; font-size: small; line-height: 0; vertical-align: super; } .tei.sic::before { content: "(Text:"; } .tei.sic::after { content: ")"; } /* Remove unwanted whitespace in tei:choice using this hack: https://stackoverflow.com/a/16498754 */ .choice { font-size: 0.1%; } .choice > * { font-size: 100000%; } .damage::before { content: "["; } .damage::after { content: "]"; } .damage[data-degree=low]::before { content: "⸢"; } .damage[data-degree=low]::after { content: "⸣"; } .damage[data-degree=medium]::before { content: "["; } .damage[data-degree=medium]::after { content: "]"; } .del::before { content: "[["; } .del::after { content: "]]"; } .supplied::before { content: "<"; } .supplied::after { content: ">"; } .surplus::before { content: "{"; } .surplus::after { content: "}"; } .unclear::before { content: "("; } .unclear::after { content: ")"; }