|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
}
|
|
|
|
|
.label {
|
|
|
|
|
position: absolute;
|
|
|
|
|
font-size: calc(var(--font-size) / 1.7);
|
|
|
|
|
font-size: 20px !important;
|
|
|
|
|
transition: .2s ease;
|
|
|
|
|
}
|
|
|
|
|
.label2:hover {
|
|
|
|
@ -269,7 +269,7 @@
|
|
|
|
|
height: 100vh;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
trasnform: scale(1);
|
|
|
|
|
transform: scale(0.9);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
@ -278,6 +278,7 @@
|
|
|
|
|
import Logo from '../components/logo.svelte';
|
|
|
|
|
import anime from 'animejs/lib/anime.es.js';
|
|
|
|
|
import { onMount, afterUpdate } from 'svelte';
|
|
|
|
|
//import { watchResize } from 'svelte-watch-resize';
|
|
|
|
|
|
|
|
|
|
let clicked = false;
|
|
|
|
|
let what = {
|
|
|
|
@ -369,6 +370,26 @@
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function resize() {
|
|
|
|
|
if (document.querySelector("#predseda")) {
|
|
|
|
|
let predseda = document.getElementById("predseda");
|
|
|
|
|
let prebiram = document.getElementById("prebiram");
|
|
|
|
|
let zapojit = document.getElementById("zapojit");
|
|
|
|
|
let zalozit = document.getElementById("zalozit");
|
|
|
|
|
let oborovky = document.getElementById("oborovky");
|
|
|
|
|
let plusko = document.getElementById("plusko")
|
|
|
|
|
|
|
|
|
|
what["predseda"] = [ predseda.clientHeight, predseda.clientWidth, predseda.offsetLeft, predseda.offsetTop ];
|
|
|
|
|
what["prebiram"] = [ prebiram.clientHeight, prebiram.clientWidth, prebiram.offsetLeft, prebiram.offsetTop ];
|
|
|
|
|
what["zapojit"] = [ zapojit.clientHeight, zapojit.clientWidth, zapojit.offsetLeft, zapojit.offsetTop ];
|
|
|
|
|
what["zalozit"] = [ zalozit.clientHeight, zalozit.clientWidth, zalozit.offsetLeft, zalozit.offsetTop ];
|
|
|
|
|
what["oborovky"] = [ oborovky.clientHeight, oborovky.clientWidth, oborovky.offsetLeft, oborovky.offsetTop ];
|
|
|
|
|
what["plusko"] = [ plusko.clientHeight, plusko.clientWidth, plusko.offsetLeft, plusko.offsetTop ];
|
|
|
|
|
|
|
|
|
|
console.log(what);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onMount(() => {
|
|
|
|
|
if (window.innerWidth <= 800)
|
|
|
|
|
clicked = true;
|
|
|
|
@ -378,6 +399,7 @@
|
|
|
|
|
<svelte:head>
|
|
|
|
|
<title>Spolky a SORky PedF UK | Chci se zapojit</title>
|
|
|
|
|
</svelte:head>
|
|
|
|
|
<!--<svelte:window use:watchResize={resize}/>-->
|
|
|
|
|
|
|
|
|
|
<Logo keep={true}/>
|
|
|
|
|
|
|
|
|
|