refactor: website components (#8600)

This commit is contained in:
Noel
2022-09-06 19:48:33 +02:00
committed by GitHub
parent f3ce4a75d0
commit c3341570d9
55 changed files with 1910 additions and 2673 deletions

View File

@@ -1,29 +1,43 @@
@import url('https://rsms.me/inter/inter.css');
:root {
font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue;
font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}
@supports (font-variation-settings: normal) {
html {
font-family: 'Inter var', sans-serif;
font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
:root {
font-family: 'Inter var', Arial, Noto Sans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', Segoe UI Symbol,
'Noto Color Emoji';
}
}
html,
body {
height: 100vh;
margin: 0;
font-family: 'Inter var', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
Helvetica Neue, Arial, Noto Sans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', Segoe UI Symbol,
'Noto Color Emoji';
font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
height: 100%;
}
#__next {
max-width: 100%;
max-height: 100%;
width: 100%;
height: 100%;
}
.light [data-theme='dark'] {
display: none;
}
.dark [data-theme='light'] {
display: none;
}
pre[data-theme='light'] {
background: #ffffff;
border: 1px solid #dddddd;
}
pre[data-theme='dark'] {
background: #1e1e1e;
}
pre {
font-size: 13px !important;
white-space: pre;
@@ -35,10 +49,9 @@ pre {
padding: 1em;
margin: 0.5em 0;
overflow: auto;
background: #1e1e1e;
border-radius: 4px;
}
code {
font-family: 'JetBrains Mono' !important;
font-family: 'JetBrains Mono', monospace !important;
}