| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,6 +37,7 @@ <h3>{{ _('Navigation') }}</h3> | |||
| 37 | 37 | {{ reldelim2 }} | |
| 38 | 38 | </li> | |
| 39 | 39 | {%- endif %} | |
| 40 | + <li class="right"><input type="button" value="Toggle theme" class="theme-toggle" onclick="toggleTheme()">{{ reldelim2 }}</li> | ||
| 40 | 41 | {% endblock %} | |
| 41 | 42 | </ul> | |
| 42 | 43 | </div> | |
@@ -59,16 +60,6 @@ <h3>{{ _('Navigation') }}</h3> | |||
| 59 | 60 | {% block relbar1 %} {% if builder != 'qthelp' %} {{ relbar() }} {% endif %} {% endblock %} | |
| 60 | 61 | {% block relbar2 %} {% if builder != 'qthelp' %} {{ relbar() }} {% endif %} {% endblock %} | |
| 61 | 62 | ||
| 62 | - {% block relbaritems %} | ||
| 63 | - {%- if pagename != "search" and builder != "singlehtml" and builder != "htmlhelp" %} | ||
| 64 | - <li class="right"> | ||
| 65 | - {{ searchbox() }} | ||
| 66 | - {{ reldelim2 }} | ||
| 67 | - </li> | ||
| 68 | - {%- endif %} | ||
| 69 | - <li class="right"><input type="button" value="Toggle theme" class="theme-toggle" onclick="toggleTheme()">{{ reldelim2 }}</li> | ||
| 70 | - {% endblock %} | ||
| 71 | - | ||
| 72 | 63 | {%- block extrahead -%} | |
| 73 | 64 | <link rel="stylesheet" href="{{ pathto('_static/pydoctheme_dark.css', 1) }}" media="(prefers-color-scheme: dark)" id="pydoctheme_dark_css"> | |
| 74 | 65 | <link rel="shortcut icon" type="image/png" href="{{ pathto('_static/' + theme_root_icon, 1) }}" /> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -34,24 +34,23 @@ body { | |||
| 34 | 34 | } | |
| 35 | 35 | ||
| 36 | 36 | div.related { | |
| 37 | + margin-top: 0.5em; | ||
| 37 | 38 | margin-bottom: 1.2em; | |
| 38 | 39 | padding: 0.5em 0; | |
| 39 | - border-top: 1px solid #ccc; | ||
| 40 | - margin-top: 0.5em; | ||
| 40 | + border-width: 1px; | ||
| 41 | + border-color: #ccc; | ||
| 41 | 42 | } | |
| 42 | 43 | ||
| 43 | - div.related a:hover { | ||
| 44 | - color: #0095c4; | ||
| 44 | + .mobile-nav + div.related { | ||
| 45 | + border-bottom-style: solid; | ||
| 45 | 46 | } | |
| 46 | 47 | ||
| 47 | - div.related ~ div.related { | ||
| 48 | - border-top: 1px solid #ccc; | ||
| 49 | - border-bottom: none; | ||
| 48 | + .document + div.related { | ||
| 49 | + border-top-style: solid; | ||
| 50 | 50 | } | |
| 51 | 51 | ||
| 52 | - div.related:first-child { | ||
| 53 | - border-top: 0; | ||
| 54 | - border-bottom: 1px solid #ccc; | ||
| 52 | + div.related a:hover { | ||
| 53 | + color: #0095c4; | ||
| 55 | 54 | } | |
| 56 | 55 | ||
| 57 | 56 | .related .switchers { | |
@@ -62,13 +61,6 @@ div.related:first-child { | |||
| 62 | 61 | margin-right: 5px; | |
| 63 | 62 | } | |
| 64 | 63 | ||
| 65 | - .version_switcher_placeholder, | ||
| 66 | - .language_switcher_placeholder { | ||
| 67 | - padding-left: 5px; | ||
| 68 | - background-color: white; | ||
| 69 | - } | ||
| 70 | - | ||
| 71 | - | ||
| 72 | 64 | div.related ul::after { | |
| 73 | 65 | content: ''; | |
| 74 | 66 | clear: both; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,12 +13,7 @@ body { | |||
| 13 | 13 | ||
| 14 | 14 | div.related { | |
| 15 | 15 | color: rgba(255, 255, 255, 0.7); /* classic overwrite */ | |
| 16 | - border-top-color: #424242; | ||
| 17 | - } | ||
| 18 | - | ||
| 19 | - div.related:first-child { | ||
| 20 | - /* use :first-child because border-color would need !important */ | ||
| 21 | - border-bottom-color: #424242; | ||
| 16 | + border-color: #424242; | ||
| 22 | 17 | } | |
| 23 | 18 | ||
| 24 | 19 | /* SIDEBAR */ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments