mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Change Colorscheme Toggle Button to be floating (#466)
* Moved colour scheme toggle and squashed commits (#433) Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com> * Fix toggle button code * Add built CSS files Co-authored-by: Jian Liew <jianloongliew@gmail.com>
This commit is contained in:
committed by
GitHub
parent
141dedd0c0
commit
acef79480d
@@ -4,11 +4,6 @@
|
||||
{{ .Site.Title }}
|
||||
</a>
|
||||
{{ if or .Site.Menus.main .Site.IsMultiLingual }}
|
||||
{{ if not .Site.Params.hidecolorschemetoggle }}
|
||||
<span id="dark-mode-toggle" class="float-right">
|
||||
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
|
||||
</span>
|
||||
{{ end }}
|
||||
<input type="checkbox" id="menu-toggle" />
|
||||
<label class="menu-button float-right" for="menu-toggle">
|
||||
<i class="fa fa-bars fa-fw" aria-hidden="true"></i>
|
||||
@@ -38,11 +33,6 @@
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if not .Site.Params.hidecolorschemetoggle }}
|
||||
<li class="navigation-item separator">
|
||||
<span>|</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user