|
183 | 183 | } |
184 | 184 |
|
185 | 185 | .content-panel:first-of-type { |
186 | | - padding-top: var(--sl-content-pad-x) !important; |
| 186 | + /* padding-top: var(--sl-content-pad-x) !important; */ |
| 187 | + padding-top: 1.5rem !important; |
187 | 188 | } |
188 | 189 |
|
189 | 190 | .content-panel { |
|
205 | 206 | color: var(--openai-title-color) !important; |
206 | 207 | } |
207 | 208 |
|
| 209 | + .social-icons::after { |
| 210 | + border: none !important; |
| 211 | + } |
| 212 | + |
208 | 213 | .main-pane { |
209 | 214 | background-color: var(--openai-background); |
210 | 215 | border-top-left-radius: 8px; |
|
292 | 297 | } |
293 | 298 |
|
294 | 299 | .right-sidebar-panel { |
295 | | - padding-top: var(--sl-content-pad-x) !important; |
| 300 | + /* padding-top: var(--sl-content-pad-x) !important; */ |
| 301 | + padding-top: 2.5rem !important; |
296 | 302 | } |
297 | 303 |
|
298 | 304 | starlight-toc { |
|
326 | 332 |
|
327 | 333 | .sidebar { |
328 | 334 | --sl-color-hairline-shade: rgba(0, 0, 0, 0) !important; |
| 335 | + |
| 336 | + .sidebar-content { |
| 337 | + padding-top: 2rem; |
| 338 | + } |
| 339 | + |
329 | 340 | a[aria-current='page'] { |
330 | 341 | color: var(--openai-primary) !important; |
331 | 342 | font-weight: 500 !important; |
|
357 | 368 | } |
358 | 369 |
|
359 | 370 | ul.top-level > li > details > summary { |
| 371 | + justify-content: flex-start !important; |
| 372 | + |
360 | 373 | svg { |
361 | 374 | color: var(--openai-nav-category-text) !important; |
| 375 | + align-self: flex-end; |
362 | 376 | } |
363 | 377 |
|
364 | 378 | span { |
|
414 | 428 |
|
415 | 429 | .sl-markdown-content { |
416 | 430 | .expressive-code .ec-line { |
417 | | - line-height: 1.2rem; |
| 431 | + line-height: 0.5rem; |
| 432 | + |
| 433 | + &:has(.code *:is(span)) { |
| 434 | + line-height: 1.2rem; |
| 435 | + } |
418 | 436 | } |
419 | 437 | } |
420 | 438 |
|
|
442 | 460 | .openai-hero-code { |
443 | 461 | margin-bottom: var(--hero-padding); |
444 | 462 | margin-inline-start: calc(var(--hero-padding) - 1rem); |
445 | | - margin-inline-end: var(--hero-padding); |
446 | 463 |
|
447 | 464 | @media (min-width: 72rem) { |
448 | 465 | margin-bottom: 0rem; |
|
456 | 473 | font-size: var(--sl-text-xs); |
457 | 474 | border-radius: 0; |
458 | 475 | &[aria-selected='true'] { |
459 | | - color: var(--openai-primary); |
| 476 | + color: var(--openai-text-primary); |
| 477 | + /* color: var(--openai-primary); */ |
460 | 478 | font-weight: 500; |
461 | 479 | border-bottom: 0; |
462 | 480 | } |
|
476 | 494 | min-width: 15rem; |
477 | 495 |
|
478 | 496 | @media (min-width: 72rem) { |
| 497 | + padding-inline-end: 0; |
479 | 498 | max-width: 20rem; |
480 | 499 | } |
481 | 500 | color: var(--openai-title-color) !important; |
|
0 commit comments