Skip to content
Snippets Groups Projects
Commit 1a429ac9 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

Improve hyperlink visibility

parent dd48fa1b
No related branches found
No related tags found
No related merge requests found
...@@ -66,9 +66,6 @@ body { ...@@ -66,9 +66,6 @@ body {
} }
a {
text-decoration: none;
}
h1 { h1 {
font-family: Inria Serif; font-family: Inria Serif;
...@@ -83,6 +80,7 @@ h1 > a.xs, h1 > a.sm { ...@@ -83,6 +80,7 @@ h1 > a.xs, h1 > a.sm {
header > h1 > a { header > h1 > a {
color: var(--v-primary-base) !important; color: var(--v-primary-base) !important;
text-decoration: none;
font-size: 48px; font-size: 48px;
margin: 0px; margin: 0px;
} }
...@@ -111,7 +109,7 @@ header > p { ...@@ -111,7 +109,7 @@ header > p {
text-decoration: none; text-decoration: none;
border-bottom: solid var(--v-primary-base) 2px; border-bottom: solid var(--v-primary-base) 2px;
font-size: 12px; font-size: 12px;
color: var(--v-primary-base); color: var(--v-primary-base) !important;
} }
header { header {
...@@ -131,6 +129,10 @@ footer a { ...@@ -131,6 +129,10 @@ footer a {
color: #ffffff !important; color: #ffffff !important;
} }
a {
text-decoration: none;
}
header { header {
padding-top: 20px; padding-top: 20px;
background-color: var(--v-tertiary-base); background-color: var(--v-tertiary-base);
...@@ -140,6 +142,11 @@ header { ...@@ -140,6 +142,11 @@ header {
font-size: 18px; font-size: 18px;
margin: 0px; margin: 0px;
margin-bottom: 0px !important; margin-bottom: 0px !important;
}
.sub-title a {
color: var(--v-primary-base) !important;
} }
footer { footer {
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
</ul> </ul>
</section> </section>
<div class="fade"> <div class="fade">
<router-link :to="link_to_self.ref" @click.native="details_click(link_to_self)"> <router-link class="choose" :to="link_to_self.ref" @click.native="details_click(link_to_self)">
Velg <img class="nav_arrow" src="../assets/arrow_right.svg"> Velg <v-icon large class="nav_arrow">arrow_right</v-icon>
</router-link> </router-link>
</div> </div>
</div> </div>
...@@ -216,4 +216,26 @@ ul li.definition { ...@@ -216,4 +216,26 @@ ul li.definition {
vertical-align: sub; vertical-align: sub;
} }
@media (hover: none) {
article a:not(.choose):not(.return_to_results a) {
text-decoration: underline;
}
}
@media (hover: hover) {
article a {
text-decoration: none;
}
article a:hover:not(.choose):not(.return_to_results a) {
text-decoration: underline;
}
}
.choose {
color: var(--v-primary-base) !important;
}
</style> </style>
...@@ -82,6 +82,7 @@ export default { ...@@ -82,6 +82,7 @@ export default {
font-size: 14px; font-size: 14px;
} }
.article_footer { .article_footer {
color: var(--v-primary-base); color: var(--v-primary-base);
padding-top: 24px; padding-top: 24px;
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
<div id="single_article_container" v-if="article"> <div id="single_article_container" v-if="article">
<div class="return_to_results" v-if="search_results && search_results.length"> <div class="return_to_results" v-if="search_results && search_results.length">
<router-link :to="article.source" @click.native="return_to_results()"> <router-link :to="article.source" @click.native="return_to_results()">
<img class="nav_arrow" src="../assets/arrow_left.svg">Tilbake til {{article.dictionary == 'bob' ? 'søkeresultater' : 'søkjeresultat'}} <v-icon class="nav_arrow">arrow_left</v-icon>Tilbake til {{article.dictionary == 'bob' ? 'søkeresultater' : 'søkjeresultat'}}
</router-link> </router-link>
</div> </div>
<Article :key="article_key" :article="article" @article-click="article_link_click" /> <Article :key="article_key" :article="article" @article-click="article_link_click" />
...@@ -457,8 +457,17 @@ li.suggestion { ...@@ -457,8 +457,17 @@ li.suggestion {
display: table-cell; display: table-cell;
} }
.return_to_results a {
color: var(--v-primary-base) !important;
}
.nav_arrow { .nav_arrow {
vertical-align: middle; vertical-align: top !important;
color: var(--v-primary-base) !important;
}
.choose > .nav_arrow {
vertical-align: -30% !important;
} }
</style> </style>
...@@ -56,7 +56,7 @@ export default new Vuetify({ ...@@ -56,7 +56,7 @@ export default new Vuetify({
primary: '#560027', primary: '#560027',
secondary: '#BC477B', secondary: '#BC477B',
tertiary: '#FDF4F5', tertiary: '#FDF4F5',
anchor: '#560027', anchor: '#880E4F',
error: '#FDF4F5', error: '#FDF4F5',
border: '#9E9E9E', border: '#9E9E9E',
text: '#2c3e50' text: '#2c3e50'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment