[HTML theme] sphinx13: include the project name in home link (#12700)

This commit is contained in:
Tim Hoffmann
2024-07-28 09:50:48 +02:00
committed by GitHub
parent 0cb3c07506
commit feeee57dbe
2 changed files with 4 additions and 7 deletions

View File

@@ -14,8 +14,8 @@
<div class="brand">
<a href="{{ pathto(root_doc)|e }}">
<img src="{{ pathto('_static/sphinx-logo.svg', resource=True) }}" alt="logo" />
<span>Sphinx</span>
</a>
<h1>Sphinx</h1>
</div>
<div class="icons">
<a href="https://github.com/sphinx-doc/sphinx" title="{{ _('Source Code') }}" target="_blank">

View File

@@ -62,17 +62,14 @@ body {
text-decoration: none;
}
.pageheader .brand a {
width: 2em;
}
.pageheader .brand img {
width: 2em;
filter: invert(1) drop-shadow(1px 1px 2px black);
}
.pageheader .brand h1 {
.pageheader .brand span {
color: white;
margin: 0;
margin-left: 0.4em;
font-weight: 400;
font-size: 2em;
line-height: 1;