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

update transform.xqm and custom.css

parent 1d547c3e
......@@ -634,6 +634,18 @@ return
)
else (local:magic-wrapper($node/node(), $mode))
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())
}
case element ( tei:cb ) return
if ($node/@* = ($node/parent::*//tei:cb/@*)[1]) then
local:parse-column($node)
......
......@@ -118,6 +118,20 @@ caption {
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;
}
.column-wrapper {
display: flex;
flex-flow: row nowrap;
......
Markdown is supported
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