mirror of https://github.com/luizdepra/hugo-coder.git

Jian Liew
25.17.2020 6c3a33291178693c31fbfdda663a8586b84a96f6
Moved colour scheme toggle and squashed commits (#433)

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
7 files modified
18 ■■■■ changed files
CONTRIBUTORS.md 1 ●●●● patch | view | raw | blame | history
assets/scss/_base.scss 8 ●●●●● patch | view | raw | blame | history
assets/scss/_navigation.scss 4 ●●●● patch | view | raw | blame | history
layouts/partials/footer.html patch | view | raw | blame | history
layouts/partials/header.html 5 ●●●●● patch | view | raw | blame | history
resources/_gen/assets/scss/scss/coder.scss_5e1eb8e37c42cdfb6215b61e44dcfa5f.content patch | view | raw | blame | history
resources/_gen/assets/scss/scss/coder.scss_5e1eb8e37c42cdfb6215b61e44dcfa5f.json patch | view | raw | blame | history
CONTRIBUTORS.md
@@ -82,5 +82,6 @@
- [Hussaini Zulkifli](https://github.com/hussaini/)
- [Ellison Leão](https://github.com/ellisonleao)
- [Lucas de Oliveira](https://github.com/lucas-dOliveira)
- [Jian Loong Liew](https://github.com/JianLoong)
- [earnest ma](https://github.com/earnestma)
- [TMineCola](https://github.com/tminecola)
assets/scss/_base.scss
@@ -217,3 +217,11 @@
  margin: 0 .05em 0 .1em;
  vertical-align: -0.1em;
}
#dark-mode-toggle {
  bottom: 2rem;
  left: 2rem;
  z-index: 100;
  position: fixed;
  font-size: 1.6em;
}
assets/scss/_navigation.scss
@@ -74,6 +74,10 @@
    margin: 1.7rem 0;
    font-size: 2.4rem;
    line-height: inherit;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
    position: fixed;
  }
  #menu-toggle {
    display: none;
layouts/partials/footer.html
layouts/partials/header.html
@@ -38,11 +38,6 @@
            {{ end }}
          {{ end }}
        {{ end }}
        {{ if not .Site.Params.hidecolorschemetoggle }}
          <li class="navigation-item separator">
            <span>|</span>
          </li>
        {{ end }}
      </ul>
    {{ end }}
  </section>
resources/_gen/assets/scss/scss/coder.scss_5e1eb8e37c42cdfb6215b61e44dcfa5f.content
resources/_gen/assets/scss/scss/coder.scss_5e1eb8e37c42cdfb6215b61e44dcfa5f.json