diff --git a/content/styles/404/main.scss b/content/styles/404/main.scss index 3471f68..2d529b8 100644 --- a/content/styles/404/main.scss +++ b/content/styles/404/main.scss @@ -1,3 +1,7 @@ +*, *::before, *::after { + scroll-behavior: smooth !important; +} + body, html { padding: 2.5em; diff --git a/content/styles/clean/index.css b/content/styles/clean/index.css index 0e5a919..d2f31e5 100644 --- a/content/styles/clean/index.css +++ b/content/styles/clean/index.css @@ -8,14 +8,18 @@ box-sizing: border-box; scroll-behavior: smooth; - - -ms-overflow-style: none; - scrollbar-width: none; - color-scheme: dark; } -::-webkit-scrollbar { +*:not(textarea), +*:not(textarea)::after, +*:not(textarea)::before { + -ms-overflow-style: none; + scrollbar-width: none; +} +*:not(textarea)::-webkit-scrollbar, +*:not(textarea)::after::-webkit-scrollbar, +*:not(textarea)::before::-webkit-scrollbar { display: none; } diff --git a/content/styles/editor/main.scss b/content/styles/editor/main.scss index 8ac4a97..f3fb819 100644 --- a/content/styles/editor/main.scss +++ b/content/styles/editor/main.scss @@ -32,10 +32,12 @@ $bg3: lighten($bg2, 10%); height: 100%; padding: 1em; - word-wrap: break-word; - resize: none; + white-space: pre; + overflow-wrap: normal; + overflow: scroll; + outline: none; border: none; diff --git a/content/styles/generic/main.scss b/content/styles/generic/main.scss index 8097f32..ae7f23f 100644 --- a/content/styles/generic/main.scss +++ b/content/styles/generic/main.scss @@ -13,16 +13,10 @@ font-family: $font_default; color: $default_content_colour; - /* scroll-behavior: smooth; */ - -ms-overflow-style: none; /* for Internet Explorer, Edge */ - scrollbar-width: none; /* for Firefox */ + scroll-behavior: auto !important; overflow-y: scroll; } -::-webkit-scrollbar { - display: none; /* for Chrome, Safari, and Opera */ -} - html, body { background-color: $bg_colour; diff --git a/index.html b/index.html index 6264d03..70fe6a9 100644 --- a/index.html +++ b/index.html @@ -24,6 +24,7 @@ + diff --git a/page/reset/index.html b/page/reset/index.html index 7675331..56963d7 100644 --- a/page/reset/index.html +++ b/page/reset/index.html @@ -23,6 +23,10 @@