Skip to content

Commit

Permalink
🎨 display flex for nav starlight on this page
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasbnt committed May 29, 2024
1 parent 8732f14 commit 53de5d6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/assets/css/hello.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ code {
.main-pane a {
font-weight: 600;
}

.main-pane img {
display: block;
margin-left: auto;
Expand Down Expand Up @@ -110,15 +111,18 @@ select:where(.astro-4yphtoen) {
min-width: min-content;
}

nav[aria-labelledby="starlight__on-this-page"] ul li {
padding: 0.2rem 0;
nav[aria-labelledby="starlight__on-this-page"] > ul {
display: flex;
flex-direction: column;
gap: .3rem;
}

nav[aria-labelledby="starlight__on-this-page"] ul li a {
font-size: 14px;
font-size: 15px;
line-height: 1.6;
text-wrap: balance;
}

nav[aria-labelledby="starlight__on-this-page"] a[aria-current="true"] {
font-weight: 600;
}
}

0 comments on commit 53de5d6

Please sign in to comment.