-
Notifications
You must be signed in to change notification settings - Fork 91
/
styles.css
133 lines (114 loc) · 2.58 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Remove external link arrow */
.vocs_ExternalLink::after {
width: 0;
margin: 0;
}
/* Remove dividers */
.vocs_Sidebar_divider {
display: none;
}
:not(.vocs_Header) + .vocs_H2:not(:only-child),
.vocs_Sidebar_navigation
> .vocs_Sidebar_group
> .vocs_Sidebar_section
+ .vocs_Sidebar_section {
border-top: none;
}
.vocs_Header {
border-bottom: none;
}
.vocs_Footer_container {
border-bottom: none;
}
/* Remove title padding for more compact page */
.vocs_Header {
padding-bottom: 0;
}
/* Ensure top section sidebar element are never active */
section.vocs_Sidebar_level
> .vocs_Sidebar_sectionHeader
.vocs_Sidebar_sectionTitleLink[data-active="true"] {
color: var(--vocs-color_title) !important;
}
/* Remove footer padding, managed in footer.tsx */
.vocs_Footer {
padding-bottom: 0;
}
/* Set footer text color */
.footer_text span {
color: var(--vocs-color_text3);
}
/* Hide page outlines */
.vocs_DocsLayout_gutterRight {
display: none;
}
/* Put searchbar on righ */
.vocs_DesktopTopNav {
justify-content: end;
gap: var(--vocs-space_12);
}
/* Make sidebar collapsible */
@media screen and (min-width: 1080px) {
.vocs_DocsLayout_gutterLeft {
margin-left: 0;
transition: margin 0.3s ease;
width: var(--vocs-sidebar_width);
}
.sidebar_hidden .vocs_DocsLayout_gutterLeft {
margin-left: calc(var(--vocs-sidebar_width) * -1);
}
.vocs_DocsLayout_content_withSidebar {
margin-left: var(--vocs-sidebar_width);
}
.sidebar_hidden .vocs_DocsLayout_content_withSidebar {
margin-left: 0 !important;
}
.vocs_DocsLayout_content_withSidebar {
margin-left: var(--vocs-sidebar_width);
transition: margin 300ms ease !important;
max-width: unset;
}
.vocs_DesktopTopNav_logo a {
margin-top: 2px !important;
}
.vocs_Sidebar_logo {
padding-top: 0px !important;
}
.sidebar_toggle {
position: absolute;
top: 0;
right: calc(var(--vocs-topNav_height) * -1);
height: var(--vocs-topNav_height);
width: var(--vocs-topNav_height);
}
.sidebar_toggle button {
padding: var(--vocs-space_8);
}
}
/* END sidebar */
.vocs_Content,
.vocs_Footer {
margin: auto;
font-size: 1rem;
}
/* Math styling */
.katex {
font-size: var(--vocs-fontSize_18);
}
.katex math[display="block"] {
font-size: var(--vocs-fontSize_20);
padding-bottom: 0.875em;
}
.vocs_DesktopTopNav_logoWrapper {
left: 22px;
justify-content: start;
}
/* Force show theme switcher */
@media screen and (max-width: 1280px) {
.vocs_DesktopTopNav_hideCompact {
display: block;
}
}