header.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .header {
  2. display: flex;
  3. align-items: center;
  4. justify-content: space-between;
  5. height: 5.25rem;
  6. width: 100%;
  7. padding: 0 3.125rem;
  8. position: fixed;
  9. top: 0;
  10. left: 0;
  11. right: 0;
  12. z-index: 1000;
  13. }
  14. .header-logo {
  15. width: 14.9375rem;
  16. height: 5.25rem;
  17. }
  18. .header-nav {
  19. display: flex;
  20. align-items: center;
  21. justify-content: space-between;
  22. height: 5.25rem;
  23. width: 43.75rem;
  24. }
  25. .header-nav > a {
  26. font-size: 1rem;
  27. font-weight: 400;
  28. color: var(--color);
  29. text-decoration: none;
  30. display: block;
  31. height: 5.25rem;
  32. line-height: 5.25rem;
  33. }
  34. .header-nav > .current {
  35. border-bottom: 0.125rem solid var(--color);
  36. }
  37. /* .nav :not(:last-child) {
  38. margin-right: 0.625rem;
  39. } */
  40. .header-language {
  41. display: flex;
  42. align-items: center;
  43. justify-content: space-between;
  44. width: 17.5rem;
  45. height: 5.25rem;
  46. padding-left: 7.5rem;
  47. font-size: 1rem;
  48. font-weight: 400;
  49. user-select: none;
  50. }
  51. .header-language > span {
  52. opacity: 0.6;
  53. color: var(--color);
  54. }
  55. .header-language > .current {
  56. opacity: 1;
  57. cursor: default;
  58. }
  59. .header-language > .no-current {
  60. cursor: pointer;
  61. }