Commit ac4d6133 authored by sendler's avatar sendler 🐢
Browse files

add transformation for tei:label and styling for centered text

parent b46bcbf2
......@@ -585,6 +585,15 @@ return
local:magic($node/node())
}
case element ( tei:label ) return
element span {
if ( $node[@rend="center"] ) then
attribute class { "centeredText" }
else
(),
local:magic($node/node())
}
default return
local:magic($node/node())}
......
......@@ -110,4 +110,10 @@ caption {
.topRight {
float: right;
}
.centeredText {
display: flow-root;
margin: auto;
width: 50%;
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment