-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
80 lines (78 loc) · 1.2 KB
/
main.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
background: #dcc48e;
display: flex;
justify-content: center;
align-items: center;
}
.main {
width: 60%;
text-align: center;
color: #4e3822;
}
.btn-container {
margin: 3rem 0;
display: flex;
justify-content: space-between;
}
.btn {
width: 25%;
font-size: 1.5rem;
padding: 10px;
border-radius: 5px;
outline: none;
background: #233d4d;
border: 3px solid #233d4d;
color: #d8d52b;
transition: all 0.7s;
}
.btn:hover {
cursor: pointer;
color: #233d4d;
background: #d8d52b;
}
.score-container {
width: 70%;
display: grid;
grid-template-columns: 1fr 1fr;
margin: 2rem auto;
}
.player-score,
.computer-score {
font-size: 5rem;
margin-top: 1.5rem;
color: #a22c29;
transition: all 0.3s;
}
.score-change {
transform: scale(0.2);
color: #d8d52b;
}
.result-container {
height: 100px;
display: flex;
justify-content: center;
align-items: center;
}
.result {
font-size: 2rem;
transition: all 0.5s;
}
.tie {
color: #00bd9d;
}
@media screen and (max-width: 1000px) {
.main {
width: 90%;
}
}
@media screen and (max-width: 700px) {
.score-container {
width: 100%;
}
}