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:
Luiz F. A. de Prá
2020-10-28 21:37:28 -03:00
committed by GitHub
parent 141dedd0c0
commit acef79480d
14 changed files with 70 additions and 16 deletions

View File

@@ -0,0 +1,7 @@
{{ if not .Site.Params.hidecolorschemetoggle }}
<div class="float-container">
<a id="dark-mode-toggle" class="colorscheme-toggle">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</a>
</div>
{{ end }}