generated from mintlify/starter
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathstyle.css
More file actions
96 lines (79 loc) · 2.52 KB
/
style.css
File metadata and controls
96 lines (79 loc) · 2.52 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
89
90
91
92
93
94
95
96
/* Code block background for dark mode */
html.dark div[data-component-part="code-block-root"] {
background-color: #1f1f23 !important;
}
/* Override pre and span backgrounds in code blocks */
html.dark pre[style*="background-color"],
html.dark .shiki span,
html.dark .shiki-themes span,
html.dark .github-light-default span,
html.dark .dark-plus span {
background-color: transparent !important;
}
/* Code block scrollbar containment */
div[data-component-part="code-block-root"] {
clip-path: inset(0 round 1rem) !important;
}
/* Card content container centering */
.card {
display: flex !important;
}
div[data-component-part="card-content-container"] {
flex: 1 !important;
}
/* Topbar CTA Button Light/Dark Mode Styling */
/* Default - light mode (black background with white text) */
#topbar-cta-button .bg-primary-dark {
background-color: #18171a !important;
border-radius: 10px !important;
}
#topbar-cta-button .text-white {
color: #ffffff !important;
}
#topbar-cta-button .text-white\/90 {
color: #ffffff !important;
}
/* Dark mode - white background with black text */
html.dark #topbar-cta-button .bg-primary-dark {
background-color: #ffffff !important;
}
html.dark #topbar-cta-button .text-white {
color: #18171a !important;
}
html.dark #topbar-cta-button .text-white\/90 {
color: #18171a !important;
}
/* Anchor link underline colors */
html.dark a.link:not(.nav-tabs-item):not(.nav-anchor) {
text-decoration-color: #ffffff !important;
border-bottom: 1px solid #ffffff !important;
}
html.dark a.link:not(.nav-tabs-item):not(.nav-anchor):hover {
text-decoration-color: #ffffff !important;
border-bottom: 2px solid #ffffff !important;
}
/* Remove white background from Card icons */
[data-component-part="card-icon"] {
background: transparent !important;
}
[data-component-part="card-icon"] img {
background: transparent !important;
}
/* Ensure SVG icons inherit proper colors for light mode */
[data-component-part="card-icon"] svg path,
[data-component-part="card-icon"] svg g,
[data-component-part="card-icon"] svg circle,
[data-component-part="card-icon"] svg rect {
fill: #18171a !important;
}
/* Ensure SVG icons inherit proper colors for dark mode */
html.dark [data-component-part="card-icon"] svg path,
html.dark [data-component-part="card-icon"] svg g,
html.dark [data-component-part="card-icon"] svg circle,
html.dark [data-component-part="card-icon"] svg rect {
fill: #ffffff !important;
}
/* Feedback buttons transparency */
.dark\:bg-codeblock\/50:is(.dark *) {
background-color: transparent !important;
}