-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
85 lines (77 loc) · 1.5 KB
/
style.css
File metadata and controls
85 lines (77 loc) · 1.5 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
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap");
body {
margin: 0;
color: white;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
cursor: pointer;
}
#bg {
background-color: #fff9f9; /* Or some other color */
/* Other styles... */
}
#instructions {
display: none;
}
#start-button {
display: inline-block;
padding: 10px 20px;
color: #fff;
background-color: #555;
border: none;
border-radius: 5px;
font-size: 16px;
text-decoration: none;
transition: background-color 0.3s ease;
}
#start-button:hover {
background-color: #696666;
cursor: pointer;
}
#results,
body:hover #instructions {
position: absolute;
display: flex;
align-items: center;
justify-content: center;
height: 100%;
width: 100%;
background-color: rgba(20, 20, 20, 0.75);
}
a:visited {
color: inherit;
}
#results {
display: none;
cursor: default;
}
#results .content,
#instructions .content {
max-width: 300px;
padding: 50px;
border-radius: 20px;
}
#score {
font-size: 5em;
position: absolute;
top: 2px;
left: 90%;
margin-left: 5px;
transform: translateX(-50%);
color: rgb(170, 170, 170);
font-weight: bold;
}
#front-score {
font-size: 5em;
position: absolute;
top: 0px;
left: 81%;
transform: translateX(-50%);
color: rgb(170, 170, 170);
font-weight: bold;
}
@media (max-width: 600px) {
#start-button {
padding: 5px 10px; /* Smaller padding for mobile */
font-size: 14px; /* Smaller font size for mobile */
}
}