forked from ton-org/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextra.css
More file actions
77 lines (61 loc) · 1.48 KB
/
extra.css
File metadata and controls
77 lines (61 loc) · 1.48 KB
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
/* 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 */
}
/* Prevent word breaks in inline code items in tables */
td>code,
td>em>code,
td>strong>code,
td>a>code {
white-space: nowrap;
}
/* 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;
}
/* Fix Mermaid's Sankey diagrams for both themes */
svg[aria-roledescription="sankey"]>g.links>g.link {
mix-blend-mode: normal !important;
}
/* A style to hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
/* A class to hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
/* IE and Edge */
-ms-overflow-style: none;
/* Firefox */
scrollbar-width: 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));
}
/* Tabular numbers for better alignment in tables */
table {
font-variant-numeric: tabular-nums;
}
/* 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;
}