mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 17:49:24 +01:00
Improve the wedditor and generic css
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
bec81d7a33
commit
a326846854
6 changed files with 23 additions and 14 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
*, *::before, *::after {
|
||||||
|
scroll-behavior: smooth !important;
|
||||||
|
}
|
||||||
|
|
||||||
body,
|
body,
|
||||||
html {
|
html {
|
||||||
padding: 2.5em;
|
padding: 2.5em;
|
||||||
|
|
|
@ -8,14 +8,18 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
|
|
||||||
-ms-overflow-style: none;
|
|
||||||
scrollbar-width: none;
|
|
||||||
|
|
||||||
color-scheme: dark;
|
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;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,10 +32,12 @@ $bg3: lighten($bg2, 10%);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
|
||||||
word-wrap: break-word;
|
|
||||||
|
|
||||||
resize: none;
|
resize: none;
|
||||||
|
|
||||||
|
white-space: pre;
|
||||||
|
overflow-wrap: normal;
|
||||||
|
overflow: scroll;
|
||||||
|
|
||||||
outline: none;
|
outline: none;
|
||||||
border: none;
|
border: none;
|
||||||
|
|
||||||
|
|
|
@ -13,16 +13,10 @@
|
||||||
font-family: $font_default;
|
font-family: $font_default;
|
||||||
color: $default_content_colour;
|
color: $default_content_colour;
|
||||||
|
|
||||||
/* scroll-behavior: smooth; */
|
scroll-behavior: auto !important;
|
||||||
-ms-overflow-style: none; /* for Internet Explorer, Edge */
|
|
||||||
scrollbar-width: none; /* for Firefox */
|
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
|
||||||
display: none; /* for Chrome, Safari, and Opera */
|
|
||||||
}
|
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
background-color: $bg_colour;
|
background-color: $bg_colour;
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
<link rel="stylesheet" href="/content/styles/boot/main.min.css" />
|
<link rel="stylesheet" href="/content/styles/boot/main.min.css" />
|
||||||
<link rel="stylesheet" href="/content/styles/shell/main.min.css" />
|
<link rel="stylesheet" href="/content/styles/shell/main.min.css" />
|
||||||
<link rel="stylesheet" href="/content/styles/editor/main.min.css" />
|
<link rel="stylesheet" href="/content/styles/editor/main.min.css" />
|
||||||
|
<link rel="stylesheet" href="/content/styles/clean/index.css" />
|
||||||
|
|
||||||
<link rel="manifest" href="/manifest.json" />
|
<link rel="manifest" href="/manifest.json" />
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,10 @@
|
||||||
<link rel="stylesheet" href="/content/styles/noscript/index.css" />
|
<link rel="stylesheet" href="/content/styles/noscript/index.css" />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
*, *::before, *::after {
|
||||||
|
scroll-behavior: smooth !important;
|
||||||
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
|
|
Loading…
Add table
Reference in a new issue