Skip to content

Commit feeee57

Browse files
authored
[HTML theme] sphinx13: include the project name in home link (#12700)
1 parent 0cb3c07 commit feeee57

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

doc/_themes/sphinx13/layout.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
<div class="brand">
1515
<a href="{{ pathto(root_doc)|e }}">
1616
<img src="{{ pathto('_static/sphinx-logo.svg', resource=True) }}" alt="logo" />
17+
<span>Sphinx</span>
1718
</a>
18-
<h1>Sphinx</h1>
1919
</div>
2020
<div class="icons">
2121
<a href="https://github.com/sphinx-doc/sphinx" title="{{ _('Source Code') }}" target="_blank">

doc/_themes/sphinx13/static/sphinx13.css

+3-6
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,14 @@ body {
6262
text-decoration: none;
6363
}
6464

65-
.pageheader .brand a {
66-
width: 2em;
67-
}
68-
6965
.pageheader .brand img {
66+
width: 2em;
7067
filter: invert(1) drop-shadow(1px 1px 2px black);
7168
}
7269

73-
.pageheader .brand h1 {
70+
.pageheader .brand span {
7471
color: white;
75-
margin: 0;
72+
margin-left: 0.4em;
7673
font-weight: 400;
7774
font-size: 2em;
7875
line-height: 1;

0 commit comments

Comments
 (0)