I'm using Yihui's awesome package xaringan
to build html slides, and this might be a very simple question for those who are familiar with xaringan
or css:
I can't figure out how to set the font size of all slides. I tried to define the font-size
in a customized css, something like body{font-size: 200%}
or body{font-size: xx-large}
, and call it in the YAML:
output:
xaringan::moon_reader:
css: [custom.css]
Nothing changed.
I know I can use the .large
class to change the size of a certain amount of words and use class: large
at the beginning of a slide to change the body font for the entire page. But, is there a way to avoid pasting class:large
to every slide I build but set the font size all at once? Any suggestion will be appreciated!