Files
lixiyu-net/styles/formula.css

25 lines
510 B
CSS
Raw Normal View History

2023-12-25 17:21:39 +08:00
.katex-display {
overflow: auto hidden;
padding-top: 10px;
padding-bottom: 10px;
2024-08-12 11:55:21 +08:00
direction: ltr;
2023-12-25 17:21:39 +08:00
}
.katex-display::-webkit-scrollbar-track {
2024-01-04 10:29:19 +08:00
background-color: transparent;
border-radius: 9999px;
2023-12-25 17:21:39 +08:00
}
2024-01-04 10:29:19 +08:00
2023-12-25 17:21:39 +08:00
.katex-display::-webkit-scrollbar-thumb {
2024-01-04 10:29:19 +08:00
--tw-border-opacity: 1;
background-color: rgba(217, 217, 227, 0.5);
border-color: rgba(255, 255, 255, var(--tw-border-opacity));
border-radius: 9999px;
border-width: 1px;
}
.katex-display::-webkit-scrollbar {
height: 0.4rem;
width: 0.5rem;
2023-12-25 17:21:39 +08:00
}