diff --git a/docs/config/_default/config.toml b/docs/config/_default/config.toml index 0314232e90f..c0c5bea05e7 100644 --- a/docs/config/_default/config.toml +++ b/docs/config/_default/config.toml @@ -38,7 +38,7 @@ theme = "learn" # Order sections in menu by "weight" or "title". Default to "weight" ordersectionsby = "weight" # Provide a list of custom css files to load relative from the `static/` folder in the site root. - custom_css = ["css/labels.css", "css/shadow-around-images.css", "css/table-of-contents.css"] + custom_css = ["css/chapters.css", "css/labels.css", "css/shadow-around-images.css", "css/table-of-contents.css"] [outputs] home = ["HTML", "RSS", "JSON"] diff --git a/docs/static/css/chapters.css b/docs/static/css/chapters.css new file mode 100644 index 00000000000..4df40c79507 --- /dev/null +++ b/docs/static/css/chapters.css @@ -0,0 +1,4 @@ +#chapter h2 ~ p { + text-align: left; + font-size: 1rem; +}