Commit fad48df9 authored by gijs's avatar gijs
Browse files

Left margin on figure

parent 981c71db
......@@ -47,7 +47,7 @@
for (var i=0; i < images.length; i++) {
images[i].addEventListener('click', function () {
if (this.parentElement && this.parentElement.tagName.lower() == 'figure') {
if (this.parentElement && this.parentElement.tagName.toLowerCase() == 'figure') {
this.parentElement.classList.toggle('full');
} else {
this.classList.toggle('full');
......
......@@ -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;
}
......
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