-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
69 lines (60 loc) · 1.25 KB
/
style.css
File metadata and controls
69 lines (60 loc) · 1.25 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
/* CSS file for Rock-Paper-Scissors game */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0') no-repeat center center/cover;
color: white;
text-align: center;
}
div {
background: rgba(0, 0, 0, 0.7);
padding: 20px;
border-radius: 15px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
max-width: 400px;
width: 100%;
}
h1 {
margin: 10px 0;
font-size: 28px;
text-transform: uppercase;
}
h2,
h3 {
margin: 10px 0;
font-size: 18px;
}
button {
font-size: 24px;
background: linear-gradient(to right, #ff7e5f, #feb47b);
color: white;
border: none;
border-radius: 10px;
padding: 10px 20px;
margin: 10px;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button:hover {
transform: scale(1.1);
box-shadow: 0px 6px 15px rgba(255, 126, 95, 0.7);
}
button:active {
transform: scale(1);
box-shadow: none;
}
#Result {
font-size: 24px;
font-weight: bold;
margin-top: 20px;
color: #ffd700;
}
#Score {
font-size: 22px;
color: #00ffcc;
}