/* Custom styles for Cline documentation */ /* Make h1 titles lighter in font weight */ h1 { font-weight: 500 !important; } /* Also apply to any h1 elements within content areas */ .content h1, .markdown h1, article h1, main h1 { font-weight: 500 !important; } /* JetBrains logo visibility fix for dark mode */ /* Add a subtle background and border to ensure visibility in both light and dark modes */ img[alt="JetBrains logo"] { background-color: rgba(255, 255, 255, 0.9); border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 8px; padding: 12px; transition: all 0.3s ease; } /* Dark mode specific styling */ [data-theme="dark"] img[alt="JetBrains logo"], .dark img[alt="JetBrains logo"] { background-color: rgba(255, 255, 255, 0.95); border: 1px solid rgba(0, 0, 0, 0.2); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } /* Media query for system dark mode preference */ @media (prefers-color-scheme: dark) { img[alt="JetBrains logo"] { background-color: rgba(255, 255, 255, 0.95); border: 1px solid rgba(0, 0, 0, 0.2); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } } /* Hover effect for better interactivity */ img[alt="JetBrains logo"]:hover { transform: scale(1.02); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }