Header.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. .Header {
  2. &__Logo {
  3. font-family: inherit;
  4. text-decoration: none;
  5. font-size: 27px;
  6. letter-spacing: 13px;
  7. font-weight: 400;
  8. color: rgba(0, 0, 0, 0.54);
  9. user-select: none;
  10. text-transform: uppercase;
  11. @media (max-width: 1100px) {
  12. &{
  13. font-size: 24px;
  14. letter-spacing: 10px;
  15. }
  16. }
  17. @media (max-width: 425px) {
  18. &{
  19. font-size: 22px;
  20. letter-spacing: 7px;
  21. }
  22. }
  23. }
  24. &__Icons {
  25. margin-right: 30px;
  26. @media (max-width: 1100px) {
  27. &{
  28. margin-right: 20px;
  29. }
  30. }
  31. button {
  32. @media (max-width: 1100px) {
  33. &{
  34. padding: 5px;
  35. }
  36. }
  37. &:hover{
  38. transform: scale(1.2);
  39. background-color: transparent;
  40. transition: all 0.3s;
  41. }
  42. }
  43. }
  44. &__Links {
  45. display: flex;
  46. flex-direction: row;
  47. justify-content: center;
  48. align-items: center;
  49. }
  50. &__Link {
  51. margin: 0 10px;
  52. font-weight: 500;
  53. font-size: 13px;
  54. letter-spacing: 2px;
  55. text-decoration: none;
  56. color: inherit;
  57. text-align: center;
  58. text-transform: uppercase;
  59. position: relative;
  60. @media (max-width: 1100px) {
  61. &{
  62. margin: 0 5px;
  63. letter-spacing: 1px;
  64. }
  65. }
  66. &:after {
  67. content: '';
  68. display: block;
  69. position: absolute;
  70. width: 100%;
  71. left: 0;
  72. bottom: -10px;
  73. height: 2px;
  74. background-color: #fff;
  75. opacity: 0;
  76. visibility: hidden;
  77. transition: opacity 0.3s linear, visibility 0.3s linear, color 0.15s linear, border-color 0.15s linear, background-color 0.15s linear, box-shadow 0.15s linear;
  78. }
  79. &:hover:after {
  80. opacity: 1;
  81. visibility: visible;
  82. }
  83. }
  84. &__Burger {
  85. background-color: rgba(0, 0, 0, 0.2);
  86. .MuiPaper-root {
  87. width: 100%;
  88. background-color: rgba(0, 0, 0, 0.8);
  89. a {
  90. color: #fff;
  91. }
  92. li {
  93. display: flex;
  94. justify-content: center;
  95. max-height: 40px;
  96. width: 100%;
  97. button {
  98. text-align: center;
  99. }
  100. &:last-child{
  101. display: flex;
  102. justify-content: space-around;
  103. }
  104. }
  105. }
  106. }
  107. }
  108. #menu-appbar {
  109. .MuiPaper-root {
  110. background-color: rgba(0, 0, 0, 0.8);
  111. li {
  112. display: flex;
  113. justify-content: center;
  114. max-height: 40px;
  115. width: 100%;
  116. button {
  117. text-align: center;
  118. }
  119. &:last-child{
  120. display: flex;
  121. justify-content: space-around;
  122. }
  123. }
  124. }
  125. }