-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
74 lines (64 loc) · 1.06 KB
/
index.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
html {
background-image: url("./assets/background.jpeg");
background-size: cover;
}
.game-start,
.game-win,
.game-lose {
display: flex;
flex-direction: column;
align-items: center;
position: absolute;
width: 40%;
background-color: white;
border-radius: 20px;
box-shadow: 4px 3px 40px -11px black;
font-family: "Cinzel", serif;
font-weight: 900;
background-color: #d3d3d3;
}
.game-start {
top: 25%;
}
.game-win {
top: 28%;
}
.game-lose {
top: 35%;
}
.game-start > h1,
.game-win > h1,
.game-lose > h1 {
background-color: green;
color: #fafdf3;
padding: 15px;
border-radius: 20px;
}
.game-start > h2 {
font-size: 35px;
}
.instructions {
font-size: 25px;
}
.hidden {
display: none;
}
#start-button,
#restart-button-lose,
#restart-button-win {
margin-bottom: 20px;
border: black;
padding: 15px;
color: #fafdf3;
background-color: green;
font-family: "Cinzel", serif;
font-weight: 600;
font-size: 25px;
text-align: center;
border-radius: 20px;
}
#game {
display: flex;
justify-content: center;
margin: 100px;
}