mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
scroll-bar(css): reduce size for smaller screens
misc
This commit is contained in:
parent
8a8652fbf0
commit
f4df89dbf6
@ -112,24 +112,31 @@ img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
*::-webkit-scrollbar {
|
||||
width: 10px;
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
*::-webkit-scrollbar-track {
|
||||
background: var(--theme);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
*::-webkit-scrollbar-thumb {
|
||||
background: var(--tertiary);
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
*::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--secondary);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
*::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
*:focus {
|
||||
outline:none;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user