cosmos-explorer/src/style.css
2023-06-15 09:23:14 +08:00

54 lines
1.1 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
html,body {
height: 100%;
}
body {
transition: color 0.5s, background-color 0.5s;
line-height: 1.6;
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
font-size: 15px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
:root {
--text-main: #333;
--text-secondary: #4b525d;
--bg-active: #fbfbfc;
}
html.dark,
html[data-theme='dark'] {
--text-main: #f7f7f7;
--text-secondary: #6f6e84;
--bg-active: #242b40;
}
.table th:first-child {
position: relative;
z-index: 2;
}
.slide-up-enter-active,
.slide-up-leave-active {
transition: all 0.25s ease-out;
}
.slide-up-enter-from {
opacity: 0;
transform: translateY(calc(80%));
}
.slide-up-leave-to {
opacity: 0;
transform: translateY(-calc(15%));
}