-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
89 lines (73 loc) · 1.14 KB
/
style.css
File metadata and controls
89 lines (73 loc) · 1.14 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
:root {
font-size: 14px;
}
* {
box-sizing: border-box;
}
body {
height: 100vh;
margin: 0;
padding: 0;
}
#app {
display: flex;
height: 100%;
width: 100%;
padding: 1rem 1rem 1rem 0;
gap: 1rem;
}
main,
aside {
height: 100%;
width: 50%;
}
aside {
overflow-y: auto;
}
#controls {
position: fixed;
top: 0;
right: 0;
padding: 1.2rem;
display: flex;
gap: 1ch;
}
.ast-viewer {
font-family: Inconsolata, monospace;
font-weight: 500;
line-height: 1.5rem;
}
details,
.ast-viewer__node__property,
.ast-viewer__node__property__item {
margin-left: 2ch;
}
summary {
cursor: pointer;
}
summary:hover {
color: #0078d4;
}
.ast-viewer > .ast-viewer__node__name {
cursor: pointer;
font-weight: 600;
}
.ast-viewer__node_meta {
color: #666;
}
.ast-viewer__node__property__length {
color: #666;
margin-left: 1ch;
}
.ast-viewer__node__property {
display: flex;
gap: 1ch;
}
.ast-viewer__node__property:has(> .ast-viewer__node__property__content > .ast-viewer) {
flex-direction: column;
gap: 0;
}
.ast-viewer__node__property:has(> .ast-viewer__node__property__content > .ast-viewer)
> .ast-viewer__node__property__content {
margin-left: 1ch;
}