fixing CSS ERROR
This commit is contained in:
parent
ccb9d832a0
commit
65551f0de7
|
|
@ -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;
|
||||
}
|
||||
*/
|
||||
|
||||
|
|
|
|||
13
src/main.js
13
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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue