From 441b04a04f23a4c54ece631f09a2a0a4b84c5e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no> Date: Tue, 16 Mar 2021 15:22:10 +0100 Subject: [PATCH] =?UTF-8?q?re=20meta#300=20mer=20rosa=20p=C3=A5=20toppen?= =?UTF-8?q?=20(startside)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DictionaryView.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/DictionaryView.vue b/src/components/DictionaryView.vue index 507dce41..5e335ac4 100644 --- a/src/components/DictionaryView.vue +++ b/src/components/DictionaryView.vue @@ -1,7 +1,7 @@ <template> - <main :class="(article || waiting || error || (search_results && search_results.length)) ? '' : 'welcome '"> + <main> <div class="search_container"> - <p class="description" v-if="$vuetify.breakpoint.mdAndUp"> + <p class="description" :class="$vuetify.breakpoint.name" v-if="$vuetify.breakpoint.mdAndUp && ! (article || waiting || error || (search_results && search_results.length))"> Skrivemåte og bøying i tråd med norsk rettskriving </p> <div class="lang_select_container"> @@ -276,7 +276,7 @@ main { background-color: var(--v-tertiary-base); } -main.welcome { +div.welcome { background-image: url('../assets/books.jpg'); background-repeat: no-repeat; background-attachment: fixed; @@ -321,6 +321,9 @@ div.monthly article.nob .dict-label::before { content: "månadens "; } +p.description.xs, p.description.sm { + display: none; +} .search_container { max-width: 1500px; -- GitLab