Spaces:
Sleeping
Sleeping
| /* @import Google Fonts for crisp, premium typography */ | |
| @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap'); | |
| body { | |
| font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; | |
| color: #334155; /* slate-700 for smooth, highly readable text */ | |
| background-color: #ffffff; | |
| line-height: 1.65; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| } | |
| /* Headings with premium geometric Plus Jakarta Sans font and tight letter spacing */ | |
| h1, h2, h3, h4, h5, h6 { | |
| font-family: "Plus Jakarta Sans", sans-serif; | |
| color: #0f172a; /* slate-900 */ | |
| font-weight: 600; | |
| letter-spacing: -0.025em; | |
| margin-top: 2rem; | |
| margin-bottom: 0.9rem; | |
| } | |
| h1 { | |
| font-weight: 700; | |
| font-size: 2.4rem; | |
| letter-spacing: -0.03em; | |
| border-bottom: none; | |
| margin-top: 1rem; | |
| margin-bottom: 1.8rem; | |
| background: linear-gradient(135deg, #0f172a 30%, #475569 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| h2 { | |
| font-size: 1.5rem; | |
| font-weight: 600; | |
| border-bottom: 1px solid #f1f5f9; | |
| padding-bottom: 0.5rem; | |
| letter-spacing: -0.02em; | |
| } | |
| h3 { | |
| font-size: 1.2rem; | |
| font-weight: 500; | |
| letter-spacing: -0.015em; | |
| } | |
| /* Paragraph spacing */ | |
| p { | |
| margin-bottom: 1.25rem; | |
| } | |
| /* Minimalist premium Navbar */ | |
| .navbar { | |
| background-color: rgba(255, 255, 255, 0.9) ; | |
| backdrop-filter: blur(12px); | |
| border-bottom: 1px solid #f1f5f9 ; | |
| box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02) ; | |
| padding: 0.85rem 2rem; | |
| } | |
| .navbar-brand { | |
| font-family: "Plus Jakarta Sans", sans-serif; | |
| font-weight: 700 ; | |
| font-size: 1.05rem ; | |
| color: #0f172a ; | |
| letter-spacing: -0.02em; | |
| } | |
| .navbar-nav .nav-link { | |
| color: #64748b ; /* slate-500 */ | |
| font-size: 0.9rem ; | |
| font-weight: 500 ; | |
| padding: 0.25rem 0.8rem ; | |
| transition: color 0.15s ease-in-out; | |
| } | |
| .navbar-nav .nav-link:hover, | |
| .navbar-nav .nav-link.active { | |
| color: #4f46e5 ; /* Premium Indigo accent */ | |
| } | |
| /* Sidebar Styling */ | |
| .sidebar { | |
| background-color: #ffffff ; | |
| border-right: 1px solid #f1f5f9 ; | |
| padding-top: 2rem; | |
| } | |
| .sidebar-title { | |
| font-family: "Plus Jakarta Sans", sans-serif; | |
| font-weight: 700 ; | |
| color: #475569 ; /* slate-600 */ | |
| font-size: 0.75rem ; | |
| text-transform: uppercase; | |
| letter-spacing: 0.08em; | |
| margin-bottom: 1rem; | |
| } | |
| .sidebar-link { | |
| color: #64748b ; | |
| font-size: 0.875rem ; | |
| font-weight: 500 ; | |
| padding: 6px 14px ; | |
| border-radius: 6px; | |
| margin-bottom: 2px; | |
| transition: all 0.15s ease; | |
| } | |
| .sidebar-link:hover { | |
| color: #4f46e5 ; | |
| background-color: #f8fafc ; | |
| } | |
| .sidebar-link.active { | |
| color: #4f46e5 ; | |
| background-color: #e0e7ff ; /* Soft Indigo background for active item */ | |
| font-weight: 600 ; | |
| } | |
| /* Callout Blocks (Alerts) */ | |
| .callout { | |
| border-left: 3px solid #4f46e5 ; | |
| background-color: #f8fafc ; | |
| border-radius: 0 8px 8px 0 ; | |
| border-top: none ; | |
| border-right: none ; | |
| border-bottom: none ; | |
| padding: 1.25rem 1.5rem ; | |
| margin: 1.75rem 0 ; | |
| box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.01) ; | |
| } | |
| .callout-title { | |
| font-family: "Plus Jakarta Sans", sans-serif; | |
| font-weight: 600 ; | |
| color: #0f172a ; | |
| font-size: 0.95rem ; | |
| margin-bottom: 0.4rem; | |
| } | |
| /* Code block formatting with JetBrains Mono */ | |
| pre, code { | |
| font-family: "JetBrains Mono", SFMono-Regular, Consolas, Menlo, monospace ; | |
| font-size: 0.85rem ; | |
| background-color: #f8fafc ; | |
| border: 1px solid #e2e8f0 ; | |
| border-radius: 6px ; | |
| } | |
| code { | |
| padding: 2px 6px ; | |
| color: #0f172a; | |
| font-weight: 500; | |
| } | |
| /* Inline code in regular text should not have heavy borders */ | |
| p code { | |
| background-color: #f1f5f9 ; | |
| border: none ; | |
| border-radius: 4px ; | |
| padding: 2px 4px ; | |
| } | |
| /* Premium Quarto Code Collapse Toggle Button */ | |
| .quarto-code-collapse-toggle { | |
| font-family: "Plus Jakarta Sans", sans-serif; | |
| font-size: 0.75rem ; | |
| font-weight: 600 ; | |
| color: #475569 ; | |
| background: #f1f5f9 ; | |
| border: 1px solid #e2e8f0 ; | |
| border-radius: 6px ; | |
| padding: 4px 10px ; | |
| transition: all 0.15s ease; | |
| } | |
| .quarto-code-collapse-toggle:hover { | |
| color: #ffffff ; | |
| background: #4f46e5 ; | |
| border-color: #4f46e5 ; | |
| } | |
| /* TOC (Table of Contents) Styling */ | |
| #TOC { | |
| border-left: 1px solid #f1f5f9; | |
| padding-left: 1rem; | |
| } | |
| #TOC li a { | |
| color: #64748b; | |
| font-size: 0.85rem; | |
| transition: color 0.15s ease; | |
| } | |
| #TOC li a:hover, #TOC li a.active { | |
| color: #4f46e5; | |
| } | |
| /* Mermaid graph styling refinements */ | |
| .mermaid { | |
| background: #ffffff; | |
| padding: 1.5rem; | |
| border: 1px solid #f1f5f9; | |
| border-radius: 8px; | |
| box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02); | |
| } | |