Skip to content

Commit 28b3ac7

Browse files
committed
调整样式
1 parent 5deb241 commit 28b3ac7

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

src/contents/common.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,9 @@ import { colorTheme } from './globals'
1212
<div class="v2p-footer">
1313
<div class="v2p-footer-text">扩展自 V2EX Polish </div>
1414
15-
<div class="v2p-footer-link">
16-
<span>
17-
<a href="https://v2p.app" target="_blank">插件主页</a>
18-
</span>
19-
<span>
20-
<a href="https://github.com/coolpace/V2EX_Polish/discussions/1" target="_blank">问题反馈</a>
21-
</span>
15+
<div class="v2p-footer-links">
16+
<a class="v2p-footer-link v2p-hover-btn" href="https://v2p.app" target="_blank">插件主页</a>
17+
<a class="v2p-footer-link v2p-hover-btn" href="https://github.com/coolpace/V2EX_Polish/discussions/1" target="_blank">问题反馈</a>
2218
</div>
2319
2420
<div class="v2p-footer-brand">

src/styles/v2ex-effect.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -539,15 +539,15 @@ body {
539539
color: var(--v2p-color-font-secondary);
540540
}
541541

542-
.v2p-footer-link {
542+
.v2p-footer-links {
543543
display: inline-flex;
544544
gap: 0 8px;
545545
align-items: center;
546+
}
546547

547-
> span > a {
548-
padding: 2px 5px;
549-
color: currentColor;
550-
}
548+
.v2p-footer-link {
549+
padding: 4px 5px;
550+
color: currentColor;
551551
}
552552

553553
.v2p-footer-brand {

src/styles/v2ex-theme-default.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ body {
9494
.box {
9595
background-color: var(--v2p-color-bg-content);
9696
border: none;
97-
border-radius: 8px;
97+
border-radius: 10px;
9898
box-shadow: var(--v2p-box-shadow);
9999

100100
.header {

0 commit comments

Comments
 (0)