forked from bostongfx/cs460student_2022
-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.css
123 lines (106 loc) · 1.9 KB
/
base.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
body {
width: 100%;
height: 100%;
position: absolute;
background: #000000;
margin: 0;
padding: 0;
overscroll-behavior: none;
}
.container {
width: 100%;
height: 100%;
position: relative;
}
.ui {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
font-family: 'Press Start 2P', cursive;
}
@keyframes game-over-anim {
from {
opacity: 0.0;
}
to {
opacity: 1.0;
}
}
.game-over-layout {
opacity: 0.0;
visibility: hidden;
height: 100%;
width: 100%;
background: rgba(0, 0, 0, 0.75);
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
z-index: 1;
}
.game-over-layout.active {
opacity: 1.0;
visibility: visible;
transition: opacity 0.5s ease-in-out;
}
.game-over-text {
font-size: 5em;
color: white;
text-shadow: 8px 8px black;
}
.score-text {
font-size: 3em;
color: white;
padding: 2em;
text-shadow: 5px 5px black;
}
.score-layout {
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: flex-end;
}
.game-menu-layout {
width: 100%;
height: 100%;
background: white;
display: flex;
flex-direction: row;
justify-content: center;
align-items: flex-start;
font-family: 'Segoe UI', Tahoma, sans-serif;
}
.game-menu-window {
display: flex;
flex-direction: column;
justify-content: center;
width: 400px;
}
.game-menu-window > img {
width: 64px;
height: 64px;
padding-top: 100px;
image-rendering: pixelated;
}
.game-menu-window > h1 {
font-size: 1.6em;
line-height: 1.25em;
font-weight: 500;
color: rgb(32, 33, 36);
}
.game-menu-window > p, li {
margin: 0;
font-size: 1em;
line-height: 1.55em;
color: rgb(95, 99, 104);
}
.game-menu-window > #error {
margin: 0;
font-size: 0.8em;
line-height: 1.55em;
color: rgb(95, 99, 104);
margin-top: 12px;
}