metacubexd/src/index.css

43 lines
662 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;
scrollbar-color: hsl(var(--p)) transparent;
}
::-webkit-scrollbar {
2023-09-06 23:49:23 +08:00
background: transparent;
}
::-webkit-scrollbar:vertical {
2023-09-09 18:45:29 +08:00
width: 0;
2023-09-06 23:49:23 +08:00
}
::-webkit-scrollbar:horizontal {
2023-09-09 18:45:29 +08:00
height: 0;
2023-09-07 14:24:48 +08:00
}
2023-09-09 18:45:29 +08:00
@media (width >= 640px) {
2023-09-07 14:24:48 +08:00
::-webkit-scrollbar-thumb {
@apply rounded-box bg-primary;
}
2023-09-09 18:45:29 +08:00
2023-09-07 14:24:48 +08:00
::-webkit-scrollbar:vertical {
width: 6px;
}
::-webkit-scrollbar:horizontal {
height: 6px;
}
}