From 20d2bc6386b3a90aa802b919e51058aa5da461df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hozda?= Date: Fri, 9 Oct 2020 11:02:35 +0200 Subject: [PATCH] =?UTF-8?q?smolvu=C4=8Dina?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/index.svelte | 10 ++++++++-- static/main.css | 6 ++++++ static/main.styl | 2 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 029bca8..bd2fa2f 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -27,7 +27,6 @@ transition: .2s ease; } .label2:hover { - border: solid 0.1em #d73648; } .labels { position: absolute; @@ -37,6 +36,7 @@ bottom: auto; width: 1200px; height: 800px; + transform: scale(0.7); } /*.labels:hover > *:not(:hover) { font-size: 0.45em; @@ -44,8 +44,13 @@ .label a { color: #000; } + .label2 span { + transition: .1s; + } + .label2 span:hover { + border-bottom: solid 0.1em #d73648; + } .label2 a:hover { - color: #d73648; opacity: 1 !important; } .label span:hover ~ .cross { @@ -264,6 +269,7 @@ height: 100vh; top: 0; left: 0; + trasnform: scale(1); } } diff --git a/static/main.css b/static/main.css index 6ec80d1..bb75a17 100644 --- a/static/main.css +++ b/static/main.css @@ -314,6 +314,9 @@ canvas { .spaced-ul li { margin-bottom: 1em; } +.top-margin { + margin-top: 23vh; +} @media screen and (max-width: 800px) { .panel .horizontal-menu { display: none; @@ -391,4 +394,7 @@ canvas { margin-top: 0; margin-bottom: 0; } + .top-margin { + margin-top: 0; + } } diff --git a/static/main.styl b/static/main.styl index 9eb6222..625a47e 100644 --- a/static/main.styl +++ b/static/main.styl @@ -297,7 +297,7 @@ body > canvas } .top-margin - margin-top 23vh + margin-top 23vh @media screen and (max-width: 800px) .panel .horizontal-menu