From 65551f0de71db7a0f3015cb395300ae6d76b657a Mon Sep 17 00:00:00 2001 From: Patricio Gonzalez Vivo Date: Fri, 21 Oct 2022 09:45:47 -0400 Subject: [PATCH] fixing CSS ERROR --- css/style.css | 5 ++--- src/main.js | 13 ++++++------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/css/style.css b/css/style.css index c96ad25..31e80ac 100644 --- a/css/style.css +++ b/css/style.css @@ -69,7 +69,6 @@ a { text-decoration: none; color: #555; border-bottom: 1px solid #ccc; - -webkit-transition: all ease-out 0.2s; } img { @@ -375,7 +374,7 @@ code { /* Theme Switcher * --------------------------------- * */ -/* + .themeSwitcher { appearance: none; background: none; @@ -406,4 +405,4 @@ code { [data-theme='dark'] img:hover { opacity: 1; } - */ + diff --git a/src/main.js b/src/main.js index e31da1b..d0cfd8d 100644 --- a/src/main.js +++ b/src/main.js @@ -301,13 +301,12 @@ function enableThemeSwitcher() { } window.addEventListener("load", function(){ - // enableThemeSwitcher(); - // window.scrollTo(0, 0); + enableThemeSwitcher(); styleCodeBlocks(); loadGlslElements(); - // captionizeImages(); - // window.scrollTo(0, 0); - // setTimeout(function () { - // window.scrollTo(0, 0); - // }, 500); + captionizeImages(); + window.scrollTo(0, 0); + setTimeout(function () { + window.scrollTo(0, 0); + }, 500); });