-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
103 lines (98 loc) · 1.84 KB
/
style.css
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;900&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
font-family: 'Monteserrat', sans-serif;
font-weight: 100;
}
header{
position: relative;
bottom: 10px;
}
h1{
text-align: center;
font-family: 'Montserrat', sans-serif;
font-size: 60px;
position: relative;
bottom: 20px;
}
.para{
font-size: 20px;
}
#form{
min-height: 450px;
min-width: 400px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-evenly;
}
input[type='range']{
min-width: 350px;
}
#arrowBtn, #inputDisplay{
text-align: center;
}
#minus1, #plus1{
margin: 30px 20px 10px 20px;
font-size: 70px;
width: 80px;
height: 80px;
border: 1px solid #000;
border-radius: 50%;
background-color: transparent;
}
#minus1 p, #plus1 p{
transform: translateY(-10%);
}
#inputDisplay{
font-size: 150px;
}
#lives{
}
#submit{
height: 40px;
width: 80px;
border: 1px solid #000;
border-radius: 10%;
background-color: transparent;
margin-top: 20px;
}
#results{
width: 100px;
height: 80px;
background-color: antiquewhite;
}
.modal-bg{
position: fixed;
width: 100%;
height: 100vh;
background-color: rgba(0,0,0,0.6);
display: flex;
justify-content: center;
align-items: center;
visibility: hidden;
opacity: 0;
transition: visibility 0s, opacity 0.5s;
}
.modal-on{
visibility: visible;
opacity: 1;
}
#modal{
width: 200px;
height: 100px;
background-color: #eee;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}