diff --git a/nuxt/app.vue b/nuxt/app.vue index abcd90e..a6759a8 100644 --- a/nuxt/app.vue +++ b/nuxt/app.vue @@ -79,11 +79,19 @@ width: fit-content; } + .navodila { + padding-left: 2rem; + padding-right: 2rem; + } + @media screen and (max-width: 325px) { .vsebina { padding-right: 0; padding-left: 0; } + .stran { + margin: 0; + } } section.pojem { diff --git a/nuxt/components/Glava.vue b/nuxt/components/Glava.vue index 65e0748..3b5fa09 100644 --- a/nuxt/components/Glava.vue +++ b/nuxt/components/Glava.vue @@ -50,7 +50,7 @@ h1 { img { position: fixed; - top: -10wh; + top: -10vh; left: -10vw; width: 120vw; height: 120vh; @@ -58,6 +58,17 @@ img { object-fit: cover; } +@media screen and (min-width: 1980px) { + img { + width: 100vw; + height: 100vh; + left: 0; + top: 0; + } +} + + + .meni { position: absolute; top: 0; diff --git a/nuxt/pages/pojmi.vue b/nuxt/pages/pojmi.vue index 5cb6533..0b4a0a6 100644 --- a/nuxt/pages/pojmi.vue +++ b/nuxt/pages/pojmi.vue @@ -6,8 +6,9 @@ await store.naloziPojme()