-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
59 lines (52 loc) · 1.1 KB
/
style.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
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
background: #333;
margin: 0;
font-family: 'Arial', sans-serif;
color: #fff;
}
canvas {
border: 5px solid #333;
border-radius: 1em;
width: 50em;
height: 40em;
box-shadow: 0 0 10px rgb(0, 0, 0);
background-color: #fff;
}
.game-info {
font-size: 1.5rem;
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
padding: 10px;
border-radius: 5px;
margin-bottom: 10px;
}
.game-buttons {
display: flex;
gap: 10px;
}
.game-buttons button:disabled {
background-color: gray;
cursor: not-allowed;
}
button {
font-size: 17px;
margin-top: 3em;
padding: 0.5em 2em;
border: transparent;
box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
background: dodgerblue;
color: white;
border-radius: 4px;
}
button:hover {
background: rgb(2,0,36);
background: linear-gradient(90deg, rgba(30,144,255,1) 0%, rgba(0,212,255,1) 100%);
}
button:active {
transform: translate(0em, 0.2em);
}