tianji/src/client/index.css

68 lines
1.1 KiB
CSS
Raw Normal View History

2023-09-01 16:52:43 +00:00
@import 'antd/dist/reset.css';
/* fix Tailwind CSS border styles,form Tailwind CSS's preflight */
*,
::before,
::after {
box-sizing: border-box; /* 1 */
border-width: 0; /* 2 */
border-style: solid; /* 2 */
border-color: theme('borderColor.DEFAULT', currentColor); /* 2 */
}
::before,
::after {
--tw-content: '';
}
a {
text-decoration: none;
}
2024-03-22 16:45:21 +00:00
#root,
.App {
2023-09-02 10:42:24 +00:00
height: 100%;
2024-03-22 16:45:21 +00:00
font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial,
sans-serif;
2023-09-02 10:42:24 +00:00
}
.App.dark {
@apply bg-gray-900 text-white;
}
2023-11-04 11:50:34 +00:00
/* Scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-corner {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
@apply bg-black bg-opacity-10;
border-color: transparent;
background-clip: padding-box;
border-width: 2px;
border-style: solid;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
@apply bg-black bg-opacity-20;
}
::-webkit-scrollbar-track {
@apply bg-black bg-opacity-5;
border-color: transparent;
background-clip: padding-box;
border-width: 2px;
border-style: solid;
border-radius: 4px;
}
2023-08-31 16:11:47 +00:00
@tailwind base;
@tailwind components;
@tailwind utilities;