From 9cc11417464c44ae03a3954b6488245cd2ba9a99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20Petr=C3=A1=C5=88?= Date: Wed, 24 Apr 2019 20:32:40 +0200 Subject: [PATCH] Some bug fixes --- css/master.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css/master.css b/css/master.css index 745c627..1ee9f8f 100644 --- a/css/master.css +++ b/css/master.css @@ -46,7 +46,7 @@ p.article{ font-size: 2.5em; } .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-repeat: no-repeat; background-position: center; @@ -55,7 +55,7 @@ p.article{ img.arrow-down{ width: 3.5em; 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); animation: arrow 3s infinite; -webkit-animation: arrow 3s infinite; @@ -273,7 +273,7 @@ nav ul a:hover{ color:#0E404D; text-decoration: none; } -#overlay h1.title{ +#overlay h1.nav{ opacity: 0; } img.close-btn { @@ -316,7 +316,7 @@ div.-right{ 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; -webkit-animation: show-x .3s .5s forwards; }