Add chrome scrollbar style
This commit is contained in:
parent
5405fc1b8b
commit
cca70412c6
|
@ -396,6 +396,26 @@ pre {
|
|||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.highlight pre {
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
/* Style for WebKit browsers (Chrome, Safari, etc.) */
|
||||
*::-webkit-scrollbar {
|
||||
height: 5px;
|
||||
border-radius: 6px;
|
||||
background: #1f1f28;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb {
|
||||
border-radius: 6px;
|
||||
background: #585653;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb:hover {
|
||||
background: #454445; /* Background color on hover */
|
||||
}
|
||||
|
||||
.codeblock {
|
||||
position: relative;
|
||||
background-color: var(--codeblock-bg-color);
|
||||
|
|
Loading…
Reference in New Issue