Skip to content

Commit

Permalink
link underlining
Browse files Browse the repository at this point in the history
  • Loading branch information
recrwplay committed Jul 3, 2024
1 parent af0ffe5 commit a22ba70
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/css/docs-ndl.css
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,22 @@ body.docs-ndl .nav-menu .nav-item > a > strong {

/* end of nav */

body.docs-ndl .doc a {
text-decoration: none;
}

body.docs-ndl .doc a::after {
display: inline-block;
}

body.docs-ndl .doc a:hover {
text-decoration: underline;
}

body.docs-ndl .doc a:hover::after {
text-decoration: none;
}

body.docs-ndl.hub aside.toc.sidebar {
flex-basis: 0;
}
Expand Down Expand Up @@ -242,6 +258,10 @@ body.docs-ndl .next-steps .sectionbody ol li {
padding-bottom: 2rem;
}

body.docs-ndl .next-steps .sectionbody ol li a {
text-emphasis: none;
}

body.docs-ndl .next-steps .sectionbody ol li:last-of-type {
counter-increment: step-counter;
margin-bottom: 0;
Expand Down Expand Up @@ -434,6 +454,7 @@ body.docs-ndl .lists ul li {

body.docs-ndl .lists ul li a {
font-weight: var(--font-weight-normal);
text-decoration: none;
}

/* cards */
Expand Down Expand Up @@ -480,6 +501,7 @@ body.docs-ndl .widget:not(.video) {
body.docs-ndl .cards .sect2 > a {
color: var(--neutral-color);
font-weight: var(--font-weight-normal);
text-decoration: none;
}

body.docs-ndl.color-docs .sect2 {
Expand Down Expand Up @@ -590,6 +612,7 @@ body.docs-ndl .cards:not(.selectable) .sect2 .paragraph.link {
body.docs-ndl .cards:not(.selectable) .sect2 .paragraph.link a {
font-weight: 500;
margin-right: 1rem;
/* text-decoration: none; */
}

body.docs-ndl .cards .sect2 .paragraph.category {
Expand All @@ -605,6 +628,7 @@ body.docs-ndl .highlights a {
justify-content: space-between;
color: var(--neutral-color);
font-weight: var(--font-weight-normal);
text-decoration: none;
}

body.docs-ndl .highlights a::after,
Expand All @@ -620,6 +644,7 @@ body.docs-ndl .highlights a::after {
display: flex;
margin-left: 1.5rem;
color: var(--neutral-color);
float: right;
}

body.docs-ndl .cards .sect2 .ulist {
Expand Down

0 comments on commit a22ba70

Please sign in to comment.