-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
48 lines (41 loc) · 904 Bytes
/
main.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
/* FONTS */
@font-face {
font-family: 'Roboto Regular';
src: url('./resources/fonts/roboto-regular.woff2') format('woff2'),
url('./resources/fonts/roboto-regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Roboto Thin';
src: url('./resources/fonts/roboto-thin.woff2') format('woff2'),
url('./resources/fonts/roboto-thin.woff') format('woff');
font-weight: normal;
font-style: normal;
}
/* LAYOUT */
html, body {
margin: 0;
overflow: hidden;
}
body {
background-color: #222;
font-family: Roboto Regular;
}
canvas {
border: 1px solid red;
image-rendering: pixelated;
}
.ui {
position: absolute;
top: 0;
left: 0;
background-color: #eee;
opacity: 0.75;
display: inline-block;
padding: 10px;
}
.ui label {
display: inline-block;
width: 6em;
}