docs: update docs template to v0.6.3

close #757
This commit is contained in:
aquint-zama
2021-10-27 16:08:41 +02:00
committed by Arthur Meyre
parent ce17767288
commit 86b6137fcb
3 changed files with 8 additions and 3 deletions

View File

@@ -134,6 +134,12 @@ input[type=color], input[type=date], input[type=datetime-local], input[type=date
.rst-versions {
font-family: var(--primary-font);
}
/* fix version link color */
.rst-versions a {
color: var(--primary-color);
}
/* fix version fa-caret-down empty space on click */
.rst-versions.shift-up {
overflow-y: unset;

View File

@@ -16,7 +16,7 @@
<!DOCTYPE html>
<html class="{{ sphinx_writer }}" lang="{{ lang_attr }}" >
<head>
<!-- theme v0.6.2 -->
<!-- theme v0.6.3 -->
<link href="https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700&display=swap" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/js-cookie@rc/dist/js.cookie.min.js"></script>

View File

@@ -2,7 +2,6 @@
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions">
<span class="rst-current-version" data-toggle="rst-current-version">
<span class="fa fa-book"> {{ project }} </span>
{{ version_name }}
<a href="{{ versions_url }}"><span class="fa fa-caret-down"></span></a>
<a href="{{ versions_url }}">{{ version_name }} <span class="fa fa-caret-down"></span></a>
</span>
</div>