nimbus-gui/src/index.css

174 lines
3.1 KiB
CSS

@font-face {
font-family: 'Inter';
src: url('./Inter-font/Inter-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('./Inter-font/Inter-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('./Inter-font/Inter-Medium.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('./Inter-font/Inter-SemiBold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('./Inter-font/Inter-Bold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Inter';
src: url('./Inter-font/Inter-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-display: swap;
}
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(0, 0, 0, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
#storybook-root {
width: 100%;
}
body {
margin: 0;
display: flex;
min-height: 100vh;
}
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.2;
font-weight: 700;
}
a {
font-weight: 500;
text-decoration: inherit;
cursor: pointer;
}
button {
border-radius: 12px;
border: 1px solid transparent;
font-size: 15px;
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;
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
}
ul li {
padding: 0 1rem;
font-size: 15px;
}
.transparent-scrollbar::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.transparent-scrollbar::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.1);
border-radius: 10px;
height: 8px;
}
.transparent-scrollbar::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.2);
}
.transparent-scrollbar::-webkit-scrollbar-corner {
background: transparent;
}
.nimbus-logo {
margin-top: 4.4rem;
}
.titles-container {
display: flex;
justify-content: space-between;
}
@media (prefers-color-scheme: light) {
:root {
color: #09101c;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
}
@media screen and (max-width: 440px) {
.header-container {
flex-direction: column;
gap: 12px;
}
}
@media (max-width: 900px) {
.right-sidebar-wrapper {
display: none;
}
}
@media (max-width: 1000px) {
.nimbus-logo {
margin-top: 0;
}
}
@media (max-width: 1160px) and (min-width: 1000px) {
.titles-container {
flex-direction: column;
}
}
@media (max-width: 500px) {
.titles-container {
flex-direction: column;
}
}