docs/sphinx: Override RTD style

This fixes an issue where clickable references did not make it clear
that they were clickable.
master
Matt Gajownik 2022-06-05 15:42:10 +10:00 committed by Matt Gajownik
parent a1415f4bad
commit 54a9ae2ea1
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,13 @@
/* Override "references as links" style to match standard links.
Example code: :c:func:`OBS_DECLARE_MODULE()` */
a.reference > code.xref > span.pre {
color: #2980b9;
}
a.reference:hover > code.xref > span.pre {
color: #3091d1;
}
a.reference:visited > code.xref > span.pre {
color: #9b59b6;
}

View File

@ -127,6 +127,10 @@ html_context = {
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_css_files = [
'css/custom.css',
]
# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
#