header.scss 5.7 KB

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