_custom.scss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. // Your custom SCSS should be written here...
  2. .grav-lightslider {
  3. .lSSlideOuter {
  4. .lSPager.lSpg {
  5. > li a {
  6. z-index: 1;
  7. }
  8. }
  9. }
  10. }
  11. #body > script:first-child + .grav-lightslider {
  12. margin-top: -3rem;
  13. }
  14. #header #navbar ul.navigation li a {
  15. font-family: "Sarabun", sans-serif;
  16. font-weight: 400;
  17. text-transform: uppercase;
  18. font-size: 1rem;
  19. display: inline-block;
  20. padding: 0.3rem 0.8rem;
  21. -webkit-backface-visibility: hidden;
  22. // float: left;
  23. }
  24. #header #navbar ul.navigation li:after {
  25. display: inline;
  26. content: "|";
  27. padding: 0 .1em;
  28. vertical-align: top;
  29. }
  30. #header #navbar ul.navigation li a:hover {
  31. font-weight: 900;
  32. }
  33. #header.scrolled #navbar ul.navigation li a {
  34. color: black !important;
  35. font-size: 0.95rem;
  36. transition:0.6s ease-in-out;
  37. }
  38. #logo {
  39. display: flex;
  40. flex-direction: row;
  41. }
  42. #logo img {
  43. padding: 0.5rem;
  44. }
  45. .callout {
  46. padding-top: 0.5rem;
  47. }
  48. .callout h1, h2, h3, p {
  49. text-align: left !important;
  50. }
  51. .callout h1 {
  52. padding-bottom: 5rem;
  53. }
  54. .titre_bsn {
  55. display: block;
  56. margin-left: 40%;
  57. margin-right: 15%;
  58. }
  59. .titre_bsn h1 {
  60. text-align: left;
  61. padding-bottom: 3rem;
  62. }
  63. // fond images en grille pour parallax
  64. #background {
  65. background-color: #d5d2d1;
  66. display: grid;
  67. grid-template-columns: repeat(5, 1fr);
  68. grid-template-rows: repeat(8, 5vw);
  69. grid-gap: 15px;
  70. }
  71. #background img {
  72. width: 100% !important;
  73. height: 100%;
  74. object-fit: cover;
  75. }
  76. .item-1 {
  77. grid-column-start: 1;
  78. grid-column-end: 3;
  79. grid-row-start: 1;
  80. grid-row-end: 5;
  81. }
  82. .item-2 {
  83. grid-column-start: 3;
  84. grid-column-end: 5;
  85. grid-row-start: 1;
  86. grid-row-end: 5;
  87. }
  88. .item-3 {
  89. grid-column-start: 5 ;
  90. grid-column-end: 1;
  91. grid-row-start: 9;
  92. grid-row-end: 6;
  93. }
  94. .item-4 {
  95. grid-column-start: 1;
  96. grid-column-end: 3;
  97. grid-row-start: 1;
  98. grid-row-end: 3;
  99. }
  100. .programmes {
  101. display: flex;
  102. flex-wrap: wrap;
  103. background-color: #d5d2d1;
  104. justify-content: center;
  105. padding-left: 15%;
  106. padding-right: 15%;
  107. padding-top: 8rem;
  108. padding-bottom: 8rem;
  109. }
  110. .programme {
  111. max-width: 35%;
  112. // min-width:
  113. padding: 1.5rem;
  114. background-color: white;
  115. margin: 0.4rem;
  116. }
  117. .programme h4 {
  118. text-transform: uppercase;
  119. line-height: 1.2;
  120. }
  121. .programme img {
  122. max-height: 15%;
  123. }
  124. .programme p {
  125. font-family: $font-family-default;
  126. font-weight: 500;
  127. font-style: italic;
  128. }
  129. .programmes :hover {
  130. background-color: #000;
  131. color: #ffffff;
  132. transition:0.2s ease-in-out;
  133. }
  134. // .parallax {
  135. // display: block;
  136. // }
  137. //
  138. // /* .titre_nsb {
  139. // display: block;
  140. // position: absolute;
  141. // margin-right: 39%;
  142. // } */
  143. //
  144. //
  145. // /* .ressources {
  146. // display: flex;
  147. // flex-wrap: wrap;
  148. // justify-content: space-between;
  149. // background-color: #ffffff;
  150. // padding-top: 8rem;
  151. // padding-right: 5rem;
  152. // padding-left: 5rem;
  153. // } */
  154. //
  155. // /* .ressource {
  156. // max-width: 20%;
  157. // margin-block: 5rem;
  158. // flex-wrap: wrap;
  159. // flex: 0 1 15%;
  160. // } */
  161. //
  162. //
  163. // /*
  164. // .ressources h1 {
  165. // text-transform: uppercase;
  166. // background-color: #fff;
  167. // color: #000;
  168. // padding-top: 5rem;
  169. // padding-bottom: 6rem;
  170. // } */
  171. //
  172. // /* .ressources {
  173. // display: grid;
  174. // grid-template-columns: repeat(4, 1fr);
  175. // grid-gap: 3rem;
  176. // grid-auto-rows: auto;
  177. // background-color: #ffffff;
  178. // padding-top: 18rem;
  179. // justify-items: center;
  180. // position: relative;
  181. // margin-right: 10%;
  182. // margin-bottom: 6rem;
  183. // margin-left: 10%;
  184. // } */
  185. //
  186. // /* .ressources img {
  187. // max-width: 50%;
  188. // } */
  189. //
  190. // /* .ressource h1 h2 h3 h4 {
  191. // margin: 0.2rem;
  192. // } */
  193. .gouvernance {
  194. background-color: #000;
  195. color: #ffffff;
  196. text-transform: uppercase;
  197. padding-bottom: 6rem;
  198. padding-top: 2rem;
  199. }
  200. #mozaique_personnes {
  201. display: flex !important;
  202. flex-direction: row;
  203. flex-wrap: wrap;
  204. // margin-left: 15%;
  205. // padding-right: 15%;
  206. width: 70%;
  207. margin: auto;
  208. }
  209. .mozaique_personnes {
  210. background-color: #d5d2d1;
  211. }
  212. .mozaique_personnes h3 {
  213. padding-top: 3rem;
  214. padding-left: 15%;
  215. padding-right: 15%;
  216. font-family: "Sarabun";
  217. font-weight: 800;
  218. font-size: 1rem;
  219. line-height: 20px;
  220. text-align: left;
  221. }
  222. // .personne {
  223. // // display: flex;
  224. // // flex-direction: row;
  225. // width: 50%;
  226. //
  227. // }
  228. .mozaique {
  229. // background-color: #fff;
  230. display: flex;
  231. flex-direction: row;
  232. width: 50%;
  233. // max-width: 35%;
  234. padding: 0.5rem;
  235. // align-items: stretch;
  236. // position: relative;
  237. // margin-right: 34%;
  238. // margin-bottom: 6rem;
  239. // margin-left: 15%;
  240. // height: auto;
  241. }
  242. // .personne {
  243. // width: 45%;
  244. // display: flex;
  245. // flex-direction: row;
  246. // }
  247. // .mozaique :hover {
  248. // background-color: #000;
  249. // color: #fff;
  250. // }
  251. .info {
  252. background-color: #fff;
  253. display:flex;
  254. flex-direction: column;
  255. font-family: $font-family-default;
  256. width: 30rem;
  257. height: 30rem;
  258. }
  259. // comment faire pour donner une largueur à .info 2 fois plus grande que .portrait? les img de .portrait ne semblent pas vouloir bouger...
  260. .info:hover {
  261. background-color: #000;
  262. color: #fff;
  263. transition:0.2s ease-in-out;
  264. }
  265. .info h5 {
  266. font-weight: 900;
  267. font-size: 1.3rem;
  268. margin: 0;
  269. padding-top: 1rem;
  270. padding-left: 1rem;
  271. }
  272. .info h6 {
  273. font-weight: 300;
  274. font-size: 1.1rem;
  275. font-style: italic;
  276. margin: 0;
  277. padding-left: 1rem;
  278. padding-bottom: 1rem;
  279. }
  280. .portrait {
  281. // max-width:50% !important;
  282. background: transparent !important;
  283. }
  284. .portrait img {
  285. max-width: 15rem !important;
  286. }
  287. img.portrait {
  288. width: 20%;
  289. }
  290. .bouton {
  291. border: solid;
  292. background-color: transparent;
  293. text-transform: uppercase;
  294. align-self: flex-end;
  295. margin-right: 2rem;
  296. }
  297. //
  298. // .bouton :hover {
  299. // background-color: #000;
  300. // }
  301. // pop in biographie
  302. #modal{
  303. position: fixed;
  304. z-index: 1;
  305. top: 0;
  306. right: 0;
  307. bottom: 0;
  308. left: 0;
  309. display: none;
  310. }
  311. #modal.open{
  312. display: block;
  313. }
  314. #modal .mask{
  315. background: none !important;
  316. opacity: 1;
  317. position: absolute;
  318. top: 0;
  319. right: 0;
  320. bottom: 0;
  321. left: 0;
  322. }
  323. // #body .grey {
  324. // opacity: 0.5;
  325. // }
  326. #modal .container{
  327. position: relative;
  328. background: white !important;
  329. top: 50%;
  330. left: 25%;
  331. transform: translateX(-50%) translateY(-50%);
  332. width: 50%;
  333. height: content;
  334. min-height: 50px;
  335. border: solid;
  336. }
  337. #modal .container .message{
  338. padding: 5% 10% 5% 5%;
  339. }
  340. #modal .container a.close{
  341. position: absolute;
  342. right: 5%;
  343. top:5%;
  344. color: black;
  345. font-size: 30px;
  346. }
  347. #modal .container a.close:hover{
  348. color: black;
  349. }