minor style improvement

This commit is contained in:
Christian Mueller
2014-01-26 13:34:57 +01:00
parent 4f9f6d0a9c
commit 8a219376e5
3 changed files with 13 additions and 8 deletions
+4 -3
View File
@@ -49,12 +49,13 @@ function onLoad() {
show(elem);
}
if(window.innerHeight >= document.body.clientHeight) {
var links = $("links");
if(links) {
var links = $("links");
if(links){
if(window.innerHeight >= document.body.clientHeight) {
links.style.position = "fixed";
links.style.bottom = 0;
}
show(links);
}
}
+5 -1
View File
@@ -93,6 +93,10 @@ a:visited {
padding: 1em;
font-size: 0.8em;
text-align: center;
@media screen and (max-width: 1024px) {
font-size: 0.4em;
}
}
#links a {
border: none;
@@ -155,7 +159,7 @@ textarea {
font-size: 1em;
height: 500px;
}
.hidden, .markdown {
.hidden, .markdown, #links {
display: none;
}
#dashed-line {