-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
119 lines (103 loc) · 1.71 KB
/
index.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 50%;
}
body {
font-family: 'Press Start 2P', sans-serif;
color: #fff;
background-color: rgb(0, 0, 0);
/* background-color: rgb(9, 250, 21); */
}
/* Layout Styles */
header {
position: relative;
height: 35vh;
border-bottom: 7px solid #fff;
}
main {
height: 65vh;
color: #fff;
display: flex;
align-items: center;
justify-content: space-around;
}
.left {
width: 50rem;
display: flex;
flex-direction: column;
align-items: center;
font-size: 2rem;
}
.right {
width: 50rem;
font-size: 2rem;
}
/* Elements Styles */
h1 {
font-size: 3rem;
text-align: center;
position: absolute;
width: 100%;
top: 52%;
left: 50%;
transform: translate(-50%, -50%);
}
.question {
background: #fff;
color: #000;
font-size: 4rem;
width: 25rem;
padding: 2rem 0rem;
text-align: center;
position: absolute;
bottom: 0;
left: 50%;
transform: translate(-50%, 50%);
}
.between {
font-size: 1.4rem;
position: absolute;
top: 2rem;
right: 2rem;
}
.again {
position: absolute;
top: 2rem;
left: 3rem;
}
.number-input {
background: none;
border: 4px solid #fff;
font-family: inherit;
color: inherit;
font-size: 5rem;
padding: 2rem;
width: 20rem;
text-align: center;
display: block;
margin-bottom: 3rem;
}
.btn {
border: none;
background-color: #fff;
color: #000;
font-size: 2rem;
font-family: inherit;
padding: 1rem 2rem;
cursor: pointer;
}
.btn:hover {
background-color: rgb(218, 213, 213);
}
.guess-message {
margin-bottom: 2rem;
height: 3rem;
}
.label-score {
margin-bottom: 2rem;
}