updated scrollbar and line numbers

This commit is contained in:
Divyam 2023-10-03 12:36:01 +05:30
parent e6e5b90480
commit bf73b4fc60
2 changed files with 31 additions and 0 deletions

View file

@ -21,6 +21,8 @@
padding-top: 3px;
padding-left: 10px;
padding-right: 10px;
user-select: none;
pointer-events: none;
}
.code {

View file

@ -24,3 +24,32 @@ a {
text-decoration: none;
}
* {
scrollbar-width: thin;
scrollbar-color: var(--bg-color) white;
}
*::-webkit-scrollbar {
width: 12px;
height: 12px;
cursor: default;
}
*::-webkit-scrollbar-track {
background: var(--bg-color);
}
*::-webkit-scrollbar-button {
display: none;
background: var(--bg-color);
}
*::-webkit-scrollbar-corner {
background: var(--bg-color);
}
*::-webkit-scrollbar-thumb {
border: 3px solid black;
border-radius: 6px;
background: rgb(255, 255, 255);
}