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
78990580
Commit
78990580
authored
Sep 24, 2020
by
sendler
🐢
Browse files
Merge branch 'feature/figure-transformation' into 'staging'
Feature/figure transformation See merge request ARCHITRAVE/SADE!13
parents
ae292be3
b599ae12
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/architrave/transform.xqm
View file @
78990580
...
...
@@ -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())}
...
...
templates/css/custom.css
View file @
78990580
...
...
@@ -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
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