Back link and better wine name container width.

This commit is contained in:
2020-10-09 01:14:09 +02:00
committed by KevinMidboe
parent 73f1614ed4
commit cb286b6894

View File

@@ -4,7 +4,7 @@
<div class="backdrop"> <div class="backdrop">
<router-link to="/highscore"> <router-link to="/highscore">
<h3 class="vin-link">Tilbake til topplisten</h3> <h3 class="vin-link go-back">Tilbake til topplisten</h3>
</router-link> </router-link>
<section v-if="winner"> <section v-if="winner">
@@ -96,16 +96,26 @@ export default {
@import "./src/styles/variables"; @import "./src/styles/variables";
@import "./src/styles/media-queries"; @import "./src/styles/media-queries";
$elementSpacing: 4rem; $elementSpacing: 4rem;
.el-spacing { .el-spacing {
margin-bottom: $elementSpacing; margin-bottom: $elementSpacing;
} }
.go-back {
font-weight: normal;
font-size: 1.1rem;
border-width: 2px;
&:not(:hover) {
border-color: $matte-text-color;
}
}
.container { .container {
width: 90vw; width: 90vw;
margin: 0 auto; margin: 0 auto;
max-width: 1500px; max-width: 1200px;
@include desktop { @include desktop {
width: 80vw; width: 80vw;
@@ -180,7 +190,7 @@ h3 {
display: inline-block; display: inline-block;
@include tablet { @include tablet {
width: calc(100% - 160px); width: calc(100% - 160px - 80px);
} }
& > * { & > * {
@@ -194,7 +204,7 @@ h3 {
} }
a { a {
font-size: 1.3rem; font-size: 1.2rem;
border-width: 2px; border-width: 2px;
font-weight: normal; font-weight: normal;
} }