OTTR Website Style
Customizing Colors & Style
Websites look and are configured differently from courses. Use this cheat sheet for an OTTR website; course style instructions are not interchangeable.
An OTTR website has one color configuration file:
assets/style_config_default.css. Unlike an OTTR course, it
does not have style_config_custom.css.
Use style_config_default.css to customize website color
variables. Commit the change on a new branch and check the pull request
preview.
Open assets/style_config_default.css and update the
variables you want to change:
:root {
--banner-color: #your-color-here;
--button-color: #your-color-here;
}
assets/style_config_default.css in your repository.In _quarto.yml, set the HTML theme to change the
website’s overall color scheme and fonts:
format:
html:
theme: cosmo
See the Quarto HTML themes for available theme options.
resources/images/favicon.ico with your new
file.