Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
150 lines (130 loc) · 3.12 KB
/
Copy pathstyle.css
File metadata and controls
150 lines (130 loc) · 3.12 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
/*
* DeckFlow brand layer for the Mintlify theme.
*
* Structure follows Supabase-style docs: quiet surfaces, hairline borders,
* small radii, and small monospace labels for navigation. Colors and type
* come from the DeckFlow site. Change a token here, not in individual rules.
*
* Selectors use Mintlify's stable hooks (ids, named classes,
* data-component-part). Avoid generated utility class names.
*/
@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600&display=swap");
:root {
--df-paper: #f8f7f3;
--df-paper-deep: #efede7;
--df-surface: #ffffff;
--df-ink: #171b1f;
--df-ink-soft: #343b40;
--df-muted: #646d72;
--df-line: #dad7cf;
--df-line-strong: #aaa69d;
--df-coral: #df604f;
--df-rose: #ad667b;
--df-slate: #405567;
--df-radius: 8px;
--df-radius-sm: 5px;
--df-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
html.dark {
--df-paper: #11191e;
--df-paper-deep: #0d1418;
--df-surface: #19242a;
--df-ink: #f1efe9;
--df-ink-soft: #d5d3cc;
--df-muted: #9aa3a8;
--df-line: #2b383f;
--df-line-strong: #3b4a52;
}
/* Brand line: the coral → rose → slate gradient from the logo mark. */
#navbar::before {
content: "";
position: absolute;
inset: 0 0 auto 0;
height: 2px;
background: linear-gradient(90deg, var(--df-coral), var(--df-rose), var(--df-slate));
z-index: 1;
pointer-events: none;
}
/* Headings: semibold with tight tracking, as on the DeckFlow site. */
#page-title,
#content h2,
#content h3 {
letter-spacing: -0.02em;
font-weight: 600;
}
/* Small monospace labels for section names. */
.sidebar-group-header,
.eyebrow {
font-family: var(--df-mono);
font-size: 0.6875rem;
font-weight: 500;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.sidebar-group-header {
color: var(--df-muted);
}
/* Top navigation tabs. */
.nav-tabs-item {
letter-spacing: -0.005em;
}
/* Surfaces: hairline borders and small radii. */
.card,
.code-block,
.callout,
.accordion,
.accordion-group,
.prompt {
border-radius: var(--df-radius);
}
.card {
border-color: var(--df-line);
background: var(--df-surface);
transition:
border-color 0.15s ease,
transform 0.15s ease;
}
a.card:hover {
border-color: var(--df-coral);
}
[data-component-part="card-title"] {
letter-spacing: -0.01em;
}
.code-block,
.accordion,
.accordion-group,
.prompt {
border-color: var(--df-line);
}
.prompt {
background: var(--df-paper-deep);
}
#topbar-cta-button a,
#topbar-cta-button {
border-radius: var(--df-radius-sm);
}
/* Tables: endpoint lists read as reference material. */
#content table {
font-size: 0.875rem;
}
#content thead th {
font-family: var(--df-mono);
font-size: 0.6875rem;
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--df-muted);
border-bottom-color: var(--df-line-strong);
}
#content tbody td {
border-bottom-color: var(--df-line);
}
/* Inline code and code blocks use the brand monospace. */
#content code,
.code-block {
font-family: var(--df-mono);
}
/* Footer sits on the deeper paper tone. */
footer.advanced-footer {
border-top-color: var(--df-line);
}