From 7231763adcd4ac4a36c02185daefe866d606e58c Mon Sep 17 00:00:00 2001 From: jinhojang6 Date: Sat, 23 Mar 2024 21:09:45 +0900 Subject: [PATCH] chore: upgrade preset --- package.json | 2 +- src/css/custom.scss | 22 ++++++++++++++++------ src/pages/index.mdx | 4 +--- yarn.lock | 28 ++++++++++++++++++---------- 4 files changed, 36 insertions(+), 20 deletions(-) diff --git a/package.json b/package.json index 253d13b6..0e977851 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ }, "dependencies": { "@acid-info/docusaurus-fathom": "^1.0.0-alpha.111", - "@acid-info/logos-docusaurus-preset": "^v1.0.0-alpha.144", + "@acid-info/logos-docusaurus-preset": "v1.0.0-alpha.148", "@docusaurus/theme-mermaid": "^2.4.1", "@emotion/react": "^11.11.0", "@emotion/styled": "^11.11.0", diff --git a/src/css/custom.scss b/src/css/custom.scss index c08df1ea..2842d05f 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -104,7 +104,7 @@ div:has(.community-container) > .container { @media screen and (max-width: 930px) { .mdx-hero { - margin-bottom: 260px; + margin-bottom: 280px; } .mdx-hero > .mdx-hero-image > img { @@ -114,10 +114,20 @@ div:has(.community-container) > .container { } } -@media screen and (max-width: 450px) { - .mdx-hero > .mdx-hero-image > img { - margin-right: -20px; - scale: 1; - margin-bottom: 180px; +@media screen and (max-width: 768px) { + .mdx-hero { + margin-bottom: 100px; + } +} + +@media screen and (max-width: 500px) { + .mdx-hero { + margin-bottom: -20px; + } + + .mdx-hero > .mdx-hero-image > img { + margin-top: -5%; + margin-right: -20px; + scale: 1.2; } } diff --git a/src/pages/index.mdx b/src/pages/index.mdx index 6d9525db..98a0b277 100644 --- a/src/pages/index.mdx +++ b/src/pages/index.mdx @@ -147,9 +147,6 @@ import Link from '@docusaurus/Link' - - Build on Waku - @@ -209,6 +206,7 @@ import Link from '@docusaurus/Link'