Skip to content

Commit 4475eef

Browse files
committed
Update navigation style and update max-width for body
1 parent 708c0ed commit 4475eef

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/Navigation.astro

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const pages = [
2020
}
2121
</div>
2222

23-
<style is:global>
23+
<style>
2424
.nav-links {
2525
display: flex;
2626
flex-wrap: wrap;
@@ -37,4 +37,8 @@ const pages = [
3737
.active {
3838
background-color: var(--surface4);
3939
}
40+
41+
.nav-links > :not(.active) {
42+
opacity: 80%;
43+
}
4044
</style>

src/styles/global.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ body {
9191
#body-content {
9292
margin: 0 auto;
9393
width: 100%;
94-
max-width: 48rem;
94+
max-width: 54rem;
9595
}
9696

9797
main {

0 commit comments

Comments
 (0)