-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
373 lines (304 loc) · 10.9 KB
/
style.css
File metadata and controls
373 lines (304 loc) · 10.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
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');
/* ─── Global font stack ──────────────────────────────────────────────────────── */
/* Body / UI — Inter */
body, html {
font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
}
/* Headings — Instrument Serif */
h1, h2,
.prose h1, .prose h2, .prose h3,
[class*="content"] h1, [class*="content"] h2, [class*="content"] h3:not(.sidebar-title) {
font-family: 'Instrument Serif', serif !important;
}
/* h1 italic everywhere, matching the editorial/magazine style */
h1, .prose h1, [class*="content"] h1 {
font-style: italic !important;
}
/* Mono — JetBrains Mono */
code, pre, kbd, samp,
[class*="mono"], [class*="font-mono"],
.prose code, .prose pre {
font-family: 'JetBrains Mono', ui-monospace, monospace !important;
}
:root {
--default-border-color: var(--gray-200);
}
.dark {
--default-border-color: var(--gray-800);
}
/* ─── Navbar icon link buttons — remove borders ─────────────────────────────── */
.navbar-link {
border: none !important;
box-shadow: none !important;
background: transparent !important;
}
/* ─── Navbar: hide labels on desktop, show in mobile dropdown ────────────────── */
@media (min-width: 640px) {
a[href*="github.com/MariaC27"],
a[href*="linkedin.com/in/maria"],
a[href*="medium.com/@maria"],
a[href*="mailto:maria"] {
font-size: 0 !important;
overflow: hidden;
}
}
/* ─── Sidebar nav + TOC — reset to Inter ────────────────────────────────────── */
h2.font-normal {
font-family: 'Inter', ui-sans-serif, system-ui, sans-serif !important;
font-style: normal !important;
}
/* ─── Sidebar nav ────────────────────────────────────────────────────────────── */
#sidebar .nav-dropdown-trigger {
border: none !important;
background: transparent !important;
box-shadow: none !important;
padding-left: 0.375rem;
}
#sidebar .nav-dropdown-trigger:hover {
background-color: rgb(0 0 0 / 0.04) !important;
}
.dark #sidebar .nav-dropdown-trigger:hover {
background-color: rgb(255 255 255 / 0.06) !important;
}
#sidebar .nav-dropdown-trigger .nav-dropdown-item-icon {
border: none !important;
background: transparent !important;
height: auto !important;
width: auto !important;
padding: 0 !important;
}
.nav-dropdown-content .nav-dropdown-item-icon {
border: none !important;
background: transparent !important;
height: auto !important;
width: auto !important;
padding: 0 !important;
}
.nav-dropdown-content .nav-dropdown-item-description {
display: none !important;
}
#sidebar .nav-anchor span {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 12px;
font-weight: 500;
letter-spacing: -0.02em;
text-transform: uppercase;
}
/* ─── Magazine: background ───────────────────────────────────────────────────── */
/* Page background (#F8F5EF cream) is set via docs.json background.color.
Sidebar gets a slightly whiter bg so it reads as distinct chrome. */
#sidebar {
background-color: #FFFFFF !important;
border-right: 1px solid #E7E5E4;
}
.dark #sidebar {
background-color: #141210 !important;
}
/* ─── Portfolio: home page frame ───────────────────────────────────────────── */
body:has([data-portfolio-index]) #sidebar a.nav-anchor[href='/'] {
color: rgb(var(--primary)) !important;
font-weight: 600 !important;
}
body:has([data-portfolio-index]) #sidebar a.nav-anchor[href='/'] span {
color: inherit !important;
}
body:has([data-portfolio-index]) #sidebar a.nav-anchor[href='/'] svg {
background-color: rgb(var(--primary)) !important;
}
.dark body:has([data-portfolio-index]) #sidebar a.nav-anchor[href='/'] {
color: rgb(var(--primary-light)/var(--tw-text-opacity,1)) !important;
}
/* Home frame page: strip all wrapping backgrounds/padding so body cream shows through edge-to-edge */
:is(#content-area[data-current-path='/'], [data-current-path='/'] #content-area):has([data-portfolio-index]) {
background: transparent !important;
padding: 0 !important;
}
:is(#content-area[data-current-path='/'], [data-current-path='/'] #content-area):has([data-portfolio-index]) > div:first-child {
background: transparent !important;
padding: 0 !important;
margin-top: 0 !important;
}
/* ─── Portfolio: utility classes ────────────────────────────────────────────── */
/* Primary color text — works with Mintlify's CSS variable */
.portfolio-primary-text {
color: rgb(var(--primary)) !important;
}
.dark .portfolio-primary-text {
color: rgb(var(--primary-light)) !important;
}
/* ─── Skills: proficiency badges ───────────────────────────────────────────── */
.skill-badge-active {
display: inline-flex;
align-items: center;
border-radius: 0.375rem;
background-color: #f0fdf4;
padding: 0.25rem 0.625rem;
font-family: ui-monospace, monospace;
font-size: 0.75rem;
font-weight: 600;
color: #15803d;
box-shadow: inset 0 0 0 1px #16a34a33;
}
.dark .skill-badge-active {
background-color: rgb(20 83 45 / 0.3);
color: #4ade80;
}
.skill-badge-fluent {
display: inline-flex;
align-items: center;
border-radius: 0.375rem;
background-color: #fefce8;
padding: 0.25rem 0.625rem;
font-family: ui-monospace, monospace;
font-size: 0.75rem;
font-weight: 600;
color: #a16207;
box-shadow: inset 0 0 0 1px #ca8a0433;
}
.dark .skill-badge-fluent {
background-color: rgb(113 63 18 / 0.3);
color: #facc15;
}
.skill-badge-familiar {
display: inline-flex;
align-items: center;
border-radius: 0.375rem;
background-color: #f9fafb;
padding: 0.25rem 0.625rem;
font-family: ui-monospace, monospace;
font-size: 0.75rem;
font-weight: 600;
color: #4b5563;
box-shadow: inset 0 0 0 1px #6b728033;
}
.dark .skill-badge-familiar {
background-color: rgb(31 41 55 / 0.5);
color: #9ca3af;
}
/* ─── Magazine: pull quotes, drop cap ───────────────────────────────────────── */
/* Accent border-left for pull quotes */
.portfolio-accent-border-l {
border-color: rgb(var(--primary));
}
/* ─── Changelog: expandable entries ────────────────────────────────────────── */
.cl-entry summary { list-style: none; }
.cl-entry summary::-webkit-details-marker { display: none; }
.cl-chevron {
transition: transform 0.2s ease;
flex-shrink: 0;
}
.cl-entry[open] .cl-chevron {
transform: rotate(90deg);
}
.cl-title {
font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif !important;
font-style: italic !important;
font-size: 0.9rem !important;
font-weight: 500 !important;
color: #111827;
}
.dark .cl-title {
color: #f9fafb;
}
.cl-entry {
background-color: rgba(255, 255, 255, 0.6);
border-color: rgba(0, 0, 0, 0.07);
transition: background-color 0.15s;
}
.dark .cl-entry {
background-color: rgba(17, 24, 39, 0.5);
border-color: rgba(255, 255, 255, 0.07);
}
.cl-entry:hover {
background-color: #fff;
}
.dark .cl-entry:hover {
background-color: rgba(17, 24, 39, 0.8);
}
.cl-entry.cl-active {
border-color: rgb(234 88 12 / 0.45) !important;
background-color: rgb(234 88 12 / 0.04) !important;
}
.dark .cl-entry.cl-active {
border-color: rgb(234 88 12 / 0.45) !important;
background-color: rgb(234 88 12 / 0.08) !important;
}
/* ─── Inner pages: editorial typography ─────────────────────────────────────── */
/* Page title — match the manually-rendered h1 style on frame-mode pages */
#content-area h1 {
font-size: 2.75rem;
font-weight: 400 !important;
line-height: 1.05;
letter-spacing: -0.01em;
}
/* h2 section breaks — subtle rule above for visual rhythm */
#content-area .prose h2 {
border-top: 1px solid rgba(0, 0, 0, 0.07);
padding-top: 1.75rem;
margin-top: 3rem;
}
.dark #content-area .prose h2 {
border-top-color: rgba(255, 255, 255, 0.07);
}
/* Article byline — mono, with a rule below to separate from body */
.portfolio-byline {
font-family: 'JetBrains Mono', ui-monospace, monospace;
font-size: 0.75rem;
color: #6b7280;
padding-bottom: 1.25rem;
margin-bottom: 2rem;
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.dark .portfolio-byline {
color: #9ca3af;
border-bottom-color: rgba(255, 255, 255, 0.08);
}
/* ─── Drop cap — float-left large italic initial ─────────────────────────────── */
.portfolio-dropcap {
float: left;
font-family: 'Instrument Serif', serif;
font-size: 4.5rem;
font-style: italic;
line-height: 0.85;
margin-right: 0.2em;
margin-top: 0.1em;
color: rgb(var(--primary));
}
/* ─── Card images — padding + matched border-radius ─────────────────────────── */
[data-component-part="card-image"] {
height: 180px !important;
padding: 0.75rem 0.75rem 0 0.75rem !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
overflow: hidden !important;
}
[data-component-part="card-image"] img {
height: 100% !important;
width: 100% !important;
object-fit: contain !important;
border-radius: inherit !important;
}
/* ─── Card titles + content ─────────────────────────────────────────────────── */
[data-component-part="card-title"] {
font-family: 'Instrument Serif', serif !important;
font-style: normal !important;
font-weight: 600 !important;
font-size: 1.1rem !important;
line-height: 1.2 !important;
}
[data-component-part="card-content"] {
font-size: 0.9rem !important;
line-height: 1.5 !important;
}
/* ─── Muted link (grey, no primary color bleed) ────────────────────────────── */
a.muted-link,
a.muted-link:visited {
color: #9ca3af !important;
text-decoration-color: #9ca3af !important;
font-weight: 400 !important;
}
a.muted-link:hover {
color: #6b7280 !important;
text-decoration-color: #6b7280 !important;
}