If you want to increase the font size for the entire slide, then the following css will do the trick (the following css targets the revealJS classes from the parent container all the way down to the slide content)
<style>
.reveal .slides section .slideContent{
font-size: 102pt;
}
</style>
If you want to increase the size of a specific element (e.g., plain text, list items, links, etc.), add the target after .slideContent. For example, let's say I have an unorder list and I want to set the font size of the items to 62pt and change the color to red.
<style>
.reveal .slides section .slideContent ui li{
font-size: 62pt;
color: red;
}
</style>
Full Demo
test
========================================================
author: my name
date: some date
autosize: true
<style>
.reveal .slides section .slideContent ul li{
font-size: 62pt;
color: red;
}
</style>
First Slide
========================================================
For more details on authoring R presentations please visit <https://support.rstudio.com/hc/en-us/articles/200486468>.
- Bullet 1
- Bullet 2
- Bullet 3