Skip to content

Commit 5dedf4d

Browse files
committed
Underline links on hover by default
1 parent 4961396 commit 5dedf4d

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

pkg/web_css/lib/src/_base.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ a {
120120
padding: 4px 12px;
121121
}
122122

123+
&:hover {
124+
text-decoration: underline;
125+
}
126+
123127
.light-theme & {
124128
&:hover {
125129
filter: brightness(80%);

pkg/web_css/lib/src/_detail_page.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ $detail-tabs-tablet-width: calc(100% - 240px);
380380
border-bottom: 2px solid;
381381
border-bottom-color: transparent;
382382
cursor: pointer;
383+
text-decoration: none;
383384

384385
&:hover {
385386
border-bottom-color: var(--pub-detail_tab-underline-color);

pkg/web_css/lib/src/_list.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@
371371
padding: 10px 16px;
372372
color: inherit;
373373
font-weight: 600;
374+
text-decoration: none;
374375
}
375376
}
376377
}
@@ -448,6 +449,7 @@
448449

449450
a {
450451
color: var(--pub-neutral-textColor);
452+
text-decoration: none;
451453
}
452454

453455
label {

pkg/web_css/lib/src/_scores.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
align-items: center;
1010

1111
font-family: var(--pub-font-family-body);
12+
text-decoration: none;
1213

1314
&:hover {
1415
opacity: 1.0;

pkg/web_css/lib/src/_tags.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
text-transform: uppercase;
3535
padding: 4px 8px;
3636
color: var(--pub-tag_sdkbadge-text-color);
37+
text-decoration: none;
3738
}
3839

3940
> .tag-badge-main {

0 commit comments

Comments
 (0)