#1 Fixed scrollbar
parent
9e0cdcc9b0
commit
2c92a45080
|
@ -1,7 +1,44 @@
|
|||
/* Colors */
|
||||
:root {
|
||||
--lightgray: #e0e0e0;
|
||||
--gray: #888;
|
||||
--darkgray: #020202;
|
||||
--purple: #a8d;
|
||||
--white: #fff;
|
||||
--black: #000;
|
||||
}
|
||||
|
||||
/* Global stylesheet */
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 5vw;
|
||||
max-width: 20px;
|
||||
}
|
||||
::-webkit-scrollbar-track {
|
||||
background-color: var(--darkgray);
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: var(--gray);
|
||||
border-radius: 0;
|
||||
}
|
||||
::selection {
|
||||
background-color: var(--gray);
|
||||
color: var(--black);
|
||||
}
|
||||
pre::selection {
|
||||
background-color: var(--gray);
|
||||
}
|
||||
code::selection {
|
||||
background-color: var(--gray);
|
||||
}
|
||||
|
||||
/* Elements */
|
||||
html {
|
||||
margin: 0;
|
||||
color: #a8d;
|
||||
background-color: #020202;
|
||||
color: var(--purple);
|
||||
background-color: var(--darkgray);
|
||||
overflow-x: hidden;
|
||||
}
|
||||
a { color: #a8d; }
|
||||
|
|
Loading…
Reference in New Issue