-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
83 lines (80 loc) · 1.42 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
@import url(https://fonts.googleapis.com/css?family=Press+Start+2P:regular);
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
font-family: "Press Start 2P";
background: linear-gradient(90deg, rgb(220, 232, 118) 0%, rgb(44, 165, 73) 100%);
color: black;
}
header{
position: relative;
height: 300px;
border-bottom: 8px solid white;
}
h1{
position: absolute;
width: 100%;
text-align: center;
top: 50%;
}
.between{
position:absolute;
right: 15px;
top: 30px;
}
.btn{
margin-top: 30px;
margin-left: 20px;
font-family: inherit;
font-size: 2rem;
padding: 20px 25px;
cursor: pointer;
border: none;
background-color:white;
}
.questionMark{
position: absolute;
left: 50%;
bottom: 0;
width: 180px;
background-color:white;
color: black;
font-size:4rem;
text-align: center;
padding: 2rem;
transform: translate(-50%,50%);
}
main{
height: 600px;
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
}
.left{
display: flex;
flex-direction: column;
align-items: center;
}
.right{
font-size: 1.3rem;
}
.guess{
background-color: inherit;
border: 5px solid white;
font-family: inherit;
width: 300px;
font-size: 3rem;
color: white;
padding: 3rem;
text-align: center;
}
.msg{
margin-bottom: 150px;
}
.score{
line-height: 2rem;
}