Skip to content

Commit

Permalink
🌈 style: 样式优化
Browse files Browse the repository at this point in the history
  • Loading branch information
白云苍狗 committed Jan 19, 2024
1 parent 75f9942 commit f025bea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/hexo-theme-async/source/css/_components/timeline.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
left: 10px;
height: calc(100% - 20px);
width: 4px;
background: var(--theme-bg-color, #fcfcfe);
background-color: var(--theme-bg-color, #fcfcfe);
}

.trm-timeline-item {
position: relative;

.trm-timeline-mark-light {
background: var(--primary-weak, #afb42b);
background-color: var(--primary-weak, #afb42b);
position: absolute;
top: 15px;
left: -11px;
Expand All @@ -35,7 +35,7 @@
height: 20px;
border-radius: 50%;
border: solid 3px var(--primary, #afb42b);
background: var(--theme-bg-color, #fcfcfe);
background-color: var(--theme-bg-color, #fcfcfe);
}

&:hover {
Expand All @@ -49,7 +49,7 @@
border-radius: var(--card-border-radius, 10px);
position: relative;
margin-left: 45px;
background: var(--theme-bg-color, #fcfcfe);
background-color: var(--theme-bg-color, #fcfcfe);
padding: var(--card-padding, 40px);
margin-bottom: var(--card-bottom-card, 40px);
box-shadow: var(--box-shadow2, 0 2px 4px -2px rgba(0, 0, 0, 0.15));
Expand Down Expand Up @@ -79,7 +79,7 @@
.trm-date {
color: var(--theme-color, #00283a);
margin-left: auto;
background: var(--theme-bg2-color, #f4f5f7);
background-color: var(--theme-bg2-color, #f4f5f7);
padding: 5px 15px;
border-radius: 15px;
font-size: 10px;
Expand Down

0 comments on commit f025bea

Please sign in to comment.