_header.scss 3.7 KB

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