Skip to content

Commit 447ebf1

Browse files
committed
Tweak TypeDoc configuration
1 parent a2131e3 commit 447ebf1

File tree

16 files changed

+559
-408
lines changed

16 files changed

+559
-408
lines changed

docs/assets/custom.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pre {
2+
margin: 1rem 0;
3+
}

docs/assets/my-theme.css

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
@media (prefers-color-scheme: light) {
2+
:root {
3+
--menu-item-active-bg: #dfe0e2;
4+
}
5+
}
6+
@media (prefers-color-scheme: dark) {
7+
:root {
8+
--menu-item-active-bg: #1e2024;
9+
}
10+
}
11+
:root[data-theme='light'] {
12+
--menu-item-active-bg: #dfe0e2;
13+
}
14+
:root[data-theme='dark'] {
15+
--menu-item-active-bg: #1e2024;
16+
}
17+
.tsd-navigation a.current,
18+
.tsd-page-navigation a.current {
19+
background-color: var(--menu-item-active-bg);
20+
}
21+
.container {
22+
padding: 0;
23+
}
24+
.tsd-page-toolbar,
25+
.tsd-generator {
26+
border: 0;
27+
}
28+
.tsd-generator {
29+
padding: 0;
30+
line-height: 40px;
31+
height: 40px;
32+
background: var(--color-background-secondary);
33+
}
34+
.tsd-generator > p {
35+
max-width: 1700px;
36+
margin: auto;
37+
}
38+
.container-main {
39+
margin: 0 auto;
40+
min-height: calc(100vh - 80px);
41+
}
42+
.menu-sticky-wrap {
43+
}
44+
.tsd-navigation.settings .tsd-accordion-details {
45+
padding: 1rem;
46+
background: var(--color-background-secondary);
47+
}
48+
.tsd-navigation.settings {
49+
display: inline-block;
50+
vertical-align: top;
51+
margin: 0;
52+
}
53+
.tsd-navigation.settings h3{
54+
display: flex;
55+
align-items: center;
56+
font-size: 14px;
57+
}
58+
.tsd-navigation.settings .tsd-index-accordion {
59+
position: relative;
60+
}
61+
.tsd-navigation.settings .tsd-accordion-summary {
62+
display: inline-flex;
63+
vertical-align: top;
64+
align-items: center;
65+
margin-left: 1rem;
66+
height: 40px;
67+
}
68+
.tsd-navigation .tsd-accordion-summary {
69+
display: flex;
70+
align-items: center;
71+
}
72+
.tsd-navigation a {
73+
display: flex;
74+
}
75+
.col-menu,
76+
.col-content {
77+
position: static;
78+
margin: 0;
79+
height: 100%;
80+
box-sizing: border-box;
81+
}
82+
.col-menu {
83+
flex: 0 0 20rem;
84+
border-left: 0;
85+
padding-left: 1rem;
86+
padding-right: 0.1rem;
87+
}
88+
.col-content {
89+
padding-top: 1rem;
90+
padding-left: 1rem;
91+
padding-right: 1rem;
92+
flex: 1;
93+
}
94+
.menu-item-desc {
95+
color: #5d5d5d;
96+
font-size: 12px;
97+
line-height: 1.26;
98+
font-weight: normal;
99+
}
100+
101+
:root[data-theme='dark'] .menu-item-desc {
102+
color: #989898;
103+
}
104+
@media (prefers-color-scheme: dark) {
105+
.menu-item-desc {
106+
color: #989898;
107+
}
108+
}
109+
110+
a.tsd-index-link {
111+
align-items: flex-start;
112+
}
113+
pre {
114+
border: 0;
115+
}
116+
.tsd-signature {
117+
background: var(--code-background);
118+
border: 0;
119+
}
120+
code.tsd-tag {
121+
border: 0;
122+
}
123+
124+
#tsd-search.has-focus .tsd-navigation.settings {
125+
visibility: hidden;
126+
}
127+
128+
.tsd-page-toolbar .tsd-toolbar-icon {
129+
text-align: center;
130+
}
131+
@media (max-width: 1024px) {
132+
#tsd-search .title {
133+
max-width: calc(100vw - 22rem);
134+
overflow: hidden;
135+
display: inline-block;
136+
text-overflow: ellipsis;
137+
}
138+
}
139+
@media (min-width: 1200px) {
140+
.page-menu,
141+
.site-menu {
142+
max-height: calc(100vh - 60px);
143+
padding: 10px 0 10px 10px;
144+
top: 40px;
145+
}
146+
.container-main.empty-page-menu {
147+
grid-template-columns: minmax(0, 1fr) minmax(0, 3.5fr) minmax(0, 0);
148+
grid-template-areas: 'sidebar content';
149+
}
150+
}
151+
@media (min-width: 770px) and (max-width: 1399px) {
152+
.col-sidebar {
153+
max-height: calc(100vh - 60px);
154+
top: 40px;
155+
}
156+
}
157+
#tsd-search .title {
158+
padding-left: 10px;
159+
}

docs/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/functions/Enum.html

Lines changed: 0 additions & 102 deletions
This file was deleted.

0 commit comments

Comments
 (0)