From 6f8edf1ffa88129a26eddf508e5d1833b86e486e Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Fri, 12 Feb 2021 10:48:04 +0530 Subject: change theme-switch from 'a' to 'button' and refactor --- assets/css/header.css | 8 +++----- assets/css/reset.css | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'assets/css') diff --git a/assets/css/header.css b/assets/css/header.css index 910e98c..beaf5bd 100644 --- a/assets/css/header.css +++ b/assets/css/header.css @@ -40,11 +40,9 @@ height: 18px; } -a#theme-toggle { - font-size: 24px; - user-select: none; - margin: auto 4px; - cursor: pointer +button#theme-toggle { + font-size: 26px; + margin: auto 4px } body.dark #moon { diff --git a/assets/css/reset.css b/assets/css/reset.css index 4b8e09f..ee8e77b 100644 --- a/assets/css/reset.css +++ b/assets/css/reset.css @@ -10,6 +10,7 @@ html { } a, +button, body, h1, h2, -- cgit v1.2.3