-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
202 lines (172 loc) · 3.18 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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
body {
padding: 0px;
margin : 0px;
font-family: Hack, monospace;
background: #1b0b3c;
--primary: #3c81ff;
}
#head {
padding: 30px 0px 30px 0px;
text-align: center;
font-weight: bold;
font-size: 2rem;
color: var(--primary);
}
#bodayy {
padding: 0px 0px 30px 0px;
display: flex;
flex-direction: column;
align-items: center;
}
#canvas {
background: #05032d;
outline: 5px solid #82aeff;
overflow: scroll;
height: 500px;
width: 700px;
}
#options {
display: flex;
padding: 0px 0px 30px 0px;
}
#controls {
padding: 2030 40px 20px 40px;
text-align: center;
outline: 5px solid pink;
}
#controls form {
display: flex;
flex-direction: column;
}
#controls label {
display: block;
padding: 10px 0px 10px 0px;
}
#footer {
padding: 20px 0px 20px 0px;
text-align: center;
font-size: 1rem;
font-weight: bold;
color: var(--primary);
}
.btn {
position: relative;
background: #9e92ff;
font-weight: bold;
padding: 10px;
margin: 0px 30px 0px 30px;
color: white;
border: 3px solid #d26ef3;
box-shadow: 4px 4px blueviolet;
cursor: pointer;
text-align: center;
}
.btn:active {
top: 4px;
box-shadow: none;
}
.block {
position: absolute;
overflow: scroll;
top: -600px;
height: 500px;
width: 500px;
background: #82aeff;
outline: 5px solid #9e92ff;
}
.title {
text-align: center;
font-weight: bold;
font-size: 1.5rem;
}
.container {
margin: 30px;
display: flex;
flex-direction: column;
}
.container > div {
margin: 10px;
}
.active {
background: #4bd669;
border: 3px solid #43ab43;
box-shadow: none;
}
.x {
position: relative;
cursor: pointer;
top: 10px;
left: calc(475px - 1rem);
font-size: 2rem;
}
.options-body {
display: flex;
justify-content: center;
}
.slideIn {
animation: slideIn 0.2s ease forwards;
}
.slideOut {
animation: slideOut 0.2s ease forwards;
}
@keyframes slideIn {
from {
top: -600px;
}
to {
top: calc(50vh - 250px);
}
}
@keyframes slideOut {
from {
top: calc(50vh - 250px);
}
to {
top: -600px;
}
}
/* From MDN docs, https://developer.mozilla.org/en-US/docs/Learn/Forms/Your_first_form */
form {
/* Center the form on the page */
margin: 0 auto;
width: 400px;
text-align: center;
padding: 10px;
/* Form outline */
}
ul {
list-style: none;
padding: 0;
margin: 0px;
margin-bottom: 10px;
}
form li + li {
margin-top: 1em;
}
label {
/* Uniform size & alignment */
font-weight: bold;
display: inline-block;
width: 90px;
text-align: right;
}
input,
textarea {
width: 300px;
font-family: Hack, monospace;
font-size: 0.8rem;
box-sizing: border-box;
border: 2px solid black;
padding: 5px;
}
input:focus,
textarea:focus {
/* Additional highlight for focused elements */
border: 3px solid black;
}
textarea {
/* Align multiline text fields with their labels */
vertical-align: top;
/* Provide space to type some text */
height: 5em;
}