-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (82 loc) · 1.32 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
background: purple;
color: #fff;
}
.game{
display: flex;
flex-direction: column;
height: 100vh;
width: 100vw;
justify-content: center;
align-items: center;
}
.title{
position: absolute;
top: 0;
font-size: 4rem;
z-index: 2;
}
.score{
display: flex;
width: 30vw;
justify-content: space-evenly;
position: absolute;
top: 70px;
z-index: 1;
}
.p-count,.c-count {
text-align: center;
font-size: 1.5rem;
margin-top: 1rem;
}
.options{
display: flex;
width: 50vw;
justify-content: space-evenly;
margin-top: 2rem;
}
.rock,.paper,.scissor{
padding: 0.8rem;
width: 100px;
border-radius: 10px;
background: green;
outline: none;
border-color: none;
border: none;
cursor: pointer;
}
.move{
font-size: 2rem;
font-weight: bold;
}
.reload{
display: none;
margin-top: 2rem;
padding: 1rem;
background: green;
outline: none;
border: none;
border-radius: 10px;
cursor: pointer;
}
.result{
margin-top: 20px;
font-size: 1,2rem;
}
@media screen and (max-width: 612px)
{
.title{
text-align: center;
}
.score{
position: absolute;
top: 200px;
width: 100vw;
}
.option{
width: 100vw;
}
}