header.scss 5.1 KB

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