This commit is contained in:
Kasper Rynning-Tønnesen
2020-01-22 13:55:52 +01:00
parent 71ddec0619
commit b64e17bbab
2 changed files with 26 additions and 9 deletions

View File

@@ -1,7 +1,9 @@
<template> <template>
<div class="container"> <div class="container">
<h1 class="title">Loddgenerator</h1> <h1 class="title">Loddgenerator</h1>
<p class="subtext">Velg hvilke farger du vil ha, fyll inn antall lodd og klikk 'generer'</p> <p class="subtext">
Velg hvilke farger du vil ha, fyll inn antall lodd og klikk 'generer'
</p>
<div class="input-line"> <div class="input-line">
<label for="redCheckbox"> <label for="redCheckbox">
<input type="checkbox" id="redCheckbox" v-model="redCheckbox" /> <input type="checkbox" id="redCheckbox" v-model="redCheckbox" />
@@ -57,7 +59,7 @@
</div> </div>
<!-- <img src="/public/assets/images/vipps.png" class="vipps-image" /> --> <!-- <img src="/public/assets/images/vipps.png" class="vipps-image" /> -->
<Vipps /> <Vipps class="vipps" />
</div> </div>
</template> </template>
@@ -166,9 +168,13 @@ export default {
body { body {
margin: 0; margin: 0;
color: #333333; color: #333333;
font-family: Knowit; font-family: sans-serif;
padding-bottom: 30px; padding-bottom: 30px;
} }
.vipps {
margin: 20px auto auto auto;
}
.header-link { .header-link {
color: #333333; color: #333333;
text-decoration: none; text-decoration: none;
@@ -177,7 +183,7 @@ h1 {
text-align: center; text-align: center;
width: 100vw; width: 100vw;
text-align: center; text-align: center;
font-family: Knowit; font-family: knowit;
} }
.title { .title {
@@ -186,7 +192,7 @@ h1 {
} }
.subtext { .subtext {
margin-top: 0.50rem; margin-top: 0.5rem;
font-size: 1.22rem; font-size: 1.22rem;
} }
@@ -297,12 +303,14 @@ label .text {
button { button {
border: none; border: none;
background: #b7debd; background: #b7debd;
color: #333333; color: #333;
padding: 10px 30px; padding: 10px 30px;
width: fit-content; width: fit-content;
margin: 0;
font-size: 1.3rem; font-size: 1.3rem;
height: 3rem; display: block;
height: calc(3rem + 18px);
display: inline-flex;
max-height: calc(3rem + 18px);
} }
.colors-text { .colors-text {
@@ -380,5 +388,14 @@ button {
p { p {
padding: 0 15px; padding: 0 15px;
} }
.input-line {
flex-wrap: wrap;
label {
width: 40%;
margin-top: 15px;
}
}
} }
</style> </style>

View File

@@ -47,7 +47,7 @@ export default {
body { body {
margin: 0; margin: 0;
color: #333333; color: #333333;
font-family: "knowit"; font-family: sans-serif;
padding-bottom: 30px; padding-bottom: 30px;
} }
</style> </style>