-
Notifications
You must be signed in to change notification settings - Fork 0
/
rock_paper_scissors.css
131 lines (113 loc) · 2.17 KB
/
rock_paper_scissors.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
120
121
122
123
124
125
126
127
128
129
130
131
@import url('https://fonts.googleapis.com/css?family=Asap&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
h1 {
color: #242424;
background: #FEFEFE;
text-align: center;
font-family: 'Asap', sans-serif;
margin-bottom: 20px;
padding: 25px 0;
font-size: 50px;
}
body {
background: #242424;
}
p {
font-family: 'Asap' , sans-serif;
}
.result_board {
text-align: center;
border: 3px solid white;
width: 200px;
position: relative;
padding: 20px 20px;
margin: 25px auto;
font-family: 'asap', sans-serif;
border-radius: 10px;
}
img {
width: 150px;
height: 150px;
}
.options {
text-align: center;
}
.option {
display: inline-block;
margin: 50px 30px;
border-radius: 50%;
border: 2px solid #FEFEFE ;
padding: 10px;
}
.option:hover {
cursor: pointer;
background: #242424;
}
#player_label {
color: #FEFEFE;
background: #B40000;
box-sizing: border-box;
width: 60px;
padding: 2px 2px;
border-radius: 50%;
position: absolute;
left: -30px;
top: 28px;
font-size: 8pt;
}
#computer_label {
color:#FEFEFE;
background: #B40000;
box-sizing: border-box;
width: 60px;
padding: 2px 2px;
border-radius: 50%;
position: absolute;
left: 160px;
top: 28px;
font-size: 8pt;
}
.result_board {
color: #FEFEFE;
font-size: 30pt;
height: 80px;
padding-top: 15px;
}
.text_result {
font-weight: bold;
position: bottom;
text-align: center;
font-family: 'Asap' sans-serif;
color: #FEFEFE;
font-size: 45px;
margin-top: 10px;
}
.winning_green {
border: 4px solid #87C540;
box-shadow: 0 0 10px #538766;
}
.losing_red {
border: 4px solid #FF0000;
box-shadow: 0 0 10px #CC0000;
}
.draw_grey {
border: 4px solid #5C5A5C;
box-shadow: 0 0 10px #242424;
}
.refresh_page {
border: 4px solid #242424;
border-radius: 20px;
background: #FEFEFE;
width: 700px;
height: 100px;
font-family: 'Asap' sans-serif;
font-size: 30pt;
color: #242424;
position: relative;
left: 31%;
margin-top: 100px;
}