forked from pulumi/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_api-nodejs.scss
94 lines (77 loc) · 1.76 KB
/
_api-nodejs.scss
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
h3.pdoc-module-header {
@apply pb-1 border-b border-gray-400;
}
// Indent all elements preceded by this header.
h3.pdoc-module-header ~ * {
@apply ml-4;
}
// ...except equal or larger headers.
h3.pdoc-module-header ~ h3,
h3.pdoc-module-header ~ h2 {
@apply ml-0;
}
// We want visually recognizable links here.
.highlight {
a {
@apply text-blue-600;
&:hover {
@apply text-blue-700;
}
}
}
h3.api {
&.resource {
&:before {
content: "Resource "
}
}
}
ul.api {
@apply list-none p-0 m-0 overflow-hidden;
columns: 3 220px;
li {
@apply truncate mt-0;
a {
@apply btn bg-transparent inline-block p-1;
&:hover {
@apply rounded bg-gray-200;
}
}
.symbol {
&:before {
@apply text-white text-xs rounded mr-2 px-1 text-center inline-block;
width: 19px;
}
&.module {
&:before {
content: "M";
@apply bg-green-700;
}
}
&.package {
&:before {
content: "P";
@apply bg-purple-700;
}
}
&.resource {
&:before {
content: "R";
@apply bg-blue-700;
}
}
&.datasource {
&:before {
content: "D";
@apply bg-red-700;
}
}
&.api {
&:before {
content: "A";
@apply bg-gray-700;
}
}
}
}
}