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

add classes and styling to transformation of tei:figure and tei:figDesc

parent ae292be3
......@@ -626,6 +626,17 @@ return
)
else (local:magic($node/node()))
case element ( tei:figure) return
element span {
attribute class {"tei-figure"},
local:magic($node/node())
}
case element ( tei:figDesc ) return
element span {
attribute class {"tei-figDesc"},
local:magic($node/node())
}
default return
local:magic($node/node())}
......
......@@ -116,4 +116,18 @@ caption {
display: flow-root;
margin: auto;
width: 50%;
}
.tei-figDesc {
margin-top: 0.5rem;
display: inline-block;
}
.tei-figDesc:last-of-type {
margin-bottom: 0.5rem;
}
.tei-figure {
display: block;
margin-top: 1rem;
}
\ 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