Spaces:
Running
Running
/* 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 ; | |
} | |
/* Style for why-it-works and resources accordions */ | |
.technique-why-it-works, | |
.technique-resources { | |
padding: 15px ; | |
border-radius: 8px ; | |
} | |
.technique-why-it-works p, | |
.technique-resources p { | |
color: #4a5568 ; | |
} | |
.technique-resources a { | |
color: #4a5568 ; | |
} | |
/* Keep existing styles for tabs */ | |
.technique-bad-example { | |
background-color: #fffbeb ; | |
border: 1px solid #f0c419 ; | |
} | |
.technique-good-example { | |
background-color: #f8fdf7 ; | |
border: 1px solid #4caf50 ; | |
} | |
.technique-explanation { | |
background-color: #f0f7fc ; | |
border: 1px solid #a3c6e0 ; | |
} | |
/* Style for tab headers */ | |
.technique-bad-example h4 { | |
color: #4a5568 ; | |
} | |
.technique-good-example h4 { | |
color: #4a5568 ; | |
} | |
.technique-explanation h4 { | |
color: #4a5568 ; | |
} | |
/* Add background color to accordion panels and style accordion titles */ | |
.marimo-accordion-panel { | |
background-color: #fff0f0 ; | |
} | |
/* Style for accordion buttons/titles - make them slightly bigger with black text */ | |
.marimo-accordion button { | |
color: #000000 ; | |
font-size: 1.1em ; | |
font-weight: 500 ; | |
background-color: #fff0f0 ; | |
} | |
/* Style for expanded accordion state */ | |
.marimo-accordion [data-state="open"] button { | |
color: #000000 ; | |
background-color: #fff0f0 ; | |
} | |
/* 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 ; | |
} | |
/* Force Garamond on any dynamically created elements */ | |
[class*="marimo"], [id*="marimo"], [class*="mui"], .MuiTypography-root { | |
font-family: 'Garamond', 'EB Garamond', serif ; | |
} |