Mobile styling for loddgenerator
This commit is contained in:
@@ -165,6 +165,9 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
@import '../styles/global.scss';
|
||||||
|
@import '../styles/media-queries.scss';
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
@@ -179,22 +182,6 @@ body {
|
|||||||
color: #333333;
|
color: #333333;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
h1 {
|
|
||||||
text-align: center;
|
|
||||||
width: 100vw;
|
|
||||||
text-align: center;
|
|
||||||
font-family: knowit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
|
||||||
margin-top: 3.8rem;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
.subtext {
|
|
||||||
margin-top: 0.5rem;
|
|
||||||
font-size: 1.22rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
p {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -207,6 +194,10 @@ p {
|
|||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 2.4rem;
|
margin-top: 2.4rem;
|
||||||
|
|
||||||
|
@include mobile {
|
||||||
|
margin-top: 1.2rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-line label {
|
.input-line label {
|
||||||
@@ -227,16 +218,17 @@ p {
|
|||||||
box-shadow: 0 0 10px 0px #0000003a;
|
box-shadow: 0 0 10px 0px #0000003a;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vipps-image {
|
.vipps {
|
||||||
width: 250px;
|
margin-top: 8rem;
|
||||||
margin: auto;
|
|
||||||
display: block;
|
@include mobile {
|
||||||
margin-top: 30px;
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
button {
|
button {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
font-family: "knowit";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
@@ -276,7 +268,6 @@ label .text {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
font-family: Knowit;
|
|
||||||
margin: auto;
|
margin: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -287,7 +278,11 @@ label .text {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
max-width: 1400px;
|
max-width: 1400px;
|
||||||
margin: auto;
|
margin: 3rem auto 0;
|
||||||
|
|
||||||
|
@include mobile {
|
||||||
|
margin: 1.8rem auto 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.color-box {
|
.color-box {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
@@ -298,6 +293,12 @@ label .text {
|
|||||||
mask-image: url(/../../public/assets/images/lodd.svg);
|
mask-image: url(/../../public/assets/images/lodd.svg);
|
||||||
-webkit-mask-repeat: no-repeat;
|
-webkit-mask-repeat: no-repeat;
|
||||||
mask-repeat: no-repeat;
|
mask-repeat: no-repeat;
|
||||||
|
|
||||||
|
@include mobile {
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
@@ -325,7 +326,7 @@ button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.input-line label:hover input#greenCheckbox ~ .border .checkmark {
|
.input-line label:hover input#greenCheckbox ~ .border .checkmark {
|
||||||
background-color: #10e783;
|
background-color: #0be881;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-line label:focus input#greenCheckbox ~ .border .checkmark,
|
.input-line label:focus input#greenCheckbox ~ .border .checkmark,
|
||||||
@@ -365,7 +366,7 @@ button {
|
|||||||
background-color: #d4f2fe;
|
background-color: #d4f2fe;
|
||||||
}
|
}
|
||||||
.input-line label:hover input#blueCheckbox ~ .border .checkmark {
|
.input-line label:hover input#blueCheckbox ~ .border .checkmark {
|
||||||
background-color: #57d2fb;
|
background-color: #4bcffa;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-line label:focus input#blueCheckbox ~ .border .checkmark,
|
.input-line label:focus input#blueCheckbox ~ .border .checkmark,
|
||||||
@@ -373,7 +374,7 @@ button {
|
|||||||
background-color: #24acda;
|
background-color: #24acda;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 768px) {
|
@include mobile {
|
||||||
input,
|
input,
|
||||||
button {
|
button {
|
||||||
font-size: 1.4rem;
|
font-size: 1.4rem;
|
||||||
@@ -393,8 +394,9 @@ button {
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
||||||
label {
|
label {
|
||||||
width: 40%;
|
width: 30%;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user