From 017c73d71bac7adaadd2cb3073b1f300cd1fd606 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Thu, 21 May 2020 12:33:07 +0000
Subject: [PATCH] Increased Switcher
---
layouts/partials/navbar.html | 4 ++--
assets/css/style.css | 7 +++++++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/assets/css/style.css b/assets/css/style.css
index 460bd52..3e51f24 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -200,6 +200,13 @@
padding-bottom: 22px;
border-bottom: 1px solid var(--nav-text-color);
}
+.page-top .themeswitcher {
+ list-style: none;
+ padding: 18px 30px;
+ float: right;
+ font-size: 20px;
+
+}
.page-top .information {
float: right;
padding-top: 12px;
diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html
index 146bbaf..cae76f2 100644
--- a/layouts/partials/navbar.html
+++ b/layouts/partials/navbar.html
@@ -5,10 +5,10 @@
<li><a {{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}class="current"{{end}} href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a></li>
{{ end }}
- <li>
+ </div>
+ <div class="themeswitcher">
<a class="theme-switch" title="Switch Theme">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</a>
- </li>
</div>
</div>
\ No newline at end of file
--
Gitblit v1.10.0