Spaces:
Sleeping
Sleeping
File size: 5,442 Bytes
4e9e602 | 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 | /* @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) !important;
backdrop-filter: blur(12px);
border-bottom: 1px solid #f1f5f9 !important;
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02) !important;
padding: 0.85rem 2rem;
}
.navbar-brand {
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 700 !important;
font-size: 1.05rem !important;
color: #0f172a !important;
letter-spacing: -0.02em;
}
.navbar-nav .nav-link {
color: #64748b !important; /* slate-500 */
font-size: 0.9rem !important;
font-weight: 500 !important;
padding: 0.25rem 0.8rem !important;
transition: color 0.15s ease-in-out;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
color: #4f46e5 !important; /* Premium Indigo accent */
}
/* Sidebar Styling */
.sidebar {
background-color: #ffffff !important;
border-right: 1px solid #f1f5f9 !important;
padding-top: 2rem;
}
.sidebar-title {
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 700 !important;
color: #475569 !important; /* slate-600 */
font-size: 0.75rem !important;
text-transform: uppercase;
letter-spacing: 0.08em;
margin-bottom: 1rem;
}
.sidebar-link {
color: #64748b !important;
font-size: 0.875rem !important;
font-weight: 500 !important;
padding: 6px 14px !important;
border-radius: 6px;
margin-bottom: 2px;
transition: all 0.15s ease;
}
.sidebar-link:hover {
color: #4f46e5 !important;
background-color: #f8fafc !important;
}
.sidebar-link.active {
color: #4f46e5 !important;
background-color: #e0e7ff !important; /* Soft Indigo background for active item */
font-weight: 600 !important;
}
/* Callout Blocks (Alerts) */
.callout {
border-left: 3px solid #4f46e5 !important;
background-color: #f8fafc !important;
border-radius: 0 8px 8px 0 !important;
border-top: none !important;
border-right: none !important;
border-bottom: none !important;
padding: 1.25rem 1.5rem !important;
margin: 1.75rem 0 !important;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.01) !important;
}
.callout-title {
font-family: "Plus Jakarta Sans", sans-serif;
font-weight: 600 !important;
color: #0f172a !important;
font-size: 0.95rem !important;
margin-bottom: 0.4rem;
}
/* Code block formatting with JetBrains Mono */
pre, code {
font-family: "JetBrains Mono", SFMono-Regular, Consolas, Menlo, monospace !important;
font-size: 0.85rem !important;
background-color: #f8fafc !important;
border: 1px solid #e2e8f0 !important;
border-radius: 6px !important;
}
code {
padding: 2px 6px !important;
color: #0f172a;
font-weight: 500;
}
/* Inline code in regular text should not have heavy borders */
p code {
background-color: #f1f5f9 !important;
border: none !important;
border-radius: 4px !important;
padding: 2px 4px !important;
}
/* Premium Quarto Code Collapse Toggle Button */
.quarto-code-collapse-toggle {
font-family: "Plus Jakarta Sans", sans-serif;
font-size: 0.75rem !important;
font-weight: 600 !important;
color: #475569 !important;
background: #f1f5f9 !important;
border: 1px solid #e2e8f0 !important;
border-radius: 6px !important;
padding: 4px 10px !important;
transition: all 0.15s ease;
}
.quarto-code-collapse-toggle:hover {
color: #ffffff !important;
background: #4f46e5 !important;
border-color: #4f46e5 !important;
}
/* 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);
}
|