Header.scss 2.2 KB

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