Skip to content

Commit cf0bf82

Browse files
committed
Reapply "v 1.0.7.1 需改按钮样式,测试前端自动部署"
This reverts commit e35fb46.
1 parent b603130 commit cf0bf82

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

frontend/src/assets/blog.css

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -457,19 +457,20 @@ body {
457457
.profile-menu {
458458
display: flex;
459459
flex-direction: column;
460-
gap: 10px;
460+
gap: 8px;
461461
margin-top: 26px;
462462
width: 100%;
463463
}
464464

465465
.profile-menu-item {
466466
text-decoration: none;
467-
font-weight: 850;
468-
color: #fff;
469-
padding: 10px 12px;
470-
border-radius: 12px;
471-
border: 1px solid #000;
472-
background: #000;
467+
font-weight: 750;
468+
font-size: 13px;
469+
color: var(--text);
470+
padding: 6px 10px;
471+
border-radius: 10px;
472+
border: 1px solid var(--border);
473+
background: transparent;
473474
transition:
474475
background 0.15s ease,
475476
color 0.15s ease,
@@ -478,21 +479,20 @@ body {
478479
}
479480

480481
.profile-menu-item:hover {
481-
color: #fff;
482-
border-color: #000;
483-
background: #1a1a1a;
482+
color: var(--text);
483+
border-color: var(--text);
484+
background: rgba(0, 0, 0, 0.05);
484485
}
485486

486487
[data-theme='dark'] .profile-menu-item {
487-
color: #000;
488-
border-color: #fff;
489-
background: #fff;
488+
color: var(--text);
489+
border-color: rgba(255, 255, 255, 0.22);
490+
background: transparent;
490491
}
491492

492493
[data-theme='dark'] .profile-menu-item:hover {
493-
color: #000;
494-
border-color: #fff;
495-
background: #e8e8e8;
494+
border-color: rgba(255, 255, 255, 0.4);
495+
background: rgba(255, 255, 255, 0.06);
496496
}
497497

498498
.blog-info-wrap {
@@ -591,8 +591,8 @@ body {
591591
}
592592

593593
.admin-entry-icon {
594-
width: 18px;
595-
height: 18px;
594+
width: 15px;
595+
height: 15px;
596596
flex-shrink: 0;
597597
opacity: 0.95;
598598
}

0 commit comments

Comments
 (0)