Skip to content

Commit 49d1d10

Browse files
committed
fix: improve markdown hyperlink preview
1 parent 0ad352f commit 49d1d10

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

src/css/style.css

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,9 @@ a {
215215
position: relative;
216216
}
217217

218-
.site-nav__links a:hover {
219-
color: var(--text-0);
218+
.site-nav__links a:hover,
219+
.site-nav__links a.active {
220+
color: var(--accent);
220221
}
221222

222223
.site-nav__links a::after {
@@ -1381,6 +1382,16 @@ a {
13811382
color: var(--text-1);
13821383
}
13831384

1385+
.event-page__meta-item span a {
1386+
color: var(--accent);
1387+
text-decoration: underline;
1388+
text-underline-offset: 2px;
1389+
}
1390+
1391+
.event-page__meta-item span a:hover {
1392+
color: var(--text-0);
1393+
}
1394+
13841395
.event-page__image {
13851396
margin-bottom: 2.5rem;
13861397
border-radius: var(--radius-lg);
@@ -1678,7 +1689,7 @@ a {
16781689
}
16791690

16801691
.footer__links a:hover {
1681-
color: var(--text-0);
1692+
color: var(--accent);
16821693
}
16831694

16841695
.footer__bottom {
@@ -1746,13 +1757,15 @@ a {
17461757
margin-bottom: 1.25rem;
17471758
}
17481759

1760+
.event-page__body a,
17491761
.content-page__body a {
17501762
color: var(--accent);
17511763
text-decoration: underline;
17521764
text-underline-offset: 2px;
17531765
transition: color 0.25s;
17541766
}
17551767

1768+
.event-page__body a:hover,
17561769
.content-page__body a:hover {
17571770
color: var(--text-0);
17581771
}

0 commit comments

Comments
 (0)