-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.css
67 lines (60 loc) · 1.2 KB
/
menu.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
/* Styling for the header */
h1 {
text-align: center;
padding-top: 20px;
font-family: "Dancing Script", cursive;
font-size: 45px;
font-weight: bolder;
color: #8d46b0;
margin-bottom: 40px;
}
/* Styling for the paragraph text*/
p {
text-align: center;
}
/* Styling for the modal */
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 50% !important;
height: 50% !important;
background-color: rgba(0, 0, 0, 0.5);
}
/* Styling for the modal content */
.modal-content {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 15px;
background-color: #fff;
border: 1px solid #ccc;
}
/* Styling for the hyperlink within modal content on hover */
.modal-content a:hover {
text-decoration: underline;
}
/* Styling for the close button within the modal */
.close-btn {
position: absolute;
top: 10px;
right: 10px;
font-size: 20px;
cursor: pointer;
}
/* Styling for the centered button */
.menu-container {
position: relative;
text-align: center;
}
/* Styling for the "How to Play" button */
.how-to-play-btn {
margin-top: 10px;
padding: 10px 20px;
font-size: 16px;
border-radius: 5px;
color: #8d46b0;
}