header.scss 5.8 KB

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