]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
doc: import Sphinx theme.css and pygments.css
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 14 Jan 2024 13:18:22 +0000 (14:18 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 17 Jan 2024 07:40:19 +0000 (08:40 +0100)
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>
doc/sphinx-static/theme_overrides.css

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