117 lines
2.2 KiB
SCSS
117 lines
2.2 KiB
SCSS
@use './shared/styles/variables' as *;
|
|
@use './shared/styles/themes';
|
|
@use './shared/styles/table-surfaces';
|
|
|
|
@font-face {
|
|
font-family: 'Montserrat';
|
|
src: url('./assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
:root {
|
|
--sans: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;;
|
|
--heading: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;;
|
|
--mono: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;;
|
|
|
|
font: var(--font-size-18) / 145% var(--sans);
|
|
letter-spacing: 0.18px;
|
|
color: var(--text);
|
|
background: $color-bg;
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
@media (max-width: 1024px) {
|
|
font-size: $font-size-16;
|
|
}
|
|
}
|
|
|
|
#root {
|
|
//width: 1126px;
|
|
max-width: 100%;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
border-inline: 1px solid var(--border);
|
|
min-height: 100svh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: $color-bg;
|
|
}
|
|
html{
|
|
background: $color-bg;
|
|
}
|
|
|
|
::view-transition-old(root),
|
|
::view-transition-new(root) {
|
|
animation: none;
|
|
mix-blend-mode: normal;
|
|
}
|
|
|
|
html.theme-transition-no-css-transitions *,
|
|
html.theme-transition-no-css-transitions *::before,
|
|
html.theme-transition-no-css-transitions *::after {
|
|
transition: none !important;
|
|
}
|
|
|
|
button{
|
|
font-family: inherit;
|
|
}
|
|
a{
|
|
text-decoration: none;
|
|
}
|
|
|
|
.simplebar-content{
|
|
height: 100%;
|
|
}
|
|
|
|
h1,
|
|
h2 {
|
|
font-family: var(--heading);
|
|
font-weight: 500;
|
|
color: $color-text-strong;
|
|
}
|
|
|
|
h1 {
|
|
font-size: $font-size-32;
|
|
margin: 0;
|
|
@media (max-width: 1024px) {
|
|
font-size: $font-size-36;
|
|
margin: 20px 0;
|
|
}
|
|
}
|
|
h2 {
|
|
font-size: $font-size-24;
|
|
line-height: 118%;
|
|
letter-spacing: -0.24px;
|
|
margin: 0 0 8px;
|
|
@media (max-width: 1024px) {
|
|
font-size: $font-size-20;
|
|
}
|
|
}
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
code,
|
|
.counter {
|
|
font-family: var(--mono);
|
|
display: inline-flex;
|
|
border-radius: 4px;
|
|
color: var(--text-h);
|
|
}
|
|
|
|
code {
|
|
font-size: $font-size-15;
|
|
line-height: 135%;
|
|
padding: 4px 8px;
|
|
background: var(--code-bg);
|
|
}
|