nimbus-gui/src/index.css

133 lines
2.5 KiB
CSS
Raw Normal View History

@font-face {
2023-09-26 09:23:26 +00:00
font-family: 'Inter';
src: url('./Inter-font/Inter-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
2023-09-26 09:23:26 +00:00
font-family: 'Inter';
src: url('./Inter-font/Inter-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
2023-09-26 09:23:26 +00:00
font-family: 'Inter';
src: url('./Inter-font/Inter-Medium.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
2023-09-26 09:23:26 +00:00
font-family: 'Inter';
src: url('./Inter-font/Inter-SemiBold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
2023-09-26 09:23:26 +00:00
font-family: 'Inter';
src: url('./Inter-font/Inter-Bold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
font-display: swap;
}
@font-face {
2023-09-26 09:23:26 +00:00
font-family: 'Inter';
src: url('./Inter-font/Inter-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-display: swap;
}
2023-07-13 11:16:49 +00:00
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
2023-09-26 09:23:26 +00:00
2023-07-13 11:16:49 +00:00
color-scheme: light dark;
color: rgba(0, 0, 0, 0.87);
2023-08-03 06:20:54 +00:00
background-color: #242424;
2023-09-26 09:23:26 +00:00
2023-07-13 11:16:49 +00:00
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
#storybook-root {
width: 100%;
}
2023-07-13 11:16:49 +00:00
body {
margin: 0;
display: flex;
min-width: 320px;
min-height: 100vh;
}
2023-09-26 09:23:26 +00:00
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.2;
font-weight: 700;
}
a {
font-weight: 500;
text-decoration: inherit;
2023-08-14 15:12:44 +00:00
cursor: pointer;
}
2023-08-03 06:20:54 +00:00
button {
border-radius: 12px;
2023-08-03 06:20:54 +00:00
border: 1px solid transparent;
font-size: 15px;
2023-08-03 06:20:54 +00:00
font-weight: 500;
font-family: inherit;
cursor: pointer;
transition: border-color 0.25s;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
2023-09-26 09:23:26 +00:00
ul {
list-style-type: none;
padding: 0;
margin: 0;
}
ul li {
padding: 0 1rem;
font-size: 15px;
}
.transparent-scrollbar::-webkit-scrollbar {
width: 8px;
}
.transparent-scrollbar::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.1);
border-radius: 10px;
}
.transparent-scrollbar::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.2);
}
.transparent-scrollbar::-webkit-scrollbar-corner {
background: transparent;
}
2023-08-03 06:20:54 +00:00
@media (prefers-color-scheme: light) {
:root {
2023-09-26 09:23:26 +00:00
color: #09101c;
2023-08-03 06:20:54 +00:00
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
}