docs: html: show "Proxmox Backup" in navi for small devices

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-09-24 19:59:28 +02:00
parent 46114bf28e
commit e8293841c2
2 changed files with 11 additions and 0 deletions

View File

@ -3,4 +3,5 @@
<img class="logo" src="_static/proxmox-logo.svg" alt="Logo"> <img class="logo" src="_static/proxmox-logo.svg" alt="Logo">
</a> </a>
</p> </p>
<h1 class="logo logo-name"><a href="index.html">Proxmox Backup</a></h1>
<hr style="width:100%;"> <hr style="width:100%;">

View File

@ -32,7 +32,17 @@ div.sphinxsidebar form.search {
div.sphinxsidebar h3 { div.sphinxsidebar h3 {
width: 100%; width: 100%;
} }
div.sphinxsidebar h1.logo-name {
display: none;
}
@media screen and (max-width: 875px) { @media screen and (max-width: 875px) {
div.sphinxsidebar p.logo {
display: initial;
}
div.sphinxsidebar h1.logo-name {
display: block;
}
div.sphinxsidebar span { div.sphinxsidebar span {
color: #AAA; color: #AAA;
} }