-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
120 lines (112 loc) · 1.75 KB
/
style.css
File metadata and controls
120 lines (112 loc) · 1.75 KB
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
* {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body { /* makes the margin 0 so there are no white borders */
margin: 0;
overflow: hidden;
background-color: black;
width: 100%;
height: 100%;
}
canvas#game {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: -1;
}
@font-face {
font-family: stormtiles;
src: url('stormtiles.ttf') format('truetype');
}
div#leveleditor, div#stats, div#options {
width: 100vw;
height: 100vh;
background-color: #dddddd;
z-index: 1;
position: absolute;
padding: 8px;
overflow: auto;
}
h1 {
font-size: 6em;
margin: 0;
}
h2 {
font-size: 3em;
margin: 0;
}
abbr {
cursor: help;
}
textarea#levelcode {
white-space: pre;
overflow-wrap: normal;
}
div#stats h1, div#stats h2, div#options h1 {
text-align: center;
}
div#stats-container, div#options-container {
display: flex;
justify-content: space-evenly;
}
div#stats p {
font-size: 1.5em;
}
div#stats select {
font-size: 0.75em;
}
span.stat {
font-weight: bold;
}
div#options span {
font-size: 2em;
}
div#options a.reset-option {
color: red;
font-size: 2em;
font-weight: bold;
position: absolute;
transform: translateX(-30px);
cursor: pointer;
}
div#options a.reset-option:hover {
color: #ff4444;
}
div#options a.reset-option:active {
color: #cc0000;
}
div#options input {
font-size: 0.75em;
width: 100px;
}
button#option-save-button {
padding: 3px 10px;
font-size: 1.5em;
}
div#option-save-div {
margin: auto;
text-align: center;
}
.logo {
width: 25%;
height: auto;
opacity: 0.25;
}
.level {
position: absolute;
top: 80%;
right: 1%;
opacity: 0.8;
font-size: 8vh;
text-align: right;
}
.time {
position: absolute;
top: 80%;
left: 1%;
opacity: 0.8;
font-size: 8vh;
text-align: right;
}