/* custom.css for marimo notebook */ /* Set base font to Garamond for the entire document */ body, #marimo-app *, .marimo-output *, .marimo-markdown *, .marimo-ui-element * { font-family: 'Garamond', 'EB Garamond', serif !important; } /* Style for why-it-works and resources accordions */ .technique-why-it-works, .technique-resources { padding: 15px !important; border-radius: 8px !important; } .technique-why-it-works p, .technique-resources p { color: #4a5568 !important; } .technique-resources a { color: #4a5568 !important; } /* Keep existing styles for tabs */ .technique-bad-example { background-color: #fffbeb !important; border: 1px solid #f0c419 !important; } .technique-good-example { background-color: #f8fdf7 !important; border: 1px solid #4caf50 !important; } .technique-explanation { background-color: #f0f7fc !important; border: 1px solid #a3c6e0 !important; } /* Style for tab headers */ .technique-bad-example h4 { color: #4a5568 !important; } .technique-good-example h4 { color: #4a5568 !important; } .technique-explanation h4 { color: #4a5568 !important; } /* Add background color to accordion panels and style accordion titles */ .marimo-accordion-panel { background-color: #fff0f0 !important; } /* Style for accordion buttons/titles - make them slightly bigger with black text */ .marimo-accordion button { color: #000000 !important; font-size: 1.1em !important; font-weight: 500 !important; background-color: #fff0f0 !important; } /* Style for expanded accordion state */ .marimo-accordion [data-state="open"] button { color: #000000 !important; background-color: #fff0f0 !important; } /* Additional selectors to ensure Garamond is applied everywhere */ input, textarea, button, select, label, a, h1, h2, h3, h4, h5, h6 { font-family: 'Garamond', 'EB Garamond', serif !important; } /* Force Garamond on any dynamically created elements */ [class*="marimo"], [id*="marimo"], [class*="mui"], .MuiTypography-root { font-family: 'Garamond', 'EB Garamond', serif !important; }