Skip to content
Snippets Groups Projects
Commit e6f2be99 authored by Johanna Zijderveld's avatar Johanna Zijderveld
Browse files

Change colours and fix hovers with custom css

parent 47dab141
No related branches found
No related tags found
1 merge request!13Change colours and fix hovers with custom css
html[data-theme="light"] {
--pst-color-primary: rgb(4, 87, 13);
--pst-color-secondary: rgb(66, 96, 150);
--pst-color-border-tippy: rgb(0, 0, 0);
--pst-color-inline-code-links: rgb(4, 87, 13);
--pst-color-link-hover: var(--pst-color-secondary)
}
html[data-theme="dark"] {
--pst-color-primary: rgb(176, 217, 162);
--pst-color-secondary: rgb(125, 166, 244);
--pst-color-border-tippy: white;
--pst-color-inline-code-links: var(--pst-color-primary);
--pst-color-link-hover: var(--pst-color-secondary)
}
.tippy-box {
background-color:var(--pst-color-surface);
color:var(--pst-color-text-base);
border: 1px solid var(--pst-color-border-tippy);
}
......@@ -88,6 +88,7 @@ autoclass_content = "both"
# a list of builtin themes.
#
html_theme = "sphinx_book_theme"
html_title = "PYMF"
html_theme_options = {
"repository_url": "https://gitlab.kwant-project.org/qt/kwant-scf",
......@@ -114,5 +115,5 @@ html_theme_options = {
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = ["_static"]
# html_css_files = ["local.css"]
html_static_path = ["_static"]
html_css_files = ["css/custom.css"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment