From d7adc26cf0d618caebe9f3320c953fb6b50d9169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hozda?= Date: Thu, 8 Oct 2020 23:27:09 +0200 Subject: [PATCH] shrink --- src/routes/akcelerator.svelte | 4 ++-- src/routes/index.svelte | 10 +++++----- src/routes/oborovky.svelte | 4 ++-- src/routes/prebiram.svelte | 4 ++-- src/routes/predseda.svelte | 7 ++----- src/routes/zalozit-spolek.svelte | 4 ++-- src/routes/zapojit-se.svelte | 4 ++-- static/main.css | 8 ++++++++ static/main.styl | 11 +++++++++++ 9 files changed, 36 insertions(+), 20 deletions(-) diff --git a/src/routes/akcelerator.svelte b/src/routes/akcelerator.svelte index 0adfc23..4ab0828 100644 --- a/src/routes/akcelerator.svelte +++ b/src/routes/akcelerator.svelte @@ -59,9 +59,9 @@
-
+
-
+

Spolkový akcelerátor


diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 88d3374..b2291f0 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -178,35 +178,35 @@ top: 70vh; } #predseda { - top: 20vh; + top: 30vh; width: calc(100% - 16em); left: 0; padding: 0; padding-left: 20px; } #prebiram { - top: 30vh; + top: 40vh; width: calc(100% - 16em); left: 0; padding: 0; padding-left: 20px; } #zapojit { - top: 40vh; + top: 50vh; width: calc(100% - 16em); left: 0; padding: 0; padding-left: 20px; } #zalozit { - top: 50vh; + top: 60vh; width: calc(100% - 16em); left: 0; padding: 0; padding-left: 20px; } #oborovky { - top: 60vh; + top: 70vh; width: calc(100% - 16em); left: 0; padding: 0; diff --git a/src/routes/oborovky.svelte b/src/routes/oborovky.svelte index a26c438..ebdafbc 100644 --- a/src/routes/oborovky.svelte +++ b/src/routes/oborovky.svelte @@ -61,9 +61,9 @@
-
+
-
+

Chci vědět víc o oborovkách


diff --git a/src/routes/prebiram.svelte b/src/routes/prebiram.svelte index 6bcd834..b14d0fc 100644 --- a/src/routes/prebiram.svelte +++ b/src/routes/prebiram.svelte @@ -58,9 +58,9 @@
-
+
-
+

Přebírám spolek


diff --git a/src/routes/predseda.svelte b/src/routes/predseda.svelte index 842762a..24ffd42 100644 --- a/src/routes/predseda.svelte +++ b/src/routes/predseda.svelte @@ -61,9 +61,9 @@
-
+
-
+

Předseda spolku


@@ -269,9 +269,6 @@
-
-
-
diff --git a/src/routes/zalozit-spolek.svelte b/src/routes/zalozit-spolek.svelte index 42f57e9..2c54d0f 100644 --- a/src/routes/zalozit-spolek.svelte +++ b/src/routes/zalozit-spolek.svelte @@ -58,9 +58,9 @@
-
+
-
+

Chci založit spolek


diff --git a/src/routes/zapojit-se.svelte b/src/routes/zapojit-se.svelte index 5ef3ebd..16fd7a0 100644 --- a/src/routes/zapojit-se.svelte +++ b/src/routes/zapojit-se.svelte @@ -56,9 +56,9 @@
-
+
-
+

Chci se zapojit


diff --git a/static/main.css b/static/main.css index b87ea12..6ec80d1 100644 --- a/static/main.css +++ b/static/main.css @@ -383,4 +383,12 @@ canvas { padding: 2rem 7rem !important; font-size: calc(var(--font-size) * 0.7) !important; } + .spacer { + height: 0; + display: 0; + } + .number-thing { + margin-top: 0; + margin-bottom: 0; + } } diff --git a/static/main.styl b/static/main.styl index bdf52a5..9eb6222 100644 --- a/static/main.styl +++ b/static/main.styl @@ -296,6 +296,9 @@ body > canvas margin-bottom: 1em } +.top-margin + margin-top 23vh + @media screen and (max-width: 800px) .panel .horizontal-menu display: none @@ -343,3 +346,11 @@ body > canvas .cool-button padding: 2rem 7rem !important font-size: calc(var(--font-size) * 0.7) !important + .spacer + height: 0 + display: 0 + .number-thing + margin-top: 0 + margin-bottom: 0 + .top-margin + margin-top: 0