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 -}}"> <html lang="{{- site.Language.Lang -}}">
{{- partial "head.html" . -}} {{- partial "head.html" . -}}
<body> <body>
<input type="checkbox" id="theme-switch" class="theme-switch" autocomplete="on">
<section id="page"> <section id="page">
{{ partial "navbar.html" . }} {{ partial "navbar.html" . }}
<main> <main>

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

@ -197,21 +197,6 @@ html { font-family: 'Inter', sans-serif;}
--opacity-img: var(--light-opacity); --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{ .light{
display:inline; display:inline;
float:right; float:right;