-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
167 lines (158 loc) · 9.92 KB
/
Copy pathstyle.css
File metadata and controls
167 lines (158 loc) · 9.92 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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500&display=swap');
:root {
--rigbox-text: #171717;
--rigbox-muted: #666666;
--rigbox-border: #e5e5e5;
--rigbox-surface: #fafafa;
--rigbox-background: #ffffff;
--rigbox-active: #f2f2f2;
--rigbox-accent: #087f5b;
}
.dark {
--rigbox-text: #ededed;
--rigbox-muted: #a1a1a1;
--rigbox-border: #292929;
--rigbox-surface: #0a0a0a;
--rigbox-background: #000000;
--rigbox-active: #1f1f1f;
--rigbox-accent: #4adea1;
}
#content-area { font-size: 16px; line-height: 1.7; }
#page-title { font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1.2; }
#content-container pre, #content-container code { font-family: 'Geist Mono', monospace; }
#content-container pre { font-size: 13px; }
#content .card, #content-area .code-block, #content-area pre { border-radius: 6px; }
#content-area a:focus-visible, #sidebar a:focus-visible { outline: 2px solid var(--rigbox-accent); outline-offset: 3px; }
#content-area:has(.rigbox-home) > #header { display: none; }
/* Keep Mintlify navigation and search behavior in a single-row docs shell. */
@media (min-width: 1024px) {
#navbar { height: calc(64px + var(--banner-height, 0px)); }
#navbar > .relative { max-width: none; }
#navbar .h-16 { padding-left: 24px; padding-right: 24px; }
#navbar .h-16 > div { border-bottom: 0; }
#navbar .nav-tabs { position: fixed; top: var(--banner-height, 0px); left: 174px; height: 64px; gap: 24px; align-items: center; }
#navbar div:has(> .nav-tabs) { height: 0; padding: 0; }
#navbar .nav-tabs-item { height: 36px; font-weight: 400; font-size: 14px; }
#navbar .nav-tabs-item > div { display: none; }
#navbar-transition { border-bottom: 0; background: var(--rigbox-background); backdrop-filter: none; }
#search-bar-entry { position: fixed; top: calc(76px + var(--banner-height, 0px)); left: 12px; width: 264px; height: 38px; min-width: 0; border-radius: 6px; background: var(--rigbox-surface); }
#topbar-cta-button a { padding: 7px 12px; }
#topbar-cta-button a > span { border-radius: 6px; background: var(--rigbox-text); }
#topbar-cta-button a > div > span { color: var(--rigbox-background); }
#topbar-cta-button svg { display: none; }
/* Reserve the navigation rail and keep the reading column near it on wide screens. */
div:has(> #sidebar) { max-width: none !important; padding: 0 0 0 300px !important; }
#sidebar { position: fixed !important; left: 0; top: calc(64px + var(--banner-height, 0px)) !important; width: 288px; border: 0; }
#sidebar-content { padding: 64px 12px 32px; }
#sidebar-content > div > .sticky { display: none; }
#sidebar #navigation-items > div { margin: 0 0 28px; padding: 0; border: 0; }
#sidebar .sidebar-group-header { padding: 0 8px; margin-bottom: 4px; }
#sidebar #sidebar-title { color: var(--rigbox-text); font-size: 15px; line-height: 22px; font-weight: 650; }
#sidebar #sidebar-group { margin: 0; }
#sidebar a { padding: 8px 10px !important; min-height: 36px; font-size: 14px; line-height: 20px; font-weight: 400; border: 0; border-radius: 6px; }
#sidebar a[class*="text-primary"] { color: var(--rigbox-text); background: var(--rigbox-active); text-shadow: none; }
#content-container { width: 100%; margin-left: clamp(0px, calc(25vw - 360px), 96px); margin-right: auto; padding: 40px 40px 0; max-width: 1188px !important; }
#content-container:has(.rigbox-home) { max-width: 1152px !important; }
#content-container > div { padding-top: 0; }
#content-area { margin: 0; padding: 0; width: auto; min-width: 0; }
#content { margin-top: 24px; }
#content:has(.rigbox-home) { margin-top: 0; }
}
.rigbox-home { color: var(--rigbox-text); }
.rigbox-hero { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px; align-items: center; margin-bottom: 48px; }
#content .rigbox-home h1 { font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -.055em; margin: 0 0 28px; }
#content .rigbox-lead { font-size: 20px; line-height: 30px; color: var(--rigbox-muted); margin: 0; }
.rigbox-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
#content .rigbox-button { display: inline-flex; justify-content: center; align-items: center; padding: 8px 14px; min-height: 38px; border: 1px solid var(--rigbox-border); border-radius: 6px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--rigbox-text); text-decoration: none; background: var(--rigbox-surface); }
#content .rigbox-button-primary { background: var(--rigbox-text); color: var(--rigbox-background); border-color: var(--rigbox-text); }
#content .rigbox-button:hover { opacity: .85; }
.rigbox-terminal { min-width: 0; }
#content .rigbox-terminal > div { margin: 0; }
#content .rigbox-terminal pre { border-radius: 0 0 6px 6px; }
.rigbox-section { margin-bottom: 48px; }
#content .rigbox-section h2 { font-size: 28px; line-height: 36px; font-weight: 600; letter-spacing: -.035em; margin: 0 0 12px; }
#content .rigbox-section > p { font-size: 17px; line-height: 28px; margin: 0 0 20px; color: var(--rigbox-text); }
.rigbox-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
#content a.rigbox-feature-card { display: block; min-width: 0; padding: 24px; border: 1px solid var(--rigbox-border); border-radius: 8px; background: var(--rigbox-surface); color: var(--rigbox-text); text-decoration: none; font-weight: 400; }
#content a.rigbox-feature-card:hover { border-color: var(--rigbox-muted); }
#content .rigbox-feature-card > svg { width: 20px; height: 20px; margin: 0 0 20px; color: var(--rigbox-text); }
#content .rigbox-feature-card .rigbox-card-title { display: block; font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 4px; }
#content .rigbox-feature-card p { color: var(--rigbox-muted); font-size: 14px; line-height: 21px; margin: 0; }
.rigbox-api-note { color: var(--rigbox-muted); font-size: 12px; margin-top: 20px; overflow-wrap: anywhere; }
@media (min-width: 1024px) and (max-width: 1250px) {
.rigbox-hero { gap: 28px; }
#content .rigbox-home h1 { font-size: 48px; }
.rigbox-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1023px) {
.rigbox-hero { gap: 28px; }
#content .rigbox-home h1 { font-size: 44px; }
.rigbox-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
#page-title { font-size: 32px; }
#content .rigbox-home h1 { font-size: 40px; }
.rigbox-hero { grid-template-columns: 1fr; margin-bottom: 36px; }
.rigbox-card-grid { grid-template-columns: 1fr; }
#content .rigbox-lead { font-size: 16px; line-height: 26px; }
.rigbox-section { margin-bottom: 36px; }
}
/* Match the reference's thin, neutral tabs and framed terminal header. */
#content .rigbox-terminal [data-component-part="tabs-list"] { margin-bottom: 16px; gap: 16px; }
#content .rigbox-terminal [data-component-part="tab-button"] { font-weight: 400; color: var(--rigbox-muted); }
#content .rigbox-terminal [data-component-part="tab-button"][data-active="true"] { color: var(--rigbox-text); }
#content .rigbox-terminal .code-block { margin: 0; padding: 0; background: var(--rigbox-surface); }
#content .rigbox-terminal [data-component-part="code-block-header"] { border-bottom: 1px solid var(--rigbox-border); border-radius: 6px 6px 0 0; min-height: 40px; }
#content .rigbox-terminal [data-component-part="tab-content"] { padding: 0; }
@media (min-width: 1024px) and (max-width: 1400px) {
#content-container { padding-left: 32px; padding-right: 32px; }
}
#header .eyebrow { color: var(--rigbox-muted); font-size: 13px; margin-bottom: 16px; }
#header > div > div:has(#page-title) { margin-top: 0; }
#header > div:has(> p) { margin-top: 16px; }
#header > div > p { font-size: 18px; line-height: 28px; margin: 0; }
@media (min-width: 1024px) {
#sidebar button[aria-expanded] { padding: 8px 10px !important; min-height: 36px; font-size: 14px; line-height: 20px; border-radius: 6px; justify-content: space-between; }
#sidebar button[aria-expanded] > svg { margin-left: auto; }
#sidebar li li a { padding-left: 16px !important; }
#sidebar li li li a { padding-left: 24px !important; }
#sidebar li li li li a { padding-left: 32px !important; }
#sidebar a:focus-visible, #sidebar button:focus-visible { outline: 2px solid var(--rigbox-accent); outline-offset: -2px; }
#table-of-contents-layout { width: 208px; padding-left: 0; }
#table-of-contents { width: 208px; }
#content-side-layout { top: calc(88px + var(--banner-height, 0px)); height: calc(100vh - 112px - var(--banner-height, 0px)); }
}
@media (min-width: 1280px) {
#content-container:has(#table-of-contents, #table-of-contents-layout) { max-width: 1056px !important; }
#content-container:has(#table-of-contents, #table-of-contents-layout) #content-area { max-width: 720px; }
}
#content .rigbox-terminal-note { font-size: 13px; line-height: 21px; color: var(--rigbox-muted); margin-top: 16px; }
.rigbox-card-arrow { display: block; margin-top: 16px; color: var(--rigbox-accent); }
/* Keep the release notice visually distinct without competing with navigation. */
#banner { background: var(--rigbox-surface); border-bottom: 1px solid var(--rigbox-border); color: var(--rigbox-muted); }
#banner, #banner * { color: var(--rigbox-muted) !important; }
/* Section hierarchy for both the local and hosted Mintlify renderers. */
#sidebar #navigation-items h3,
#sidebar #navigation-items h5 {
color: var(--rigbox-text);
font-size: 15px;
font-weight: 650;
line-height: 22px;
letter-spacing: -.01em;
margin-bottom: 8px;
}
/* Keep the outline near the viewport edge without shifting the article. */
@media (min-width: 1440px) {
#table-of-contents {
position: fixed !important;
right: 32px;
top: calc(104px + var(--banner-height, 0px));
margin-top: 0;
padding-top: 0;
width: 208px;
height: calc(100vh - 128px - var(--banner-height, 0px));
max-height: calc(100vh - 128px - var(--banner-height, 0px));
overflow-y: auto;
}
#table-of-contents > [data-component-part="scroll-area-viewport"] { padding-top: 0; }
}