Skip to content

Commit 6dbfe29

Browse files
committed
fix: remove heading font-size overrides so marimo markdown and ddp-header h1 sizes match
1 parent 0f1d14f commit 6dbfe29

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

notebooks/styles/_insights.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
margin-bottom: 8px;
1919
}
2020
.ddp-header h1 {
21-
font-size: 1.5em;
21+
font-size: 2.25em;
2222
font-weight: 600;
2323
color: var(--ddp-text);
2424
letter-spacing: -0.02em;

notebooks/styles/base.css

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,26 +66,20 @@ body {
6666
* Tight letter-spacing for a modern, dense feel. .prose targets marimo's
6767
* Tailwind Typography wrapper around markdown output. */
6868
h1, .prose h1 {
69-
font-size: 1.5em !important;
7069
font-weight: 600 !important;
7170
line-height: 1.25 !important;
7271
letter-spacing: -0.02em !important;
73-
margin: 0 0 0.4em !important;
7472
color: var(--ddp-text) !important;
7573
}
7674
h2, .prose h2 {
77-
font-size: 1.2em !important;
7875
font-weight: 600 !important;
7976
line-height: 1.3 !important;
8077
letter-spacing: -0.01em !important;
81-
margin: 1.25em 0 0.35em !important;
8278
color: var(--ddp-text) !important;
8379
}
8480
h3, .prose h3 {
85-
font-size: 1.05em !important;
8681
font-weight: 600 !important;
8782
line-height: 1.35 !important;
88-
margin: 1em 0 0.25em !important;
8983
color: var(--ddp-text) !important;
9084
}
9185

@@ -225,10 +219,6 @@ select, button, input {
225219

226220
/* === Mobile: Tablet === */
227221
@media (max-width: 768px) {
228-
h1, .prose h1 { font-size: 1.3em !important; }
229-
h2, .prose h2 { font-size: 1.1em !important; }
230-
h3, .prose h3 { font-size: 1em !important; }
231-
232222
#root {
233223
padding-left: 12px !important;
234224
padding-right: 12px !important;
@@ -247,8 +237,6 @@ select, button, input {
247237

248238
/* === Mobile: Phone === */
249239
@media (max-width: 480px) {
250-
h1, .prose h1 { font-size: 1.2em !important; }
251-
252240
.marimo-output .flex-row {
253241
flex-direction: column !important;
254242
gap: 0.5rem !important;

0 commit comments

Comments
 (0)