-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
91 lines (77 loc) · 1.27 KB
/
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
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
/* Font Awesome Icon compatability */
nav i, nav [class^="mdi-"], nav [class*="mdi-"], nav i.material-icons {
display: inline-block;
user-select: none;
}
nav i.material-icons:not(:first-child) {
padding: 0 0 0 15px;
}
nav i.material-icons.fa {
position: relative;
top: -3px;
}
/* Nav formatting */
nav {
background: #1f1f1f;
position: fixed;
top: 0;
z-index: 2;
overflow: hidden;
opacity: 0.8;
}
nav .nav-wrapper {
display: flex;
}
nav .nav-wrapper h1 {
flex-grow: 1;
text-align: center;
height: 56px;
line-height: 56px;
font-size: 2em;
margin: 0;
padding: 0;
white-space: nowrap;
}
@media only screen and (min-width: 601px) {
nav .nav-wrapper h1 {
height: 64px;
line-height: 64px;
}
}
/* Modals */
.modal {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
/* Disabled polyfill */
a[disabled]:not([disabled="false"]) {
pointer-events: none;
cursor: default;
opacity: 0.5;
}
/* Canvas formatting */
body {
background: #1f1f1f;
}
html, body {
height: 100%;
}
#canvas.center-vertical {
top:0; bottom: 0;
}
#canvas:not(.center-vertical) {
margin: 75px auto 15px auto;
}
#canvas {
margin: auto;
position: absolute;
left: 0; right: 0;
image-rendering: pixelated;
cursor: crosshair;
}
/* Input */
#input {
font-size: 7px;
}