-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
93 lines (89 loc) · 1.48 KB
/
style.css
File metadata and controls
93 lines (89 loc) · 1.48 KB
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
@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Roboto:wght@300&display=swap');
@import url('https://fonts.cdnfonts.com/css/gill-sans-nova-cond-ultra-bold');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Black Ops One', cursive;
background-color: #00000f;
color: #ffffff;
}
h1{
margin-top: 20px;
color: black;
font-family: 'Gill Sans Nova Ultra Bold', sans-serif;
}
.r, .p,
.s{
font-family: 'Gill Sans Nova Ultra Bold', sans-serif;
}
.r{
color: red;
}
.p{
color: green;
}
.s{
color: blue;
}
h1, p,
.score-board{
text-align: center;
}
#rock{
background-color: red;
color: #ffffff;
}
#paper{
background-color: green;
color: #ffffff;
}
#scissors{
background-color: blue;
color: #ffffff;
}
button{
border-radius: 10%;
}
p{
margin: 10px auto;
}
.score-board{
text-align: center;
display: flex;
justify-content: center;
font-size: 30px;
}
.result{
background-color: yellow;
width: 110px;
border: 2px solid black;
padding: 10px;
position: relative;
}
#select{
display: flex;
justify-content: center;
gap: 20px;
margin-top: 20px;
}
#select button{
padding: 5px;
cursor: pointer;
border: solid white;
}
.user-result,
.comp-result{
font-size: 10px;
position: absolute;
background-color: black;
color: white;
}
.user-result{
top: 10px;
left: -15px;
}
.comp-result{
top: 10px;
right: -15px;
}