forked from drowl87/hextra_mirror

* feat: shortcode for Jupyter Notebook * chore: update generated CSS files * chore: add example Jupyter Notebook file * chore: update doc * chore: enhance jupyter notebook styling - use raw markdown for contents like code block and markdown text * feat: support load notebook from assets and remote - update docs accordingly - add example notebook file * chore: rename example file
22 lines
590 B
CSS
22 lines
590 B
CSS
.hextra-scrollbar, .hextra-scrollbar * {
|
|
scrollbar-width: thin; /* Firefox */
|
|
scrollbar-color: oklch(55.55% 0 0 / 40%) transparent; /* Firefox */
|
|
|
|
scrollbar-gutter: stable;
|
|
&::-webkit-scrollbar {
|
|
@apply hx-w-3 hx-h-3;
|
|
}
|
|
&::-webkit-scrollbar-track {
|
|
@apply hx-bg-transparent;
|
|
}
|
|
&::-webkit-scrollbar-thumb {
|
|
@apply hx-rounded-[10px];
|
|
}
|
|
&:hover::-webkit-scrollbar-thumb {
|
|
border: 3px solid transparent;
|
|
background-color: var(--tw-shadow-color);
|
|
background-clip: content-box;
|
|
@apply hx-shadow-neutral-500/20 hover:hx-shadow-neutral-500/40;
|
|
}
|
|
}
|