aboutsummaryrefslogtreecommitdiff
path: root/templates/@theme-base/pm-styles/_pm-subnav.scss
blob: 7d786461622f88447034fe3b93c3618e27bc23fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * subnavigation
 */

.subnav {
  width: var(--width-subnav, $subnav-width);
  background: var(--bgcolor-subnav, $pm-global-light);
}
.subnav-inner {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 2em;
}
.subnav-link {
  @extend .nodecoration;
  color: var(--color-subnav-link, $pm-global-grey);
  &:focus,
  &:hover {
    color: var(--color-subnav-link, $pm-global-grey);
  }
}
[aria-current="true"].subnav-link {
  font-weight: bold;
}