tianji/src/client/index.css

61 lines
1.0 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;
}
2023-09-02 10:42:24 +00:00
#root, .App {
height: 100%;
}
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;