Skip to content

Commit

Permalink
feat: style optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Aug 12, 2024
1 parent e3c5de3 commit 45edfae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/quark-static/theme.css" />

<!-- 本地开发使用下面资源 -->
<!-- <link rel="stylesheet" href="../static/theme.css"> -->

<!-- theme.css 需要同步到 statics/theme.css 仓库 -->
<!-- <link rel="stylesheet" href="./theme.css"> -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@docsearch/css@3" />

<!-- Google tag (gtag.js) -->
Expand Down
15 changes: 5 additions & 10 deletions src/assets/styles/md-style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,9 @@
margin: 0 1px;
color: #0da6e9;
text-decoration-line: underline;

&:hover {
color: #bcc0ff;
}

&:active {
color: #bcc0ff;
}
}
a:hover {
opacity: .85;
}

&.isComponent {
Expand Down Expand Up @@ -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%);
Expand Down
3 changes: 0 additions & 3 deletions src/views/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,6 @@
color: #0da6e9;
text-decoration-line: underline;
}
a:hover {
color: #bcc0ff;
}
}
.how {
grid-area: how;
Expand Down

0 comments on commit 45edfae

Please sign in to comment.