-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstyles.css
More file actions
88 lines (71 loc) · 1.9 KB
/
styles.css
File metadata and controls
88 lines (71 loc) · 1.9 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
78
79
80
81
82
83
84
85
86
87
88
/* Primary header CTA button */
#topbar-cta-button > a > span {
border-radius: .5rem;
background-color: #000;
}
a.rounded-xl {
border-radius: .5rem;
}
/* Primary header CTA button - Dark mode */
html.dark #topbar-cta-button > a > span {
background-color: #FFF;
}
/* Primary header CTA button text */
#topbar-cta-button > a > span + div > span {
color: #FFF;
}
/* Primary header CTA button text - Dark mode */
html.dark #topbar-cta-button > a > span + div > span {
color: #000;
}
/* Primary header CTA button icon - Dark mode */
html.dark #topbar-cta-button > a > span + div > svg {
color: #000;
}
/* Hide the Mintlify link in the footer */
#footer .sm\:flex > a {
display: none !important;
}
#navigation-items > div:not(:last-child) {
border-bottom: 1px solid rgb(var(--gray-400)/0.2);
padding-bottom: 1rem;
}
html.dark #navigation-items > div:not(:last-child) {
border-top-color: rgb(var(--gray-600)/0.3);
}
#navigation-items > div:not(:first-child) {
margin-top: 1rem;
}
a.link:not(.nav-tabs-item){
border-bottom: 1px solid rgb(var(--primary-dark))
}
#table-of-contents .toc-item.relative[data-depth="1"] {
display: none;
}
/* Styles for the new brand */
#topbar-cta-button > a > span,
#navigation-items .sidebar-group > li > a,
#sidebar-group > li > a,
#search-bar-entry,
.chat-assistant-floating-input > div {
border-radius: 9999px;
}
#page-context-menu > button:first-child {
border-top-left-radius: 9999px;
border-bottom-left-radius: 9999px;
}
#page-context-menu > button:last-child {
border-top-right-radius: 9999px;
border-bottom-right-radius: 9999px;
}
/* Hide the tab selector to prevent users from discovering IDX */
.nav-tabs-item,
.nav-tabs,
div:has(> .nav-tabs),
#sidebar-content .sticky,
#navigation-items button[type="button"] /* Hide it on mobile */ {
display: none !important;
}
#table-of-contents {
padding-top: 0 !important;
}