From 27dbba057d34b1e271dfea4a95af233b7deb9efb Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Sun, 9 Jun 2024 00:06:57 +0800 Subject: [PATCH] mod: styles, regulations --- assets/css/reset.scss | 5 -- components/bylaw/ContentCN.vue | 72 +++++++------------ components/bylaw/ContentEN.vue | 27 +------ components/home/footer/List.vue | 2 - components/kun/capture/Capture.vue | 4 ++ components/kun/milkdown/Editor.vue | 5 -- components/kun/milkdown/NoImage.vue | 5 -- components/kun/milkdown/ReadOnly.vue | 5 -- .../setting-panel/components/Background.vue | 4 +- components/kungalgame/ContentCN.vue | 43 ++++++----- components/kungalgame/ContentEN.vue | 65 +++++++++++------ components/login/Login.vue | 1 - components/login/Register.vue | 1 - package.json | 2 +- pages/kungalgamer/[uid]/password/index.vue | 1 - 15 files changed, 107 insertions(+), 135 deletions(-) diff --git a/assets/css/reset.scss b/assets/css/reset.scss index 16b17e7a..1f3ae085 100644 --- a/assets/css/reset.scss +++ b/assets/css/reset.scss @@ -81,11 +81,6 @@ h2 { } } -ul { - margin: 0; - padding: 0; -} - /* Ensure that button and select elements inherit the font family */ button, select { diff --git a/components/bylaw/ContentCN.vue b/components/bylaw/ContentCN.vue index 57d688a6..451dc403 100644 --- a/components/bylaw/ContentCN.vue +++ b/components/bylaw/ContentCN.vue @@ -5,11 +5,8 @@
执行条例(试行)

- tips: 这是执行条例,✔ - 代表已经落实。目的是让论坛的运行机制更加透明,并不是规矩,我们 - - 没有规矩 - + 这是执行条例,✔ + 代表已经落实。目的是让论坛的运行机制更加透明,并不是规矩

@@ -19,12 +16,20 @@

获取方法

@@ -32,11 +37,12 @@

扣除方法

@@ -44,11 +50,9 @@

用户

@@ -56,20 +60,17 @@

话题

@@ -115,37 +116,18 @@ h2 { } .moemoepoint ul { - margin: 0; - padding: 0; - list-style: none; - text-decoration: none; - margin: 10px 0; - margin-left: 40px; - li { margin: 5px 0; } } .kungalgamer > ul { - margin: 0; - padding: 0; - list-style: none; - text-decoration: none; - margin-left: 20px; - li { margin: 5px 0; } } .topic > ul { - margin: 0; - padding: 0; - list-style: none; - text-decoration: none; - margin-left: 20px; - li { margin: 5px 0; } diff --git a/components/bylaw/ContentEN.vue b/components/bylaw/ContentEN.vue index f15688fc..c0f12a68 100644 --- a/components/bylaw/ContentEN.vue +++ b/components/bylaw/ContentEN.vue @@ -5,12 +5,8 @@
Regulations (Trial)

- Tips: These are trial regulations, ✔ indicating implementation. The aim - is to make the forum's operation more transparent. It's not about rules; - we - - have no rules - + These are trial regulations, ✔ indicating implementation. The aim is to + make the forum's operation more transparent.

@@ -150,37 +146,18 @@ h2 { } .moemoepoint ul { - margin: 0; - padding: 0; - list-style: none; - text-decoration: none; - margin: 10px 0; - margin-left: 40px; - li { margin: 5px 0; } } .kungalgamer > ul { - margin: 0; - padding: 0; - list-style: none; - text-decoration: none; - margin-left: 20px; - li { margin: 5px 0; } } .topic > ul { - margin: 0; - padding: 0; - list-style: none; - text-decoration: none; - margin-left: 20px; - li { margin: 5px 0; } diff --git a/components/home/footer/List.vue b/components/home/footer/List.vue index c4dc78f0..2d9968ac 100644 --- a/components/home/footer/List.vue +++ b/components/home/footer/List.vue @@ -194,8 +194,6 @@ const link: FooterInfoItem[] = [ ul { margin: 0; padding: 0; - list-style: none; - text-decoration: none; } } diff --git a/components/kun/capture/Capture.vue b/components/kun/capture/Capture.vue index 5b723654..9519cdea 100644 --- a/components/kun/capture/Capture.vue +++ b/components/kun/capture/Capture.vue @@ -258,13 +258,17 @@ const handleCloseCapture = () => { font-weight: bold; } } + .answer { width: 100%; + div { font-size: 10px; } + a { color: var(--kungalgame-blue-5); + &:hover { text-decoration: underline; } diff --git a/components/kun/milkdown/Editor.vue b/components/kun/milkdown/Editor.vue index fb7d58e2..9814222e 100644 --- a/components/kun/milkdown/Editor.vue +++ b/components/kun/milkdown/Editor.vue @@ -264,11 +264,6 @@ const editorInfo = useEditor((root) => background-color: var(--kungalgame-trans-blue-1); } - ul li, - ol li { - color: var(--kungalgame-blue-5); - } - .tableWrapper { color: var(--kungalgame-font-color-3); position: relative; diff --git a/components/kun/milkdown/NoImage.vue b/components/kun/milkdown/NoImage.vue index df771b08..3d7a817a 100644 --- a/components/kun/milkdown/NoImage.vue +++ b/components/kun/milkdown/NoImage.vue @@ -259,11 +259,6 @@ watch( background-color: var(--kungalgame-trans-blue-1); } - ul li, - ol li { - color: var(--kungalgame-blue-5); - } - .tableWrapper { color: var(--kungalgame-font-color-3); position: relative; diff --git a/components/kun/milkdown/ReadOnly.vue b/components/kun/milkdown/ReadOnly.vue index 2dc105fb..b034dd4a 100644 --- a/components/kun/milkdown/ReadOnly.vue +++ b/components/kun/milkdown/ReadOnly.vue @@ -187,11 +187,6 @@ watch( background-color: var(--kungalgame-trans-blue-1); } - ul li, - ol li { - color: var(--kungalgame-blue-5); - } - .tableWrapper { color: var(--kungalgame-font-color-3); position: relative; diff --git a/components/kun/setting-panel/components/Background.vue b/components/kun/setting-panel/components/Background.vue index c9a2442c..540f7ce3 100644 --- a/components/kun/setting-panel/components/Background.vue +++ b/components/kun/setting-panel/components/Background.vue @@ -17,8 +17,8 @@ const handleChangeImage = async (index: number) => {