File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ <h3>{{ _('Navigation') }}</h3>
86
86
</ label >
87
87
< nav class ="nav-content " role ="navigation ">
88
88
< a href ="{{ pathto(theme_root_url) }} " class ="nav-logo ">
89
- < img src ="{{ pathto('_static/' + ' py.svg', 1) }} " alt ="Logo "/>
89
+ < img src ="{{ pathto('_static/py.svg', 1) }} " alt ="Logo "/>
90
90
</ a >
91
91
< div class ="version_switcher_placeholder "> </ div >
92
92
{%- if pagename != "search" and builder != "singlehtml" %}
@@ -105,7 +105,7 @@ <h3>{{ _('Navigation') }}</h3>
105
105
< div class ="language_switcher_placeholder "> </ div >
106
106
{%- if logo %}
107
107
< p class ="logo ">
108
- < a href ="{{ pathto(master_doc)|e }} ">
108
+ < a href ="{{ pathto('index') }} ">
109
109
< img class ="logo " src ="{{ pathto('_static/' + logo, 1)|e }} " alt ="Logo "/>
110
110
</ a >
111
111
</ p >
Original file line number Diff line number Diff line change @@ -266,14 +266,19 @@ dl > dt span ~ em {
266
266
top : 0 ;
267
267
height : 40px ;
268
268
width : 100% ;
269
- padding : 0 1rem 0 50 px ;
269
+ padding : 0 1rem 0 45 px ;
270
270
display : flex;
271
271
align-items : center;
272
272
background-color : white;
273
273
}
274
- .nav-content img {
275
- flex : 0 0 auto;
274
+ .nav-logo {
276
275
margin-right : 0.7rem ;
276
+ display : flex;
277
+ flex : 0 0 auto;
278
+ }
279
+ .nav-content img {
280
+ width : 20px ;
281
+ height : auto;
277
282
}
278
283
.version_switcher_placeholder {
279
284
flex : 0 1 0 ;
You can’t perform that action at this time.
0 commit comments