blob: 2d8cbc6564f8f67a66e5add7f62ff26649964b0f (
plain) (
blame)
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
|
*{
box-sizing: inherit;
}
@media print{
header {
display: none;
}
}
html {
box-sizing: border-box;
}
menu > li {
display: inline;
list-style: none;
padding: 0.5rem;
}
@media screen{
html {
color-scheme: light dark;
height: 90vh;
}
body {
display: grid;
grid: "head" fit-content(1rem) "main" auto;
height: 100%;
}
header {
grid-area: head;
color-scheme: light;
background-color: rgb(117,117,117);
}
#fileInput{
height: 0;
width: 0;
padding: 0;
opacity: 0;
}
label[for="fileInput"] {
text-align: center;
}
button{
color: inherit;
background: inherit;
font: inherit;
border: none;
}
:is(button,label[for="fileInput"]):hover {
background-color: dimgray;
}
#editor {
grid-area: main;
border: 1px solid;
height: 100%;
padding: 1rem;
overflow: scroll;
}
}
|