_navs.scss 560 B

12345678910111213141516171819202122232425262728293031323334
  1. // Navs
  2. .nav {
  3. display: flex;
  4. flex-direction: column;
  5. list-style: none;
  6. margin: $unit-1 0;
  7. .nav-item {
  8. a {
  9. color: $gray-color-dark;
  10. padding: $unit-1 $unit-2;
  11. text-decoration: none;
  12. &:focus,
  13. &:hover {
  14. color: $primary-color;
  15. }
  16. }
  17. &.active {
  18. & > a {
  19. color: darken($gray-color-dark, 10%);
  20. font-weight: bold;
  21. &:focus,
  22. &:hover {
  23. color: $primary-color;
  24. }
  25. }
  26. }
  27. }
  28. & .nav {
  29. margin-bottom: $unit-2;
  30. margin-left: $unit-4;
  31. }
  32. }