-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
103 lines (90 loc) · 1.79 KB
/
Copy pathstyle.css
File metadata and controls
103 lines (90 loc) · 1.79 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
94
95
96
97
98
99
100
101
102
103
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Global Styles */
body {
background: linear-gradient(to right, #03001e, #7303c0, #ec38bc, #fdeff9);
font-family: "Roboto", sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
height: 100vh;
color: white;
padding-top: 50px;
}
/* Game Title */
#gameTitle {
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 20px;
text-shadow: 2px 2px 4px #000000;
}
/* Stylish Buttons */
button {
padding: 15px 25px;
font-size: 20px;
border: none;
border-radius: 50px;
margin: 10px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
transition: all 0.3s;
background: rgba(0, 0, 0, 0.5);
}
button:hover {
transform: translateY(-3px);
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2), 0 10px 10px rgba(0, 0, 0, 0.22);
}
button:active {
transform: translateY(1px);
}
/* Button Colors */
#rock {
background-color: rgba(204, 0, 0, 0.7);
}
#paper {
background-color: rgba(0, 204, 0, 0.7);
}
#scissors {
background-color: rgba(0, 0, 204, 0.7);
}
#resetGame {
background-color: rgba(204, 102, 0, 0.7);
}
/* Button Group */
#buttonGroup {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 20px;
}
/* Score Display */
#gameScore {
display: flex;
justify-content: space-between;
width: 300px;
margin-bottom: 20px;
background: rgba(0, 0, 0, 0.6);
padding: 10px;
border-radius: 10px;
}
#computerPoint,
#playerPoint {
font-size: 1.5rem;
font-weight: bold;
margin: 0 10px;
}
/* Results and Winner Display */
#roundResults,
#gameWinner {
padding: 20px;
border-radius: 10px;
background: rgba(0, 0, 0, 0.6);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin: 10px 0;
text-align: center;
width: 80%;
}