-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRockPaperScissorsGame.css
89 lines (85 loc) · 1.6 KB
/
RockPaperScissorsGame.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
body {
box-sizing: border-box;
margin: 0;
background-color: #f2f2f2;
display: flex;
justify-content: center;
align-items: center;
min-height: 70vh;
}
.RockPaperScissorsGame {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.RockPaperScissorsGame .gameName {
font-style: italic;
}
.RockPaperScissorsGame .Choose {
font-size: 18px;
font-weight: 700;
margin-top: -5px;
}
.RockPaperScissorsGame .move button {
margin: 0 0.5rem;
padding: 0.5rem;
padding-bottom: 1.5rem;
font-size: 2rem;
border: none;
box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
border-radius: 7px;
cursor: pointer;
background-color: blueviolet;
transition: all 0.5s ease-in-out;
width: 58.5px;
}
.RockPaperScissorsGame .move button:hover {
opacity: 0.7;
}
.RockPaperScissorsGame .move .rock {
background-color: #ff0000;
}
.RockPaperScissorsGame .move .paper {
background-color: #2196f3;
}
.RockPaperScissorsGame .move .scissors {
background-color: #4caf50;
}
.RockPaperScissorsGame .result,
.score {
margin: 12px 0 5px 0;
font-size: 1.2rem;
word-spacing: 2.4px;
font-weight: 700;
}
.score {
font-weight: normal;
}
.score .yourScore,
.score .computerScore {
font-weight: bold;
}
.chooser {
margin-top: 15px;
margin-bottom: 10px;
font-weight: bold;
font-family: emoji;
}
.chooser span {
margin-right: 10px;
}
.score span {
border: none;
padding: 10px;
border-radius: 5px;
background-color: blue;
color: #fff;
font-size: 15px;
font-weight: bold;
box-shadow: 0 0px rgba(0, 0, 255, 0.5);
cursor: pointer;
}
.chooser span {
color: blue;
}