/
style.css
60 lines (56 loc) · 945 Bytes
/
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
60
/* CSS files add styling rules to your content */
* {
box-sizing: border-box;
}
html {
background-color: #000;
color: #fff;
}
body {
font-family: helvetica, arial, sans-serif;
margin: 0;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
}
h1 {
font-style: italic;
color: #373fff;
}
a, :link, :visited { color: white }
#game {
display: flex;
flex-direction: row;
justify-content: center;
margin: 1em;
position: relative;
}
.level-intro {
background: #000;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
padding: 4rem;
z-index: 1;
font-size: 1.4em;
}
.hidden { display: none; }
.fade-out {
animation: fade-out .5s;
animation-fill-mode: forwards;
}
.author {
position: absolute;
right: 0.5rem;
bottom: 0.5rem;
z-index: 1;
}
@keyframes fade-out {
to { opacity: 0;}
};