-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
80 lines (69 loc) · 1.09 KB
/
index.css
File metadata and controls
80 lines (69 loc) · 1.09 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-color: black;
font-family: sans-serif;
}
#menu {
width: 100%;
min-height: 750px;
display: flex;
flex-flow: column nowrap;
align-items: center;
justify-content: center;
padding: 20px;
gap: 100px;
}
#game-logo {
width: 500px;
}
#game-description {
width: 800px;
background-color: #fdea59;
border-radius: 20px;
padding: 20px 30px;
font-size: 1.25em;
line-height: 2em;
text-align: center;
margin: 0px 20px;
}
#start-button {
border: none;
font-size: 1.25em;
font-weight: 700;
color: black;
background-color: #fdea59;
box-shadow: 0px 10px #ee6ea1 inset;
border-radius: 20px;
padding: 30px 40px 20px;
cursor: pointer;
display: block;
}
/* BACKGROUND */
#star-background {
position: absolute;
top: 0;
left: 0;
width:100%;
height:100%;
z-index:-1;
}
/* RESPONSIVE */
@media only screen and (max-width: 840px) {
#menu {
gap: 5vh;
min-height: 578px;
}
#game-description {
width: 100%;
line-height: 1.4em;
}
}
@media only screen and (max-width: 540px) {
#game-logo {
width: 100%;
}
}