Commit c828344a authored by minseok.park's avatar minseok.park

update nav style

parent 9505301e
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
.nav-menu { .nav-menu {
min-height: 100%; min-height: 100%;
position: relative; position: relative;
padding: 0.5rem 0.5rem 0.5rem 0; padding: 0.5rem 0.5rem 0.5rem 0.65rem;
line-height: 1.375; line-height: 1.375;
} }
...@@ -144,6 +144,18 @@ ...@@ -144,6 +144,18 @@
margin-top: 0.5em; margin-top: 0.5em;
} }
.nav-link {
padding: 0.5rem 0 0.35rem 0.25rem;
display: block;
border-bottom: 1px solid transparent;
border-radius: 3px;
}
.nav-link:hover {
border-bottom: 1px solid var(--color-bwg-main);
border-radius: 0;
}
/* adds some breathing room below a nested list */ /* adds some breathing room below a nested list */
.nav-item-toggle ~ .nav-list { .nav-item-toggle ~ .nav-list {
padding-bottom: 0.125rem; padding-bottom: 0.125rem;
...@@ -168,7 +180,8 @@ ...@@ -168,7 +180,8 @@
position: absolute; position: absolute;
height: calc(var(--nav-line-height) * 1em); height: calc(var(--nav-line-height) * 1em);
width: calc(var(--nav-line-height) * 1em); width: calc(var(--nav-line-height) * 1em);
margin-top: -0.05em; /* margin-top: -0.05em; */
margin-top: 0.55em;
margin-left: calc(var(--nav-line-height) * -1em); margin-left: calc(var(--nav-line-height) * -1em);
} }
...@@ -179,6 +192,7 @@ ...@@ -179,6 +192,7 @@
.is-current-page > .nav-link, .is-current-page > .nav-link,
.is-current-page > .nav-text { .is-current-page > .nav-text {
font-weight: var(--body-font-weight-bold); font-weight: var(--body-font-weight-bold);
color: var(--color-bwg-main);
} }
.nav-panel-explore { .nav-panel-explore {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment