_header.scss 3.5 KB

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