-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathextra.css
More file actions
45 lines (35 loc) · 870 Bytes
/
Copy pathextra.css
File metadata and controls
45 lines (35 loc) · 870 Bytes
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
/* See: https://mintlify.com/docs/settings/custom-scripts#custom-css */
/* Fixing width of the API reference navigation tags */
span.method-nav-pill {
width: fit-content;
/* or 3rem */
}
/* Make links not bold */
.link {
font-weight: 400;
}
/* Enhance links that wrap inline code snippets */
.link:has(code) {
padding-bottom: 3px;
}
.link > code {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
text-decoration: none;
}
/* Sticky table headers */
table {
overflow: unset !important;
}
thead > tr > th {
position: sticky;
top: 0;
background: rgb(var(--background-light));
}
html.dark thead > tr > th {
background: rgb(var(--background-dark));
}
/* Reduction of bottom margins for code blocks as last items of <Aside> components */
div[data-component-part='callout-content'] > .code-block:last-child {
margin-bottom: 0;
}