-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
92 lines (76 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
html, body {
margin: 0;
padding: 0;
background-color: #202020;
}
canvas {
position: absolute;
}
@font-face {
font-family: 'mcfont';
src: url('assets/mcfont.otf');
}
i {
color: white;
margin-left: 10px;
}
img {
position: fixed;
z-index: 1;
width: 1%;
user-select: none;
-moz-user-select: none;
-webkit-user-drag: none;
-webkit-user-select: none;
-ms-user-select: none;
}
#gui {
image-rendering: pixelated;
}
.center {
/* margin-left: auto; */
/* margin-right: auto; */
top: 50%;
left: 50%;
margin-top: -3px;
margin-left: -3px;
}
input, button {
z-index: 3;
width: 180px;
height: 22px;
bottom: 0px;
margin: 4px;
position: fixed;
color: #CCCCCC;
font-size: 20px;
font-family: 'mcfont';
background-color: #20202050;
outline: #AAAAAA90 solid;
}
button {
z-index: 3;
width: 120px;
height: 22px;
bottom: 40px;
padding-bottom: 20px;
position: fixed;
transition-timing-function: linear;
transition-duration: 0.2s;
}
button:hover {
outline-color: #55c059; /* Green */
color: #74d178;
cursor: pointer;
}
button:active {
transition-duration: 0s;
outline-color: #558856; /* Green */
color: #356337;
cursor: pointer;
}
span {
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
}