Browse Source

removing theme switcher

master
jk 4 years ago
parent
commit
29bfeb3fad
  1. 1
      themes/nipponalba/layouts/_default/baseof.html
  2. 15
      themes/nipponalba/static/css/style.css

1
themes/nipponalba/layouts/_default/baseof.html

@ -2,7 +2,6 @@
<html lang="{{- site.Language.Lang -}}">
{{- partial "head.html" . -}}
<body>
<input type="checkbox" id="theme-switch" class="theme-switch" autocomplete="on">
<section id="page">
{{ partial "navbar.html" . }}
<main>

15
themes/nipponalba/static/css/style.css

@ -197,21 +197,6 @@ html { font-family: 'Inter', sans-serif;}
--opacity-img: var(--light-opacity);
}
/* Switched mode */
.theme-switch:checked ~ *,
.theme-switch:checked + *,
.theme-switch:checked + * + *
.theme-switch:checked + * + * + *{
--text-colour:var(--light-text);
--bg-colour:var(--light-bg);
--link-colour:var(--light-link);
--opacity-img: var(--light-opacity);
}
.theme-switch{
display:none;
}
.light{
display:inline;
float:right;