fix some styles

This commit is contained in:
Beu 2019-10-07 14:20:40 +02:00
parent 0486875af2
commit 6a67c34115
2 changed files with 4 additions and 2 deletions

View File

@ -19,6 +19,7 @@ function opencell(id) {
z[0].classList.add("display");
z[0].classList.remove("hidden");
url = url.concat("#",id);
window.scrollBy(0, 300);
}
@ -32,6 +33,7 @@ function opencell(id) {
z[0].classList.add("display");
z[0].classList.remove("hidden");
url = url.concat("#",id);
window.scrollBy(0, 300);
}
history.pushState({}, null, url);
@ -48,6 +50,7 @@ function init() {
var z = w.getElementsByClassName("hidden");
z[0].classList.add("display");
z[0].classList.remove("hidden");
window.scrollBy(0, 300);
}
}
}

View File

@ -93,8 +93,7 @@ h2 svg {
width : 150px;
height: 150px;
cursor: pointer;
transition: width 0.5s;
transition: width 0.25s;
}
.opened {