From 54bf6113bc1e9a055bcdcd2029fb3a499858adf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Thu, 2 Aug 2018 09:19:57 +0200 Subject: [PATCH] Align switch to vertical center --- doc/html-template.qdocconf | 10 ++++++---- doc/main-dark.css | 7 +++++++ doc/main.css | 7 +++++++ 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/doc/html-template.qdocconf b/doc/html-template.qdocconf index df636c98..5c9e194b 100644 --- a/doc/html-template.qdocconf +++ b/doc/html-template.qdocconf @@ -21,10 +21,12 @@ HTML.postheader = \ "
  • API
  • \n" \ "
  • Write Plugins
  • \n" \ "
  • \n" \ - " \n" \ + "
    \n" \ + " \n" \ + "
    \n" \ "
  • \n" \ " \n" \ " \n" \ diff --git a/doc/main-dark.css b/doc/main-dark.css index 4cdbcab2..c4fec945 100644 --- a/doc/main-dark.css +++ b/doc/main-dark.css @@ -1004,6 +1004,13 @@ div.footer p { } } +.switchAligner { + min-height: 100px; + display: flex; + align-items: center; + justify-content: center; +} + .switch { position: relative; display: inline-block; diff --git a/doc/main.css b/doc/main.css index af3edc21..e9de0c17 100644 --- a/doc/main.css +++ b/doc/main.css @@ -1011,6 +1011,13 @@ div.footer p { height: 34px; } +.switchAligner { + min-height: 100px; + display: flex; + align-items: center; + justify-content: center; +} + .switch input {display:none;} .slider {