-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
71 lines (59 loc) · 1.01 KB
/
index.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
html {
height: 100%;
--text-color: #ecf0f1;
--action-color: #e74c3c;
}
* {
box-sizing: border-box;
outline: 0;
margin: 0;
}
body {
height: 100%;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
#root {
height: 100%;
}
.page {
width: 100%;
height: 100%;
background: #2c3e50;
padding: 60px;
}
.scene-container {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.scene {
border: 2px solid var(--text-color);
}
.block {
stroke-width: 1px;
stroke: var(--text-color);
}
.paddle {
fill: #3498db;
}
.ball {
fill: var(--action-color);
}
.level {
font-weight: bold;
fill: var(--text-color);
}
.life {
fill: var(--action-color);
}