damianavila / RISE

RISE: "Live" Reveal.js Jupyter/IPython Slideshow Extension
Other
3.66k stars 414 forks source link

Is it possible to add extra margin at the bottom with custom css? #599

Open canyon289 opened 2 years ago

canyon289 commented 2 years ago

Hi, Is it possible add extra margin so the slides scroll farther? This way the content at the end ends up being more "in the middle" when at the bottom?

image

I tried using this CSS but it messes up the centering of content on non scroll slides. Curious if there is a better way.

Thanks in advance!

#notebook-container{
    /*margin-top: 100px;
    --margin-bottom: 100px*/
}
damianavila commented 2 years ago

It should be possible to use some of the reveal.js inherited configuration options to set up a bigger margin.

Check out this section about setting options in the notebook metadata and try it: https://rise.readthedocs.io/en/stable/customize.html#notebook-metadata

Let us know how it goes 😉.