Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

208 lignes
4.0 KiB

  1. header {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. right: 0;
  6. width: 100%;
  7. z-index: 99;
  8. .inside {
  9. max-width: 1200px;
  10. margin: 0 auto;
  11. padding: 2rem 15px;
  12. background: $bg-color;
  13. height: 7rem;
  14. .node_wrapper {
  15. display: flex;
  16. justify-content: space-between;
  17. max-width: 1050px;
  18. margin: auto;
  19. }
  20. .logo {
  21. svg {
  22. max-width: 265px;
  23. @media (min-width: 576px) {
  24. max-width: 343px;
  25. }
  26. }
  27. }
  28. .mod_changelanguage {
  29. margin-right: 4rem;
  30. ul {
  31. margin: 0;
  32. padding: 0;
  33. li {
  34. list-style-type: none;
  35. display: inline-block;
  36. margin: 0 0.5rem;
  37. color: $main-color;
  38. a {
  39. color: #000;
  40. &:hover {
  41. text-decoration: none;
  42. }
  43. }
  44. &.active {
  45. position: relative;
  46. &:after {
  47. content: "";
  48. display: block;
  49. position: absolute;
  50. left: 0;
  51. bottom: 2px;
  52. width: 100%;
  53. height: 3px;
  54. background: $main-color;
  55. }
  56. }
  57. }
  58. }
  59. }
  60. .hamburg {
  61. display: block;
  62. position: relative;
  63. width: 27px;
  64. height: 20px;
  65. cursor: pointer;
  66. }
  67. .line {
  68. position: absolute;
  69. left:10px;
  70. width: 27px;
  71. display: block;
  72. transition: 0.5s;
  73. transform-origin: center;
  74. border: 2px solid $main-color;
  75. border-radius: 8px;
  76. }
  77. .line:nth-child(1) { top: 0; }
  78. .line:nth-child(2) { top: 8px; }
  79. .line:nth-child(3) { top: 16px; }
  80. .hamburg.checked .line:nth-child(1){
  81. transform: translateY(12px) rotate(-45deg);
  82. }
  83. .hamburg.checked .line:nth-child(2){
  84. opacity:0;
  85. }
  86. .hamburg.checked .line:nth-child(3){
  87. transform: translateY(-12px) rotate(45deg);
  88. }
  89. }
  90. }
  91. .nav-icon {
  92. cursor: pointer;
  93. width: 27px;
  94. height: 20px;
  95. margin-left: 1rem;
  96. div,
  97. &:before,
  98. &:after {
  99. background-color: $main-color;
  100. content: '';
  101. display: block;
  102. height: 4px;
  103. margin: 4px 0;
  104. transition: all .2s ease-in-out;
  105. border-radius: 2px;
  106. }
  107. }
  108. .overlay {
  109. height: 0%;
  110. width: 100%;
  111. position: fixed;
  112. z-index: -1;
  113. top: 0;
  114. left: 0;
  115. background-color: $bg-color;
  116. overflow-y: auto;
  117. transition: 0.5s;
  118. @media (min-width: 992px) {
  119. background-image: url(../img/menu_augen.svg);
  120. background-repeat: no-repeat;
  121. }
  122. nav {
  123. ul {
  124. margin: 0;
  125. padding: 0;
  126. li {
  127. list-style-type: none;
  128. a, strong {
  129. display: block;
  130. @include futura-bold;
  131. font-size: size(36);
  132. text-align: right;
  133. text-transform: uppercase;
  134. line-height: size(48);
  135. color: #000;
  136. }
  137. strong {
  138. color: #f1f1f1;
  139. }
  140. }
  141. }
  142. &.mod_customnav {
  143. margin-top: 6rem;
  144. ul {
  145. li {
  146. a, strong {
  147. font-size: size(14);
  148. line-height: size(19);
  149. }
  150. }
  151. }
  152. }
  153. }
  154. }
  155. body.nav-open {
  156. .overlay {
  157. height: 100%;
  158. nav {
  159. ul li {
  160. }
  161. ul.level_2 li {
  162. animation: none;
  163. }
  164. }
  165. }
  166. .nav-icon:before {
  167. transform: translateY(8px) rotate(135deg);
  168. }
  169. .nav-icon:after {
  170. transform: translateY(-8px) rotate(-135deg);
  171. }
  172. .nav-icon div {
  173. transform: scale(0);
  174. }
  175. }
  176. .overlay-content {
  177. position: relative;
  178. top: 100px;
  179. width: 100%;
  180. text-align: center;
  181. padding-top: 15px;
  182. max-width: 810px;
  183. margin: auto;
  184. padding-right: 25px;
  185. @media (min-width: 992px) {
  186. padding-right: 0;
  187. }
  188. }
  189. .overlay a {
  190. text-decoration: none;
  191. font-size: size(18);
  192. font-weight: 400;
  193. color: #fff;
  194. display: block;
  195. transition: 0.3s;
  196. }
  197. .overlay a:hover, .overlay a:focus {
  198. color: #f1f1f1;
  199. }