docs: small ui fixes (#13546)

* docs: small ui fixes

* updates
This commit is contained in:
Julien Robert
2022-10-13 19:58:25 +00:00
committed by GitHub
parent 81d033e701
commit 6fdcbfd3ab
9 changed files with 51 additions and 8723 deletions
+9 -21
View File
@@ -133,32 +133,16 @@ html {
@apply w-auto justify-between;
}
.DocSearch-Search-Icon {
@media (min-width: 997px) {
@apply hidden;
}
@apply text-docusaurusColorBase;
}
.DocSearch-Button-Placeholder {
@apply pr-8;
}
.DocSearch-Button-Key {
background: none;
@apply shadow-none bg-transparent border border-inactive text-inactive p-3 text-2 rounded-s h-6 w-6;
}
.DocSearch-Button-Keys,
.DocSearch-Button-Placeholder {
.DocSearch-Button-Keys {
@apply hidden;
@media (min-width: 997px) {
@apply flex;
}
}
.DocSearch-Button-Placeholder {
@apply pr-10;
}
}
&-Search-Icon path {
@apply fill-transparent;
}
path {
@apply fill-transparent;
}
&-Logo path {
@apply fill-docusaurusColorBase;
}
@@ -441,6 +425,10 @@ html {
}
/* MARKDOWN */
.theme-code-block {
@apply font-jetbrain;
}
.markdown {
--ifm-heading-vertical-rhythm-bottom: 1;
--ifm-h1-vertical-rhythm-bottom: 1;
+35 -45
View File
@@ -10,65 +10,55 @@
/* Inter */
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("~/static/fonts/inter/Inter-Regular.woff2?v=3.19") format("woff2"),
url("~/static/fonts/inter/Inter-Regular.woff?v=3.19") format("woff");
font-family: "Inter";
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("~/static/fonts/inter/Inter-Regular.woff2?v=3.19") format("woff2"),
url("~/static/fonts/inter/Inter-Regular.woff?v=3.19") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("~/static/fonts/inter/Inter-Medium.woff2?v=3.19") format("woff2"),
url("~/static/fonts/inter/Inter-Medium.woff?v=3.19") format("woff");
font-family: "Inter";
font-style: normal;
font-weight: 500;
font-display: swap;
src: url("~/static/fonts/inter/Inter-Medium.woff2?v=3.19") format("woff2"),
url("~/static/fonts/inter/Inter-Medium.woff?v=3.19") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("~/static/fonts/inter/Inter-Bold.woff2?v=3.19") format("woff2"),
url("~/static/fonts/inter/Inter-Bold.woff?v=3.19") format("woff");
font-family: "Inter";
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("~/static/fonts/inter/Inter-Bold.woff2?v=3.19") format("woff2"),
url("~/static/fonts/inter/Inter-Bold.woff?v=3.19") format("woff");
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 900;
font-display: swap;
src: url("~/static/fonts/inter/Inter-Black.woff2?v=3.19") format("woff2"),
url("~/static/fonts/inter/Inter-Black.woff?v=3.19") format("woff");
font-family: "Inter";
font-style: normal;
font-weight: 900;
font-display: swap;
src: url("~/static/fonts/inter/Inter-Black.woff2?v=3.19") format("woff2"),
url("~/static/fonts/inter/Inter-Black.woff?v=3.19") format("woff");
}
/* Inter var */
@font-face {
font-family: 'Inter var';
font-weight: 100 900;
font-display: swap;
font-style: oblique 0deg 10deg;
src: url("~/static/fonts/intervar/Inter.var.woff2?v=3.19") format("woff2");
}
/* Termina */
@font-face {
font-family: 'Termina';
src: url("~/static/fonts/termina/termina-demi-web.woff2") format("woff2"), /* chrome、firefox */
url("~/static/fonts/termina/termina-demi-web.woff") format("woff"), /* chrome、firefox */
url("~/static/fonts/termina/termina-demi-web.ttf") format("truetype"); /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ font-weight: 600;
font-style: normal;
font-stretch: normal;
font-family: "Inter var";
font-weight: 100 900;
font-display: swap;
font-style: oblique 0deg 10deg;
src: url("~/static/fonts/intervar/Inter.var.woff2?v=3.19") format("woff2");
}
/* JetBrains Mono */
@font-face{
font-family: 'JetBrains Mono';
font-weight: normal;
font-style: normal;
src: url("~/static/fonts/jetbrainsmono/JetBrainsMono-Regular.woff2") format("woff2");
@font-face {
font-family: "JetBrains Mono";
font-weight: normal;
font-style: normal;
src: url("~/static/fonts/jetbrainsmono/JetBrainsMono-Regular.woff2")
format("woff2");
}