From cd0429f8dd92025d64812ded7ea3eea32c2f7e4f Mon Sep 17 00:00:00 2001 From: neofelis2X Date: Thu, 23 Jan 2025 03:16:43 +0100 Subject: [PATCH] Docs: small fixes for css and templates --- docs/sphinx/_static/css/phoenix.css | 16 ++++++++++++---- docs/sphinx/_templates/searchbox.html | 14 +++++++------- docs/sphinx/_templates/sourcelink.html | 10 ++++++---- 3 files changed, 25 insertions(+), 15 deletions(-) diff --git a/docs/sphinx/_static/css/phoenix.css b/docs/sphinx/_static/css/phoenix.css index bb6e0c6f..bc230e93 100644 --- a/docs/sphinx/_static/css/phoenix.css +++ b/docs/sphinx/_static/css/phoenix.css @@ -144,9 +144,8 @@ div#searchbox { div#sourcelink { position: absolute; - bottom: 0; - font-style: italic; - font-size: small; + bottom: 0.2rem; + left: 0.5rem; } div.related { @@ -551,9 +550,10 @@ cite, code, tt { letter-spacing: 0.01em; } -code.descname, code.descclassname, span.sig-name { +code.descname, code.descclassname, span.sig-name, span.sig-prename { font-weight: bold; } + a.headerlink { color: #c60f0f; font-size: 0.8em; @@ -755,6 +755,14 @@ table.contentstable p.mybiglink { line-height: 150%; } +hr { + color: #ccc; + background-color: #ccc; + height: 1px; + border: none; + margin-bottom: 0.7rem; +} + hr.overloadsep { color: #0000FF; background-color: #0000FF; diff --git a/docs/sphinx/_templates/searchbox.html b/docs/sphinx/_templates/searchbox.html index e9c86019..30459536 100644 --- a/docs/sphinx/_templates/searchbox.html +++ b/docs/sphinx/_templates/searchbox.html @@ -8,14 +8,14 @@ :license: BSD, see LICENSE for details. #} {%- if pagename != "search" and builder != "singlehtml" %} - + + {%- endif %} diff --git a/docs/sphinx/_templates/sourcelink.html b/docs/sphinx/_templates/sourcelink.html index 2692973e..25ce54a9 100644 --- a/docs/sphinx/_templates/sourcelink.html +++ b/docs/sphinx/_templates/sourcelink.html @@ -8,8 +8,10 @@ :license: BSD, see LICENSE for details. #} {%- if show_source and has_source and sourcename %} - + {%- endif %}