1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-21 13:21:59 +02:00

Custom scrollbar styles

This commit is contained in:
Phuoc Nguyen
2021-04-28 15:11:43 +07:00
parent 2a099cf24e
commit 7db5795d26

View File

@@ -22,6 +22,19 @@ a {
text-decoration: none; text-decoration: none;
} }
::-webkit-scrollbar {
height: 0.5rem;
width: 0.5rem;
}
::-webkit-scrollbar-thumb {
background-color: var(--color-gray-5);
border-radius: 0.5rem;
}
::-webkit-scrollbar-track {
background-color: transparent;
border-radius: 0.5rem;
}
/* Layout */ /* Layout */
.container { .container {
margin: 0 auto; margin: 0 auto;
@@ -87,7 +100,7 @@ pre {
box-shadow: none; box-shadow: none;
color: #FFF; color: #FFF;
font-family: "Source Code Pro", monospace; font-family: "Source Code Pro", monospace;
font-size: 1.25rem; font-size: 1rem;
height: 100%; height: 100%;
line-height: 1.5; line-height: 1.5;
margin: 0px; margin: 0px;