chore: upgrade preset
This commit is contained in:
parent
184695d621
commit
53b3cbdf55
|
@ -15,7 +15,7 @@
|
|||
"typecheck": "tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@acid-info/logos-docusaurus-preset": "^1.0.0-topic-new-layout.20",
|
||||
"@acid-info/logos-docusaurus-preset": "v1.0.0-alpha.154",
|
||||
"@docusaurus/core": "2.4.1",
|
||||
"@docusaurus/preset-classic": "2.4.1",
|
||||
"@docusaurus/theme-mermaid": "^2.4.1",
|
||||
|
|
|
@ -20,17 +20,6 @@ html[data-theme='light'] {
|
|||
margin-bottom: 96px !important;
|
||||
}
|
||||
|
||||
.mdx-hero-image {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.mdx-hero > .mdx-hero-image > img {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
margin-top: -65%;
|
||||
}
|
||||
|
||||
.buttons-row {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
|
@ -65,10 +54,15 @@ html[data-theme='light'] {
|
|||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px) {
|
||||
.mdx-hero > .mdx-hero-image > img {
|
||||
margin-right: -280px;
|
||||
}
|
||||
.mdx-page nav {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.mdx-hero > .mdx-hero-image > img {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
margin-top: -40%;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 996px) {
|
||||
|
@ -76,74 +70,55 @@ html[data-theme='light'] {
|
|||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
transform: rotate(170deg);
|
||||
margin-right: -300px;
|
||||
margin-top: -78%;
|
||||
scale: 0.95;
|
||||
transform: rotate(170deg);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 996px) {
|
||||
.mdx-hero > .mdx-hero-image > img {
|
||||
margin-right: -32px;
|
||||
margin-right: -200px;
|
||||
margin-left: 0;
|
||||
scale: 1;
|
||||
scale: 0.9;
|
||||
margin-top: -36%;
|
||||
}
|
||||
|
||||
.mdx-hero {
|
||||
margin-bottom: 200px;
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.mdx-hero {
|
||||
margin-bottom: 210px;
|
||||
}
|
||||
|
||||
#open-source-and-support {
|
||||
.mdx-grid__content {
|
||||
flex-direction: column;
|
||||
gap: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-top: 16px !important;
|
||||
}
|
||||
|
||||
.mdx-grid__content > div:first-child {
|
||||
a {
|
||||
margin-top: 16px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.mdx-hero > .mdx-hero-image > img {
|
||||
margin-right: 22px;
|
||||
scale: 1.15;
|
||||
margin-top: -27%;
|
||||
scale: 0.9;
|
||||
margin-top: -15%;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 650px) {
|
||||
.mdx-hero > .mdx-hero-image > img {
|
||||
margin-top: -24%;
|
||||
scale: 1;
|
||||
.mdx-hero {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
.mdx-hero {
|
||||
margin-bottom: 180px;
|
||||
.mdx-hero > .mdx-hero-image > img {
|
||||
scale: 1.1;
|
||||
margin-top: -15%;
|
||||
margin-right: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 450px) {
|
||||
.mdx-hero {
|
||||
margin-bottom: 140px;
|
||||
margin-right: 0px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.mdx-hero > .mdx-hero-image > img {
|
||||
margin-right: 32px;
|
||||
scale: 1.36;
|
||||
margin-top: -18%;
|
||||
scale: 1.3;
|
||||
margin-top: 0;
|
||||
margin-right: 30px;
|
||||
}
|
||||
}
|
||||
|
|
28
yarn.lock
28
yarn.lock
|
@ -2,7 +2,7 @@
|
|||
# yarn lockfile v1
|
||||
|
||||
|
||||
"@acid-info/docusaurus-og@1.0.0-alpha.131":
|
||||
"@acid-info/docusaurus-og@^1.0.0-alpha.131":
|
||||
version "1.0.0-alpha.131"
|
||||
resolved "https://registry.yarnpkg.com/@acid-info/docusaurus-og/-/docusaurus-og-1.0.0-alpha.131.tgz#316a736455c3c0e542b32ad63f1b34714588b67b"
|
||||
integrity sha512-a0EbvwffHdShC8+bDzLA3VqPW71n2NPy01t0c2Tm8lMu1Xo/JOUEAr23qcuRETfOPbiHWY2DJC/3AGWOffc59g==
|
||||
|
@ -19,14 +19,14 @@
|
|||
satori "^0.10.1"
|
||||
sharp "^0.32.1"
|
||||
|
||||
"@acid-info/logos-docusaurus-preset@^1.0.0-topic-new-layout.20":
|
||||
version "1.0.0-topic-new-layout.20"
|
||||
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-topic-new-layout.20.tgz#09355fe717e5c86c7da61e3a3422a12902cc05d8"
|
||||
integrity sha512-IV5I0LBcqkSiRQQ0L1PTKL7ONM0hMxrLRQW5zotCNMfDKnLk2H1A7posfLt54iBcgz8HyuLRXVZniV85v/I2Kg==
|
||||
"@acid-info/logos-docusaurus-preset@v1.0.0-alpha.154":
|
||||
version "1.0.0-alpha.154"
|
||||
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-preset/-/logos-docusaurus-preset-1.0.0-alpha.154.tgz#70c4850bb884c0acea7b2adefb59a3ba2b88dc0c"
|
||||
integrity sha512-8B3vAC8utApQ1C//wEPR41mYBd6ZjHXrfrCMLGhI0Iu2OU4vJwL6SM6jT7D38xTPKDV1TnHgpYaJv4PxLL9xnw==
|
||||
dependencies:
|
||||
"@acid-info/docusaurus-og" "1.0.0-alpha.131"
|
||||
"@acid-info/logos-docusaurus-search-local" "1.0.0-alpha.111"
|
||||
"@acid-info/logos-docusaurus-theme" "1.0.0-topic-new-layout.20+94a4407"
|
||||
"@acid-info/docusaurus-og" "^1.0.0-alpha.131"
|
||||
"@acid-info/logos-docusaurus-search-local" "^1.0.0-alpha.111"
|
||||
"@acid-info/logos-docusaurus-theme" "^1.0.0-alpha.154"
|
||||
"@docusaurus/core" "^2.4.1"
|
||||
"@docusaurus/module-type-aliases" "^2.4.1"
|
||||
"@docusaurus/preset-classic" "^2.4.1"
|
||||
|
@ -40,7 +40,7 @@
|
|||
lodash "^4.17.21"
|
||||
node-fetch "2"
|
||||
|
||||
"@acid-info/logos-docusaurus-search-local@1.0.0-alpha.111":
|
||||
"@acid-info/logos-docusaurus-search-local@^1.0.0-alpha.111":
|
||||
version "1.0.0-alpha.111"
|
||||
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-search-local/-/logos-docusaurus-search-local-1.0.0-alpha.111.tgz#f4a19ad1fdee4da58b7793dde5294304475cff70"
|
||||
integrity sha512-W8ILeA095JgaBcze/zsh7GX5yH+oee7QG7kFqfiO7F5apai/0tGfLm1tq7oiJT+jR7guW1jxwuACIFxP7Jm8pw==
|
||||
|
@ -54,12 +54,12 @@
|
|||
"@easyops-cn/docusaurus-search-local" "^0.33.6"
|
||||
lodash "^4.17.21"
|
||||
|
||||
"@acid-info/logos-docusaurus-theme@1.0.0-topic-new-layout.20+94a4407":
|
||||
version "1.0.0-topic-new-layout.20"
|
||||
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-topic-new-layout.20.tgz#c1bb195505981fccfc677456887faf1717dedf71"
|
||||
integrity sha512-MSqWBANHpIULcuTWUAz9r++BYroSiPKewRTXEiTLnjBTtUNyamBlO5pwDYG6Yf4B5XNrE2E7f78DVosly13qwQ==
|
||||
"@acid-info/logos-docusaurus-theme@^1.0.0-alpha.154":
|
||||
version "1.0.0-alpha.154"
|
||||
resolved "https://registry.yarnpkg.com/@acid-info/logos-docusaurus-theme/-/logos-docusaurus-theme-1.0.0-alpha.154.tgz#81ce20f516417c440ccab5f181ca30266cab40c4"
|
||||
integrity sha512-ICqVKpXPPtsmz/blmWKKCHRLXI/4d7btQdRq73Jv4HnfmTrMBMh41cLX0qNmHKe9B6mLe03pvOsiKLrhUOTzAQ==
|
||||
dependencies:
|
||||
"@acid-info/docusaurus-og" "1.0.0-alpha.131"
|
||||
"@acid-info/docusaurus-og" "^1.0.0-alpha.131"
|
||||
"@acid-info/lsd-react" "^0.1.0-beta.3"
|
||||
"@docusaurus/core" "^2.4.1"
|
||||
"@docusaurus/mdx-loader" "^2.4.1"
|
||||
|
|
Loading…
Reference in New Issue