From 42c0f3ec3d98c22d16134382b24b397142f0d57f Mon Sep 17 00:00:00 2001 From: janko Date: Mon, 22 Jan 2024 12:55:24 +0100 Subject: [PATCH] =?UTF-8?q?css=20popravki.=20dodana=20provizori=C4=8Dna=20?= =?UTF-8?q?'navodila'=20za=20manifest.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuxt/app.vue | 8 ++++++++ nuxt/components/Glava.vue | 13 ++++++++++++- nuxt/pages/pojmi.vue | 3 ++- 3 files changed, 22 insertions(+), 2 deletions(-) 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()