header.scss 5.9 KB

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