-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrps.css
More file actions
126 lines (95 loc) · 2.42 KB
/
rps.css
File metadata and controls
126 lines (95 loc) · 2.42 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
body{
margin:0;
display: flex;
flex-direction: column;
align-items: center;
}
.container-shadowbox{ box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
margin: 10px 0;}
h1{font-size: 3.5rem;
font-family:Changa one;}
.choices{
margin-bottom: 30px;
display: flex;
justify-content: center;
}
.choices button{font-size: 20vmin;
background-color: transparent;
border: transparent;
margin: 0 10px;
cursor: pointer;}
#playerDisplay, #computerDisplay{
font-size:7vmin;
}
#gameResult{
font-size: 5vmin;
margin:30px 0;
text-align: center;
}
.scoreResult{font-size: 3vmin;
font-family: Lalezar;}
.greenText, #playerScoreResult{color:green;
font-weight: bold;
}
.redText, #computeScoreResult{color:red;
font-weight: bold;
}
.head-title {
text-align: center; /* Center align the text */
margin-top: 20px; /* Adjust top margin as needed */
}
.container-pc{display: flex;
justify-content: space-between;
}
.container-player, .container-computer {background-color: transparent;
margin: 12px 10px;
position: relative;
padding:50px 10px;}
.container-computer{text-align:center;}
.container-player{text-align: center;}
.homerestart-container {
justify-content: center;
display: flex;
align-items: center;
flex-direction: column;
padding: 10x 0px;
margin: 10pxw;
}
.restart{padding: 10px;}
.home a{text-decoration: none;
color:inherit;
}
.home{font-size: 2vmin;
cursor: pointer;
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;}
.restart button{
cursor: pointer;
height:100%;
width: 8vmin;
border: none;
background-color: transparent;}
.choices button:hover {
transform: scale(1.1); /* Increase the size on hover */
opacity: 0.7;
color:red
}
.refresh-btn:hover .fa-refresh {
color:rgb(6, 206, 216); /* Change the color on hover */
transform: scale(1.2); /* Increase the size on hover */
}
.home:hover {
color: #0e070789; /* Change the color on hover */
transform: scale(1.2); /* Increase the size on hover */
}
.fa-refresh{color:rgb(4, 153, 161)}
/* icon animation */
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.spin-animation {
animation: spin 1s linear; /* 1-second spin animation */
color:rgb(4, 153, 161);
}
button{background-color:transparent;
border:none;}