_header.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. .background{
  2. position: absolute;
  3. top: 0;
  4. width: 100%;
  5. left: 0;
  6. display: inline-flex;
  7. & > div {
  8. width: 55%;
  9. display: inline-block;
  10. position: relative;
  11. padding-bottom: 100%;
  12. vertical-align: middle;
  13. }
  14. .fond-g{
  15. svg{
  16. width: 110%;
  17. display: inline-block;
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. }
  22. }
  23. .fond-d{
  24. svg{
  25. width: 110%;
  26. display: inline-block;
  27. position: absolute;
  28. top: 0;
  29. right: 0;
  30. }
  31. }
  32. }
  33. header{
  34. z-index: 999;
  35. position: relative;
  36. margin-bottom: 100px;
  37. nav{
  38. z-index: 999;
  39. position: fixed;
  40. right: 50px;
  41. top: 2px;
  42. ul{
  43. text-align: right;
  44. li{
  45. text-transform: uppercase;
  46. display: inline-block;
  47. margin-left: 10px;
  48. }
  49. }
  50. }
  51. .title{
  52. transition: background 1s;
  53. background: none;
  54. z-index: 998;
  55. position: fixed;
  56. width: auto;
  57. left: 0px;
  58. right: 0px;
  59. padding: 20px 50px 0 50px;
  60. .filet{
  61. z-index: -1;
  62. width: auto;
  63. height: 2px;
  64. background: black;
  65. position: absolute;
  66. top: 65px;
  67. left: 0px;
  68. right: 0px;
  69. }
  70. text-align: center;
  71. h1{
  72. margin-top: 0px;
  73. white-space:nowrap;
  74. z-index: 1;
  75. display: inline-flex;
  76. width: 100%;
  77. align-items: center;
  78. &::after{
  79. right: 0;
  80. content: " ";
  81. width: 50%;
  82. height: 0px;
  83. border: 1px solid $blue;
  84. margin-left: 20px;
  85. }
  86. &::before{
  87. left: 0;
  88. content: " ";
  89. width: 50%;
  90. height: 0px;
  91. border: 1px solid $blue;
  92. margin-right: 20px;
  93. }
  94. }
  95. &.Hc{
  96. background: white;
  97. transition: background 1s;
  98. }
  99. }
  100. .logo{
  101. margin: 150px 0 50px 0;
  102. width: 100%;
  103. display: inline-flex;
  104. justify-content: space-around;
  105. align-items: center;
  106. & > div{
  107. width: calc(100% / 3);
  108. min-width: 300px;
  109. margin-left: 100px;
  110. }
  111. & > svg{
  112. width: calc(100% / 3);
  113. min-width: 300px;
  114. margin: 0 30px;
  115. height: 300px;
  116. }
  117. & > section{
  118. width: calc(100% / 3);
  119. min-width: 300px;
  120. margin-right: 100px;
  121. }
  122. #user{
  123. div{
  124. text-align: right;
  125. p{
  126. margin:0px;
  127. }
  128. }
  129. }
  130. .why_lsdo{
  131. display: inline-flex;
  132. flex-direction: column;
  133. position: relative;
  134. h3{
  135. z-index: 1;
  136. position: absolute;
  137. cursor: pointer;
  138. margin: 0;
  139. transform: rotate(-15deg) translateY(0px);
  140. }
  141. section{
  142. position: absolute;
  143. padding: 0 10px;
  144. opacity: 0;
  145. top: -130px;
  146. height: 300px;
  147. overflow: auto;
  148. p{
  149. pointer-events: none;
  150. }
  151. &.open{
  152. display: block!important;
  153. }
  154. }
  155. &>svg{
  156. width: 100px;
  157. height: 20px;
  158. position: absolute;
  159. transform: rotate(-15deg) translateY(50px);
  160. }
  161. }
  162. }
  163. }