diff --git a/docs/static/custom.css b/docs/static/custom.css new file mode 100644 index 0000000..6fd37c2 --- /dev/null +++ b/docs/static/custom.css @@ -0,0 +1,43 @@ +/* + * Didn't find much time to create a theme yet, + * so there are just a few non-default settings for now. + */ +:root, +:root[color-theme="light"] { + --header-background: #222222; + --footer-background: #e6522c; + --footer-link-color: #ffffff; + --footer-link-color-visited: #ffffff; +} + +@media (prefers-color-scheme: light) { + :root { + --header-background: #222222; + --footer-background: #e6522c; + --footer-link-color: #ffffff; + --footer-link-color-visited: #ffffff; + } +} + +:root[color-theme="dark"] +{ + --header-background: #111c24; + --body-background: #1f1f21; + --footer-background: #e6522c; + --footer-link-color: #ffffff; + --footer-link-color-visited: #ffffff; +} + +@media (prefers-color-scheme: dark) { + :root { + --header-background: #111c24; + --body-background: #1f1f21; + --footer-background: #e6522c; + --footer-link-color: #ffffff; + --footer-link-color-visited: #ffffff; + } +} + +.gdoc-markdown pre,.gdoc-markdown code { + overflow: auto; +}