diff --git a/docs/.vuepress/components/HomePage.vue b/docs/.vuepress/components/HomePage.vue index 68356221e..c1cee814c 100644 --- a/docs/.vuepress/components/HomePage.vue +++ b/docs/.vuepress/components/HomePage.vue @@ -43,9 +43,14 @@ const spStr = computed(() => { } .mingdao { + display: flex; + justify-content: center; + a { + max-width: min(500px, 100%); + img { - max-width: 500px; + width: 100%; } } } @@ -56,21 +61,4 @@ const spStr = computed(() => { padding-bottom: 0 !important; } -.wwads-cn, -.wwads { - background-color: #f4f8fa; -} - -.wwads-text { - color: #0e1011; -} - -html[data-theme="dark"] .wwads-cn, -html[data-theme="dark"] .wwads { - background-color: #272829 !important; -} - -html[data-theme="dark"] .wwads-text { - color: #9e9e9e !important; -} \ No newline at end of file diff --git a/docs/.vuepress/components/NormalPage.vue b/docs/.vuepress/components/NormalPage.vue index f82fd22c8..ff1839464 100644 --- a/docs/.vuepress/components/NormalPage.vue +++ b/docs/.vuepress/components/NormalPage.vue @@ -4,8 +4,10 @@
- {{ spStr }} + target="_blank"> + + {{ spStr }} +
@@ -42,15 +44,20 @@ const spStr = computed(() => { justify-content: center; a { - max-width: 500px; + max-width: min(500px, 100%); + position: relative; img { width: 100%; } - } - span { - font-size: small; + span { + font-size: small; + color: #999; + position: absolute; + right: 10px; + bottom: 10px; + } } } @@ -58,22 +65,4 @@ const spStr = computed(() => { padding-top: 0 !important; padding-bottom: 0 !important; } - -.wwads-cn, -.wwads { - background-color: #f4f8fa; -} - -.wwads-text { - color: #0e1011; -} - -html[data-theme="dark"] .wwads-cn, -html[data-theme="dark"] .wwads { - background-color: #272829 !important; -} - -html[data-theme="dark"] .wwads-text { - color: #9e9e9e !important; -} \ No newline at end of file diff --git a/docs/.vuepress/components/Sidebar.vue b/docs/.vuepress/components/Sidebar.vue index 09eb4c1a2..2cd0254f6 100644 --- a/docs/.vuepress/components/Sidebar.vue +++ b/docs/.vuepress/components/Sidebar.vue @@ -46,5 +46,6 @@ const spStr = computed(() => { width: 70%; text-align: right; font-size: small; + color: #999; } } \ No newline at end of file diff --git a/docs/.vuepress/styles/index.scss b/docs/.vuepress/styles/index.scss index 1f756d929..ddafb3455 100644 --- a/docs/.vuepress/styles/index.scss +++ b/docs/.vuepress/styles/index.scss @@ -1,4 +1,4 @@ -.ads-card{ +.ads-card { background-color: #f4f8fa; padding: 14px; border-radius: 8px; @@ -6,4 +6,22 @@ html[data-theme="dark"] .ads-card { background-color: #272829; -} \ No newline at end of file +} + +.wwads-cn, +.wwads { + background-color: #f4f8fa; +} + +.wwads-text { + color: #0e1011; +} + +html[data-theme="dark"] .wwads-cn, +html[data-theme="dark"] .wwads { + background-color: #272829 !important; +} + +html[data-theme="dark"] .wwads-text { + color: #9e9e9e !important; +}