Add style to external links in the menu

Should fix QubesOS/qubes-issues#10260
This commit is contained in:
parulin 2025-09-24 06:44:52 -04:00
parent 59488e73ef
commit 409867fcc6
No known key found for this signature in database
GPG key ID: 65099A5B0E31336C
2 changed files with 13 additions and 1 deletions

11
_static/css/custom.css Normal file
View file

@ -0,0 +1,11 @@
.wy-menu.wy-menu-vertical a.reference.external::after {
/* \00a0 = no break space */
content: "\00a0\f08e";
font-family: FontAwesome;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
}

View file

@ -85,7 +85,8 @@ html_theme_options = {
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "/")
html_static_path = ['attachment/doc']
html_static_path = ['attachment/doc', '_static']
html_css_files = ['css/custom.css']
html_use_opensearch = "https://doc.qubes-os.org"