Summary Files Commits Branches @commit @diff @stats
path: root / src / navs.less
blob: 0a3767077bd294ec01c5952d9c18dfb34a8cfe99 (plain) (blame)
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
33
34
35
// Navs
.nav {
  display: flex;
  flex-direction: column;

  .nav-item {
    a {
      color: @gray-color-dark;
      padding: .6rem .8rem;
      text-decoration: none;
      &:focus,
      &:hover {
        color: @primary-color;
      }
    }
    &.active {
      & > a {
        font-weight: bold;
        &:focus,
        &:hover {
          color: @primary-color;
        }
      }
    }
  }

  & .nav {
    margin-bottom: 1rem;
    margin-left: 2rem;

    a {
      color: @gray-color;
    }
  }
}