A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
@import "reveal.js/reveal.css";
/* Reveal scales the canvas; responsive rem sizes would reflow its content. */
html:has(.reveal.mo-slides-theme) {
font-size: 100%;
}
/* Neutralize reveal-viewport styles so the slides inherit marimo's defaults */
.reveal-viewport {
background-color: transparent;
color: inherit;
line-height: inherit;
overflow: visible;
height: auto;
}
.reveal-viewport:fullscreen {
background-color: var(--background);
}
.reveal-viewport::backdrop {
background-color: var(--background);
}
/* Ensure .reveal inherits marimo's font/color instead of setting its own */
.mo-slides-theme.reveal {
font-family: inherit;
font-size: inherit;
color: inherit;
}
/* Use marimo's primary color for controls and progress */
.mo-slides-theme.reveal .controls {
color: var(--primary);
}
.mo-slides-theme.reveal .progress {
color: var(--primary);
}
.reveal .slides {
text-align: unset;
}
.reveal .slides > section,
.reveal .slides > section > section {
height: 100%;
}
/* Reveal.js animates slides by rendering past/future neighbors in the layout
and translating them offscreen. Tailwind v4's preflight forces `[hidden]`
elements to `display: none !important`, which collapses those neighbors
and kills the transition. Reasserting `display: block` inside the same
`@layer base` lets selector specificity beat preflight's `[hidden]` rule. */
@layer base {
.reveal .slides > section.past,
.reveal .slides > section.future,
.reveal .slides > section > section.past,
.reveal .slides > section > section.future {
display: block !important;
}
}
/* Without this, the slides will animate as if from the edge of the screen. We hide this unless fullscreen */
.reveal-viewport:not(:fullscreen) {
overflow: hidden;
}
/* Reveal slides can contain multiple blocks on a single subslide (the root
cell plus one or more fragments), so we stack vertically and stretch each
block to full width so its content stays left-aligned like a single cell
would. The base `.mo-slide-content` stays a horizontal shrink-wrap flex for
swiper/minimap, which only ever render one child. */
.reveal .mo-slide-content {
flex-direction: column;
}
.reveal .mo-slide-content .output {
margin: 0;
}
.reveal .marimo-cell .cm-editor {
border-radius: 8px;
padding-right: 10px;
}
.reveal .marimo-cell .cm-panels {
margin-right: 0;
}