From 45edfaef25110ccb89b0b64ca90811d2e09eb9d9 Mon Sep 17 00:00:00 2001 From: xsf0105 Date: Mon, 12 Aug 2024 10:43:06 +0800 Subject: [PATCH] feat: style optimize --- index.html | 5 ++--- src/assets/styles/md-style.scss | 15 +++++---------- src/views/main.scss | 3 --- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/index.html b/index.html index dec9a2e..0d09d60 100644 --- a/index.html +++ b/index.html @@ -11,9 +11,8 @@ - - - + + diff --git a/src/assets/styles/md-style.scss b/src/assets/styles/md-style.scss index ce2458a..5e889a1 100644 --- a/src/assets/styles/md-style.scss +++ b/src/assets/styles/md-style.scss @@ -18,14 +18,9 @@ margin: 0 1px; color: #0da6e9; text-decoration-line: underline; - - &:hover { - color: #bcc0ff; - } - - &:active { - color: #bcc0ff; - } + } + a:hover { + opacity: .85; } &.isComponent { @@ -94,14 +89,14 @@ td { padding: 8px 20px; - color: #fff; + // color: #fff; &:first-child { border-left: 0px; code { margin: 0; padding: 2px 6px; - color: #38bdf7; + // color: #38bdf7; font-weight: 600; font-size: 11px; background-color: fade(#38bdf7, 10%); diff --git a/src/views/main.scss b/src/views/main.scss index 0f39a1e..1547efd 100644 --- a/src/views/main.scss +++ b/src/views/main.scss @@ -347,9 +347,6 @@ color: #0da6e9; text-decoration-line: underline; } - a:hover { - color: #bcc0ff; - } } .how { grid-area: how;