metacubexd/src/index.css

44 lines
682 B
CSS
Raw Normal View History

2023-09-01 12:27:56 +08:00
@import '@fontsource/fira-sans';
2023-09-01 09:34:30 +08:00
2023-08-24 04:20:53 +08:00
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind variants;
2023-09-01 09:34:30 +08:00
@font-face {
font-family: 'Twemoji Mozilla';
src: url('assets/Twemoji.Mozilla.ttf') format('truetype');
}
2023-09-06 23:49:23 +08:00
:root {
scrollbar-width: thin;
2023-09-10 16:42:00 +08:00
scrollbar-color: transparent transparent;
2023-09-06 23:49:23 +08:00
}
::-webkit-scrollbar {
2023-09-06 23:49:23 +08:00
background: transparent;
2023-09-10 16:42:00 +08:00
display: none;
2023-09-06 23:49:23 +08:00
}
::-webkit-scrollbar:vertical {
2023-09-10 16:42:00 +08:00
width: 6px;
2023-09-06 23:49:23 +08:00
}
::-webkit-scrollbar:horizontal {
2023-09-10 16:42:00 +08:00
height: 6px;
2023-09-07 14:24:48 +08:00
}
2023-09-09 18:45:29 +08:00
@media (width >= 640px) {
2023-09-10 16:42:00 +08:00
:root {
scrollbar-color: hsl(var(--p)) transparent;
2023-09-07 14:24:48 +08:00
}
2023-09-09 18:45:29 +08:00
2023-09-10 16:42:00 +08:00
::-webkit-scrollbar {
display: block;
2023-09-07 14:24:48 +08:00
}
2023-09-10 16:42:00 +08:00
::-webkit-scrollbar-thumb {
@apply rounded-box bg-primary;
2023-09-07 14:24:48 +08:00
}
}