-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
96 lines (78 loc) · 1.46 KB
/
styles.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
.components > ul {
margin: 0;
padding: 0;
}
.components > ul li {
list-style-type: none;
margin: 5px;
}
.components .string,
.components .number {
background-color: #eee;
}
.components .string,
.components .number,
.components .color {
border-color: #ddd;
border-radius: 5px;
border-width: 1.5px;
border-style: solid;
padding: 2px 3px;
font-size: 11px;
margin: 5px 0;
font-family: sans-serif;
}
.components .string::before {
content: "\""
}
.components .string::after {
content: "\""
}
.components .string {
color: navy;
}
.components .number {
color: green;
}
.components .color {
display: inline-block;
width: 10px;
height: 12px;
border-width: 1px;
margin: 5px 0 0 0;
}
.components ul.list-of,
.components ul.tuple-of {
margin: 0;
padding: 0;
}
.components ul.list-of::before {
content: "[";
}
.components ul.list-of::after {
content: "]";
}
.components ul.tuple-of::before {
content: "(";
}
.components ul.tuple-of::after {
content: ")";
}
.components ul.list-of > li,
.components ul.tuple-of > li {
display: inline;
}
.components.dark .string,
.components.dark .number {
background-color: rgba(235,235,225,0.9);
border-color: #666;
}
.components.dark {
background-color: #1d1f21;
}
.components.dark ul.list-of::before,
.components.dark ul.tuple-of::before,
.components.dark ul.list-of::after,
.components.dark ul.tuple-of::after {
color: #eee;
}