-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
60 lines (50 loc) · 1.02 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
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
}
#app {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
border: 1px solid white;
}
.CodeMirror {
position: absolute;
/* top: 20px;
left: 20px; */
z-index: 5;
/* width: calc(100% - 20px);
height: calc(100% - 20px); */
background: transparent;
width: calc(100% - 60px);
height: calc(100% - 60px);
}
#editor-container {
width: 100%;
height: 100%;
/* position: fixed; */
position: absolute;
/* padding: 20px; */
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
}