Some bug fixes

This commit is contained in:
Marcel Petráň 2019-04-24 20:32:40 +02:00
parent 461b19d210
commit 9cc1141746

View File

@ -46,7 +46,7 @@ p.article{
font-size: 2.5em; font-size: 2.5em;
} }
.home { .home {
min-height: calc(100vh - 14.3em); /* Bude problem v safari, kde to musim odjebat od nav baru */ min-height: 100vh; /* Bude problem v safari, kde to musim odjebat od nav baru */
background-image: url('../img/logo.png'); background-image: url('../img/logo.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
@ -55,7 +55,7 @@ p.article{
img.arrow-down{ img.arrow-down{
width: 3.5em; width: 3.5em;
position: absolute; position: absolute;
top: calc(100vh - 18em); /* Bude problem v safari, kde to musim odjebat od nav baru */ top: calc(100vh - 4.7em); /* Bude problem v safari, kde to musim odjebat od nav baru */
left: calc(50% - 1.75em); left: calc(50% - 1.75em);
animation: arrow 3s infinite; animation: arrow 3s infinite;
-webkit-animation: arrow 3s infinite; -webkit-animation: arrow 3s infinite;
@ -273,7 +273,7 @@ nav ul a:hover{
color:#0E404D; color:#0E404D;
text-decoration: none; text-decoration: none;
} }
#overlay h1.title{ #overlay h1.nav{
opacity: 0; opacity: 0;
} }
img.close-btn { img.close-btn {
@ -316,7 +316,7 @@ div.-right{
animation: slide-menu .3s ease-in forwards; animation: slide-menu .3s ease-in forwards;
-webkit-animation: slide-menu .3s ease-in forwards; -webkit-animation: slide-menu .3s ease-in forwards;
} }
.active .close-btn, .active h1.title{ .active .close-btn, .active h1.nav{
animation: show-x .3s .5s forwards; animation: show-x .3s .5s forwards;
-webkit-animation: show-x .3s .5s forwards; -webkit-animation: show-x .3s .5s forwards;
} }