Custom scrollbar

This commit is contained in:
Hazem Krimi
2023-11-21 17:49:05 +01:00
parent bcf61c1b09
commit 40ec57c634
+21 -3
View File
@@ -34,6 +34,21 @@
margin: 0; margin: 0;
} }
::-webkit-scrollbar {
width: 0;
height: 0;
background: transparent;
}
::-webkit-scrollbar-thumb {
background: transparent;
}
::selection {
background: var(--text);
color: var(--background);
}
body { body {
font-family: 'Open Sans', sans-serif; font-family: 'Open Sans', sans-serif;
font-size: 16px; font-size: 16px;
@@ -47,9 +62,12 @@ body {
user-select: text; user-select: text;
} }
::selection { body::-webkit-scrollbar {
background: var(--text); width: 0.5rem !important;
color: var(--background); }
body::-webkit-scrollbar-thumb {
background-color: var(--text) !important;
} }
#links .linkedin, #links .linkedin,