header.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. header{
  2. max-height: 125px;
  3. .row{
  4. background: white;
  5. max-height: inherit;
  6. border-bottom: 1px solid black;
  7. padding-left: 40px;
  8. @media screen and (max-width: 300px) {
  9. padding-left: 20px;
  10. }
  11. #block-colloque2024-logorepublique, #block-colloque2024-logoepau{
  12. max-height: inherit;
  13. & > div{
  14. max-height: inherit;
  15. a{
  16. display: block;
  17. max-height: inherit;
  18. img{
  19. width: auto;
  20. height: 125px;
  21. padding-bottom: 0.5rem;
  22. padding-top: 0.5rem;
  23. @media screen and (max-width: 300px) {
  24. width: 100px;
  25. object-fit: contain;
  26. }
  27. }
  28. }
  29. }
  30. &.is-active{
  31. z-index: 10000;
  32. }
  33. }
  34. #block-colloque2024-logoepau{
  35. margin-right: 2rem;
  36. }
  37. #block-renderedsitesettingsblock-2{
  38. width: 25%;
  39. border-left: 1px solid black;
  40. padding: 0;
  41. justify-content: end;
  42. @media screen and (max-width: 300px) {
  43. display: none;
  44. }
  45. a{
  46. display: flex;
  47. margin: auto;
  48. margin-left: 1rem;
  49. }
  50. @media screen and (min-width: 1200px) {
  51. display: flex;
  52. }
  53. .site_setting_entity{
  54. display: flex;
  55. flex-direction: column;
  56. h1{
  57. order: 2;
  58. width: 60%;
  59. color: black;
  60. padding-right: 1rem;
  61. font-size: 1.6rem;
  62. text-align: left;
  63. margin: auto 0;
  64. line-height: 0.95;
  65. }
  66. .__info_colloque{
  67. width: fit-content;
  68. order: 1;
  69. height: auto;
  70. display: flex;
  71. flex-direction: row;
  72. &>div{
  73. height: auto;
  74. &:first-child{
  75. order: 2;
  76. color: black;
  77. white-space: nowrap;
  78. font-family: "Mariannebold";
  79. text-transform: uppercase;
  80. padding-left: 0.5rem;
  81. }
  82. &:last-child{
  83. order: 1;
  84. color: black;
  85. width: min-content;
  86. margin-bottom: 0;
  87. text-transform: uppercase;
  88. }
  89. }
  90. }
  91. }
  92. }
  93. #block-colloque2024-mainnavigation{
  94. width: max-content;
  95. .burger{
  96. padding-top: 0.25rem;
  97. z-index: 9999;
  98. }
  99. .nav-main{
  100. display: none;
  101. @media screen and (min-width: 1200px) {
  102. display: block;
  103. ul{
  104. margin-bottom: 0;
  105. flex-wrap: wrap;
  106. li{
  107. margin: 0 0.5rem;
  108. font-size: 1.3rem !important;
  109. &:not(:last-child){
  110. &:after{
  111. display: inline-block;
  112. content: "|";
  113. margin-left: 0.5rem;
  114. }
  115. }
  116. }
  117. }
  118. }
  119. &.is-active{
  120. display: block;
  121. position: fixed;
  122. width: 100vw;
  123. height: 100vh;
  124. left: 0;
  125. top: 0;
  126. background: white;
  127. z-index: 9999;
  128. @media screen and (min-width: 576px) {
  129. height: auto;
  130. ul{
  131. margin: 130px 0 50px 0;
  132. }
  133. li{
  134. font-size: 1.7rem;
  135. line-height: 3rem;
  136. padding: 0 15px;
  137. }
  138. }
  139. ul{
  140. display: flex;
  141. justify-content: center;
  142. flex-direction: column;
  143. height: 100%;
  144. align-items: center;
  145. li{
  146. font-size: 1.5rem;
  147. line-height: 3rem;
  148. padding: 0 15px;
  149. @media screen and (min-width: 360px) {
  150. width: 100%;
  151. &::before{
  152. display: inline-block;
  153. content: " ";
  154. width: 0%;
  155. transition: width 1s ease;
  156. height: 1px;
  157. background: $color2024;
  158. }
  159. &:hover{
  160. &::before{
  161. width: 10%;
  162. transition: all 1s ease;
  163. }
  164. }
  165. }
  166. }
  167. }
  168. }
  169. }
  170. }
  171. }
  172. }
  173. #block-colloque2024-mainnavigation{
  174. // border-left: 1px solid black;
  175. display: flex;
  176. align-items: center;
  177. justify-content: flex-end;
  178. .burger{
  179. display: block;
  180. margin: auto;
  181. @media screen and (min-width: 1200px) {
  182. display: none;
  183. }
  184. &.is-active{
  185. z-index: 999;
  186. }
  187. }
  188. .nav-main{
  189. display: none;
  190. height: auto;
  191. @media screen and (min-width: 1200px) {
  192. display: flex;
  193. }
  194. }
  195. }
  196. header.front{
  197. #block-colloque2024-branding{
  198. width: 21rem;
  199. position: relative;
  200. z-index: 9999;
  201. a{
  202. max-height: 8rem!important;
  203. }
  204. &.is-active{
  205. overflow: inherit;
  206. &>div{
  207. max-height: 115px;
  208. }
  209. }
  210. }
  211. #block-renderedsitesettingsblock-2{
  212. display: none;
  213. }
  214. }