Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ARCHITRAVE
SADE
Commits
ccb5d6e7
Commit
ccb5d6e7
authored
Oct 12, 2020
by
sendler
🐢
Browse files
update transform.xqm and custom.css
parent
1d547c3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/architrave/transform.xqm
View file @
ccb5d6e7
...
...
@@ -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)
...
...
templates/css/custom.css
View file @
ccb5d6e7
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment