summaryrefslogtreecommitdiff
path: root/themes/hugo-whisper-theme/assets/scss/components/_main-menu.scss
blob: 56d7d7f6145b5b849ef053c2b24d82a4d3fbde4a (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
26
27
28
29
30
31
32
.main-menu {
  display: none;
  @include media-breakpoint-up(md) {
    display: block;
  }
  > ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-family: $font-family-base;
    > li {
      list-style: none;
      font-size: 14px;
      > a {
        padding: 10px 14px 10px 14px;
        display: inline-block;
        font-weight: normal;
        text-decoration: none;
        color: $primary;
        &:hover {
          text-decoration: underline;
          color: $primary;
        }
      }
      &.active {
        > a {
          font-weight: bold;
        }
      }
    }
  }
}