From e8293841c26dc93abd5ed918641b770381ab552f Mon Sep 17 00:00:00 2001
From: Thomas Lamprecht
Date: Thu, 24 Sep 2020 19:59:28 +0200
Subject: [PATCH] docs: html: show "Proxmox Backup" in navi for small devices
Signed-off-by: Thomas Lamprecht
---
docs/_templates/sidebar-header.html | 1 +
docs/custom.css | 10 ++++++++++
2 files changed, 11 insertions(+)
diff --git a/docs/_templates/sidebar-header.html b/docs/_templates/sidebar-header.html
index c695c856..61a381d0 100644
--- a/docs/_templates/sidebar-header.html
+++ b/docs/_templates/sidebar-header.html
@@ -3,4 +3,5 @@
+
diff --git a/docs/custom.css b/docs/custom.css
index 386ad72f..7e94e0c7 100644
--- a/docs/custom.css
+++ b/docs/custom.css
@@ -32,7 +32,17 @@ div.sphinxsidebar form.search {
div.sphinxsidebar h3 {
width: 100%;
}
+
+div.sphinxsidebar h1.logo-name {
+ display: none;
+}
@media screen and (max-width: 875px) {
+ div.sphinxsidebar p.logo {
+ display: initial;
+ }
+ div.sphinxsidebar h1.logo-name {
+ display: block;
+ }
div.sphinxsidebar span {
color: #AAA;
}