Skip to content

Commit

Permalink
Update page nav styles
Browse files Browse the repository at this point in the history
  • Loading branch information
infloent committed Dec 4, 2024
1 parent fa68f52 commit 9995b20
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions blocks/page-navigation/page-navigation.css
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
raqn-page-navigation {
--page-nav-level-padding: 25px;
--page-nav-active-item-background: transparent;
--page-nav-active-item-color: var(--highlight);
--page-nav-item-padding-block: 0px;
--page-nav-item-padding-inline: 0px;
--page-nav-item-margin-block: 0.5rem;
--page-nav-item-margin-inline: 0px;
--page-nav-active-item-background: transparent;
--page-nav-active-item-color: var(--highlight);
--page-nav-active-item-font-weight: bold;

}

raqn-page-navigation a {
--a-margin-block: 0.5rem;
--a-font-size: 1rem;
--a-font-weight: normal;
--a-font-style: normal;
--a-line-height: 1.5;

display: inline-block;
padding-block: var(--page-nav-item-padding-block);
padding-inline: var(--page-nav-item-padding-inline);
padding-block: var(--page-nav-item-padding-inline);
margin-block: var(--page-nav-item-margin-block);
margin-inline: var(--page-nav-item-margin-inline);
}

raqn-page-navigation a.active {
--a-font-weight: bold;
font-weight: var(--page-nav-active-item-font-weight);
background: var(--page-nav-active-item-background);
color: var(--page-nav-active-item-color);
}

raqn-page-navigation a:hover {
font-weight: var(--page-nav-active-item-font-weight);
background: var(--page-nav-active-item-background);
color: var(--page-nav-active-item-color);
}
Expand Down

0 comments on commit 9995b20

Please sign in to comment.