File tree Expand file tree Collapse file tree 2 files changed +40
-2
lines changed
Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -295,4 +295,23 @@ article main table {
295295
296296html [data-theme = 'dark' ] .corrige {
297297 background-image : radial-gradient (circle at top left, # 0e3852, # 0c5517 );
298- }
298+ }
299+
300+ /* our exercises often do
301+ 1. the thing to do
302+
303+ ```{code-cell} ipython3
304+ # your code
305+ ```
306+
307+ it would be better if we could indent the code cell but if we do, we lose the overall cell structure
308+ as the code cell is then part of the list item, in markdown, and is no longer deemed a code cell by jupyter
309+ */
310+
311+ * + div .group\/block > div .myst-code {
312+ margin-top : 0.3em ;
313+ }
314+
315+ * : has (+ div .group\/block > div .myst-code ) {
316+ margin-bottom : 0.3em ;
317+ }
Original file line number Diff line number Diff line change @@ -294,4 +294,23 @@ article main table {
294294
295295html [data-theme = 'dark' ] .corrige {
296296 background-image : radial-gradient (circle at top left, # 0e3852, # 0c5517 );
297- }
297+ }
298+
299+ /* our exercises often do
300+ 1. the thing to do
301+
302+ ```{code-cell} ipython3
303+ # your code
304+ ```
305+
306+ it would be better if we could indent the code cell but if we do, we lose the overall cell structure
307+ as the code cell is then part of the list item, in markdown, and is no longer deemed a code cell by jupyter
308+ */
309+
310+ * + div .group\/block > div .myst-code {
311+ margin-top : 0.3em ;
312+ }
313+
314+ * : has (+ div .group\/block > div .myst-code ) {
315+ margin-bottom : 0.3em ;
316+ }
You can’t perform that action at this time.
0 commit comments