|
| 1 | +/* Override logo height */ |
| 2 | +.nav-logo { |
| 3 | + height: 2.4rem !important; |
| 4 | +} |
| 5 | + |
| 6 | +/* Target logo images specifically */ |
| 7 | +img[src*="/img/light.svg"], |
| 8 | +img[src*="/img/dark.svg"] { |
| 9 | + height: 2.4rem !important; |
| 10 | +} |
| 11 | + |
| 12 | +/* Override Tailwind h-6 class specifically for logo */ |
| 13 | +.nav-logo.h-6, |
| 14 | +.h-6[src*="/img/"] { |
| 15 | + height: 2.4rem !important; |
| 16 | +} |
| 17 | + |
| 18 | +/* More specific targeting for Mintlify logo classes */ |
| 19 | +.w-auto.relative.object-contain.hidden.dark\:block.px-1.h-6.max-w-48, |
| 20 | +.w-auto.relative.object-contain.block.dark\:hidden.px-1.h-6.max-w-48 { |
| 21 | + height: 2.4rem !important; |
| 22 | +} |
| 23 | + |
| 24 | +/* Override link colors to match grayscale theme */ |
| 25 | +a, |
| 26 | +.prose a, |
| 27 | +main a, |
| 28 | +[data-testid="main-content"] a { |
| 29 | + color: #999 !important; |
| 30 | +} |
| 31 | + |
| 32 | +a:hover, |
| 33 | +.prose a:hover, |
| 34 | +main a:hover, |
| 35 | +[data-testid="main-content"] a:hover { |
| 36 | + color: #FFF !important; |
| 37 | +} |
| 38 | + |
| 39 | +/* Apply styling to all images in docs */ |
| 40 | +main img, |
| 41 | +.prose img, |
| 42 | +[data-testid="main-content"] img, |
| 43 | +.content img { |
| 44 | + margin: 24px 0 !important; |
| 45 | + border-radius: 8px !important; |
| 46 | +} |
| 47 | + |
| 48 | +/* Apply same styling to videos in docs */ |
| 49 | +main video, |
| 50 | +.prose video, |
| 51 | +[data-testid="main-content"] video, |
| 52 | +.content video { |
| 53 | + margin: 24px 0 !important; |
| 54 | + border-radius: 8px !important; |
| 55 | +} |
| 56 | + |
| 57 | +/* Make table headers left-aligned */ |
| 58 | +main th, |
| 59 | +.prose th, |
| 60 | +[data-testid="main-content"] th, |
| 61 | +.content th { |
| 62 | + text-align: left !important; |
| 63 | +} |
| 64 | + |
| 65 | +/* Hide only the Powered by Mintlify attribution in footer */ |
| 66 | +[data-testid="footer-powered-by"], |
| 67 | +footer a[href*="mintlify.com"], |
| 68 | +footer a[href*="//mintlify.com"], |
| 69 | +footer a[href^="https://mintlify"], |
| 70 | +footer a[href^="http://mintlify"], |
| 71 | +footer a[href*="mintlify.app"], |
| 72 | +footer a[href*="mintcdn.com"][aria-label*="Mintlify"], |
| 73 | +footer [aria-label*="Powered by Mintlify"], |
| 74 | +footer [aria-label="Powered by Mintlify"] { |
| 75 | + display: none !important; |
| 76 | +} |
| 77 | + |
| 78 | +/* Preserve footer layout even if attribution is removed */ |
| 79 | +footer [data-testid="footer-powered-by"] + *, |
| 80 | +footer a[href*="mintlify.com"] + * { |
| 81 | + margin-left: 0 !important; |
| 82 | +} |
0 commit comments