-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocs.css
70 lines (56 loc) · 1.41 KB
/
docs.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
.prose {
h1,
h2,
h3,
h4,
h5,
h6 {
@apply mt-60 mb-8;
}
> :first-child {
@apply mt-0;
}
p,
blockquote {
@apply mt-0 mb-24;
}
pre {
@apply m-0;
}
table {
border-collapse: collapse;
border-spacing: 0;
thead th {
@apply border-0 border-b-1 border-solid border-black;
}
td,
th {
@apply align-top text-left px-16 py-8;
}
tbody tr:nth-child(even) {
@apply bg-grey-1;
}
}
}
/**
* The following are "scopes" defined by highlight.js:
* <https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html>
*/
.hljs {
/* "heading of a section in a config file, heading in text markup" */
.hljs-section { @apply text-slate-light; }
/* "XML/HTML tag" ("<" and ">", specifically) */
.hljs-tag { @apply text-slate; }
/* "name of an XML tag, the first word in an s-expression" (?) */
.hljs-name { @apply text-red-3; }
/* "name of an attribute with no language defined semantics (keys in JSON,
* setting names in .ini), also sub-attribute within another highlighted
* object, like XML tag" */
.hljs-attr { @apply text-slate-light; }
/* "name of an attribute followed by a structured value part, like CSS properties" */
.hljs-attribute { @apply text-red-4; }
/* "literal string, character" */
.hljs-string { @apply text-slate; }
/* HTML, CSS, and JS comments */
.hljs-comment { @apply text-slate-light; }
}