-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.scss
88 lines (76 loc) · 1.87 KB
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap");
$primaryColor: #44b657;
$secondaryColor: #704fbf;
$bgColor: #e0e4cc;
$textColor: #fff;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "poppins", san-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: $bgColor;
}
.container {
width: 400px;
background-color: $primaryColor;
border-radius: 8px;
padding: 1em;
.title {
font-weight: 500;
color: $secondaryColor;
border-bottom: 1px solid darken($textColor, 5%);
padding-bottom: 0.25em;
}
.game {
.typing-input {
position: absolute;
opacity: none;
z-index: -99;
}
.input-field {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 1.5em;
input {
width: 55px;
height: 55px;
border-radius: 8px;
margin: 0.125em;
background-color: $textColor;
font-size: 1.5em;
font-weight: 500;
color: $secondaryColor;
text-align: center;
&:first-child {
margin-left: 0;
}
}
}
.details {
margin-block: 1em;
color: $textColor;
}
}
.btn-next {
width: 100%;
padding: 1em;
margin-block: 0.5em;
letter-spacing: 1;
outline: none;
border: none;
border-radius: 5px;
color: $textColor;
background-color: $secondaryColor;
cursor: pointer;
&:hover {
background-color: darken($secondaryColor, 10%);
}
}
}