OTTR Course Style
Customizing
Colors & Style
Two CSS files separate OTTR’s defaults from your course customizations:
style_config_default.cssGets synced from OTTR
style.css references
themstyle_config_custom.cssNot synced
Edit assets/style_config_custom.css to override only the
variables you want to change:
:root {
--link-color: #a1005a;
--accent-color: #6e0040;
--highlight-color: #e754a6;
--caption-color: #4a4a4a;
--background-color: #ffffff;
--callout-background-color: #f6e9f1;
}
assets/style_config_custom.css in your repository.
Variables not set in style_config_custom.css continue
to use the defaults in style_config_default.css.
Default colors
Changed colors
Style sets are an alternative to changing CSS variables. If you use a
style set, changes to style_config_default.css will not
affect that style set.
style-sets/ directory,
such as itcr or data-trail.style-sets/<set-name>/copy-to-assets into the
top-level assets/ folder of your repository.