forked from schteppe/cannon.js
-
Notifications
You must be signed in to change notification settings - Fork 133
/
docs-style.css
56 lines (48 loc) · 1.23 KB
/
docs-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
body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji,
Segoe UI Emoji !important;
}
/* Disable header disappearing */
.tsd-page-toolbar {
transform: none !important;
}
.tsd-navigation.secondary {
top: calc(40px) !important;
max-height: calc(100vh - 40px) !important;
}
/* Adjust spacings */
.tsd-navigation.primary {
padding-bottom: 0 !important;
}
.tsd-navigation.secondary > ul > li.tsd-kind-class:first-child:not(.current) {
margin-top: 20px;
}
/* Hide unnecessary filter */
#tsd-filter-visibility {
display: none !important;
}
/* Hide "Class" text */
.tsd-page-title .tsd-breadcrumb + h1 {
overflow: hidden;
text-indent: -90px;
}
/* Easier to read line-height */
.tsd-typography p {
line-height: 1.7;
}
/* GitHub styles for <pre> blocks */
:root {
--light-hl-0: #d73a49; /* declarations */
--light-hl-1: #000000;
--light-hl-2: #0070c1;
--light-hl-3: #6442c1; /* names */
--light-hl-4: #24292e; /* variable names */
--light-hl-5: #098658;
--light-hl-6: #6a737d; /* comments */
--light-hl-7: #af00db;
--light-hl-8: #267f99;
--light-hl-9: #a31515;
--light-hl-10: #000000ff;
--light-code-background: #f6f8fa;
--light-color-link: #0366d6;
}