doc: import Sphinx theme.css and pygments.css

We want to override the Sphinx theme only partially. So we need to
import the Sphinx theme.css. Cf.
https://docs.readthedocs.io/en/stable/guides/adding-custom-css.html

We also need to import the pygments.css for syntax highlighing.

Use sans-serif for body.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
Heinrich Schuchardt
2024-01-14 14:18:22 +01:00
parent 0c098a5136
commit 479edbaf89

View File

@@ -5,10 +5,13 @@
* work for both normal and dark modes. * work for both normal and dark modes.
*/ */
@import 'css/theme.css';
@import 'pygments.css';
/* Improve contrast and increase size for easier reading. */ /* Improve contrast and increase size for easier reading. */
body { body {
font-family: serif; font-family: sans-serif;
font-size: 100%; font-size: 100%;
} }