mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Custom scrollbar
This commit is contained in:
+21
-3
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user