navbar.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. @import '_variables';
  2. nav {
  3. display: flex;
  4. align-items: center;
  5. position: fixed;
  6. background-color: var(--bg_overlays);
  7. box-shadow: 0 0 4px $shadow;
  8. padding: 0;
  9. width: 100%;
  10. height: 50px;
  11. z-index: 1000;
  12. font-size: 16px;
  13. a, .icon-button button {
  14. color: var(--fg_nav);
  15. }
  16. }
  17. .inner-nav {
  18. margin: auto;
  19. box-sizing: border-box;
  20. padding: 0 10px;
  21. display: flex;
  22. align-items: center;
  23. flex-basis: 920px;
  24. height: 50px;
  25. }
  26. .site-name {
  27. font-size: 15px;
  28. font-weight: 600;
  29. line-height: 1;
  30. &:hover {
  31. color: var(--accent_light);
  32. text-decoration: unset;
  33. }
  34. }
  35. .site-logo {
  36. display: block;
  37. width: 35px;
  38. height: 35px;
  39. }
  40. .nav-item {
  41. display: flex;
  42. flex: 1;
  43. line-height: 50px;
  44. height: 50px;
  45. overflow: hidden;
  46. flex-wrap: wrap;
  47. align-items: center;
  48. &.right {
  49. text-align: right;
  50. justify-content: flex-end;
  51. }
  52. &.right a {
  53. padding-left: 4px;
  54. &:hover {
  55. color: var(--accent_light);
  56. text-decoration: unset;
  57. }
  58. }
  59. }
  60. .lp {
  61. height: 14px;
  62. margin-top: 2px;
  63. display: block;
  64. fill: var(--fg_nav);
  65. &:hover {
  66. fill: var(--accent_light);
  67. }
  68. }
  69. .icon-info:before {
  70. margin: 0 -3px;
  71. }
  72. .icon-cog {
  73. font-size: 15px;
  74. }