Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
tools.ethertoff
Commits
fad48df9
Commit
fad48df9
authored
Nov 28, 2019
by
gijs
Browse files
Left margin on figure
parent
981c71db
Changes
2
Hide whitespace changes
Inline
Side-by-side
generator/templates/page_structure.html
View file @
fad48df9
...
...
@@ -47,7 +47,7 @@
for
(
var
i
=
0
;
i
<
images
.
length
;
i
++
)
{
images
[
i
].
addEventListener
(
'
click
'
,
function
()
{
if
(
this
.
parentElement
&&
this
.
parentElement
.
tagName
.
l
ower
()
==
'
figure
'
)
{
if
(
this
.
parentElement
&&
this
.
parentElement
.
tagName
.
toL
ower
Case
()
==
'
figure
'
)
{
this
.
parentElement
.
classList
.
toggle
(
'
full
'
);
}
else
{
this
.
classList
.
toggle
(
'
full
'
);
...
...
generator/templates/static/styles.simple.css
View file @
fad48df9
...
...
@@ -476,6 +476,10 @@ main img, main figure {
clear
:
left
;
}
main
figure
{
margin-left
:
0
;
}
main
img
.full
,
main
figure
.full
img
{
cursor
:
zoom-out
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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