cosmos-explorer/src/style.css

54 lines
1.1 KiB
CSS
Raw Normal View History

2023-05-27 17:36:42 +00:00
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
2023-04-24 15:12:08 +00:00
@tailwind base;
@tailwind components;
@tailwind utilities;
2023-04-25 13:45:33 +00:00
2023-05-31 07:48:14 +00:00
html,body {
height: 100%;
}
2023-05-27 17:27:34 +00:00
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;
}
2023-04-25 13:45:33 +00:00
2023-05-27 17:27:34 +00:00
html.dark,
html[data-theme='dark'] {
--text-main: #f7f7f7;
--text-secondary: #6f6e84;
--bg-active: #242b40;
2023-04-25 13:45:33 +00:00
}
2023-05-11 17:05:40 +00:00
2023-05-15 01:36:48 +00:00
.table th:first-child {
position: relative;
z-index: 2;
2023-06-14 01:32:55 +00:00
}
.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%));
2023-05-28 00:59:23 +00:00
}