_themes.scss 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006
  1. .page-node-type-theme, .page-node-type-projet{
  2. ///// menu left
  3. .block-region-first{
  4. .field_programme{
  5. display: none;
  6. }
  7. #programme_toc-block_10{
  8. .views-row{
  9. padding-left: 1rem;
  10. }
  11. h3{
  12. display: none;
  13. padding-left: .4rem;
  14. margin-bottom: .4rem;
  15. font-weight: 600;
  16. cursor: pointer;
  17. }
  18. }
  19. // @include breakpoint(small down) {
  20. // text-align: center;
  21. // }
  22. position: absolute;
  23. top: 0;
  24. left: 0;
  25. width: 22%;
  26. padding: 1rem 1.5rem ;
  27. .prog-ressources-link{
  28. font-family: "duke";
  29. font-size: $font-large;
  30. cursor: pointer;
  31. transition: all 250ms;
  32. text-decoration: none;
  33. &:hover{
  34. padding: 0 0 0 .3rem;
  35. }
  36. }
  37. div[id=""] {
  38. @include breakpoint(small down) {
  39. //display: none;
  40. }
  41. }
  42. .views-element-container{
  43. @include breakpoint(small down) {
  44. display: block;
  45. // &:not(:first-child){
  46. // margin-left: 1rem;
  47. // }
  48. }
  49. header{
  50. font-family: "duke";
  51. font-size: $font-large;
  52. text-transform: uppercase;
  53. cursor: pointer;
  54. transition: all 250ms;
  55. line-height: 1.1;
  56. margin-bottom: .5rem;
  57. &:hover{
  58. padding: 0 0 0 .3rem;
  59. }
  60. }
  61. .views-row, .view-grouping{
  62. display: none;
  63. padding: 0 0 0 1.2rem;
  64. margin-bottom: .1rem;
  65. a{
  66. text-decoration: none;
  67. &:hover{
  68. text-decoration: underline;
  69. }
  70. }
  71. }
  72. .views-row{
  73. padding: 0;
  74. }
  75. }
  76. }
  77. /////fin menu left
  78. // couleur popsu
  79. .field_logo{
  80. display: block;
  81. }
  82. .field_programme>div{
  83. &.programme-1{
  84. background: $col-1;
  85. }
  86. &.programme-2{
  87. background: $col-2;
  88. }
  89. &.programme-3{
  90. background: $col-eur;
  91. }
  92. &.programme-4{
  93. background: $col-1;
  94. }
  95. &.programme-5{
  96. background: $col-mond;
  97. }
  98. &.programme-6{
  99. background: $col-ter;
  100. }
  101. &.programme-7{
  102. background: $col-met;
  103. }
  104. &.programme-883{
  105. background: $col-transition;
  106. }
  107. &.programme-878{
  108. background: $col-exode;
  109. }
  110. }
  111. //fin couleurp popsu
  112. // .block-region-first{
  113. // padding: 1rem;
  114. // .field_programme{
  115. // background: black !important;
  116. // font-weight: 600;
  117. // a{
  118. // text-decoration: none;
  119. // &:hover{
  120. // text-decoration: underline;
  121. // }
  122. // }
  123. // }
  124. // }
  125. //contenu
  126. .block-region-second{
  127. #node\:title:before{
  128. clear: both;
  129. display: block;
  130. width: 100%;
  131. font-size: $font-small;
  132. text-transform: uppercase;
  133. margin-bottom: .8rem;
  134. }
  135. ///
  136. .field_programme{
  137. display: flex;
  138. flex-wrap: wrap;
  139. margin-bottom: 1rem;
  140. a{
  141. text-decoration: none;
  142. }
  143. div{
  144. display: inline-block;
  145. color: white;
  146. font-weight: 600;
  147. padding: .3rem .5rem;
  148. margin-right: .5rem;
  149. margin-bottom: .5rem;
  150. }
  151. }
  152. ///
  153. #node\:title{
  154. margin: 0;
  155. font-size: $font-large;
  156. line-height: 1.3;
  157. font-weight: 600;
  158. margin-bottom: 1rem;
  159. }
  160. #node\:field_image,.field_diaporama,.field_image{
  161. width: 150%;
  162. margin-bottom: 1rem;
  163. max-height: 19rem;
  164. overflow: hidden;
  165. @include breakpoint(small down) {
  166. width: 100%;
  167. }
  168. img{
  169. width: 100%;
  170. margin-top: -10%;
  171. }
  172. }
  173. .body{
  174. font-size: $font-medium;
  175. height: 15rem;
  176. overflow: hidden;
  177. position: relative;
  178. -webkit-transition: all 250ms ease;
  179. -moz-transition: all 250ms ease;
  180. -o-transition: all 250ms ease;
  181. transition: all 250ms ease;
  182. footer{
  183. position:absolute;
  184. bottom:0;
  185. left:0;
  186. z-index: 1;
  187. width: 100%;
  188. text-align: center;
  189. a{
  190. display: inline-block;
  191. margin: 0 auto;
  192. background: black;
  193. color: white;
  194. cursor:pointer;
  195. font-family: "trueno";
  196. font-weight: 500;
  197. padding: .3rem .5rem;
  198. font-size: $font-small;
  199. text-decoration: none;
  200. text-transform: uppercase;
  201. &:hover{
  202. color:black;
  203. background: white;
  204. }
  205. }
  206. }
  207. }
  208. .body:after{
  209. content: "";
  210. opacity: 1;
  211. position: absolute;
  212. top: 0; bottom: 0; left: -15px; right: -15px;
  213. box-shadow: inset $bck-col 0 -2rem 2rem;
  214. }
  215. .body_open{
  216. height: auto !important;
  217. padding: 0 0 1.8rem 0;
  218. &:after{
  219. opacity: 0;
  220. -webkit-transition: all 250ms ease;
  221. -moz-transition: all 250ms ease;
  222. -o-transition: all 250ms ease;
  223. transition: all 250ms ease;
  224. }
  225. -webkit-transition: all 250ms ease;
  226. -moz-transition: all 250ms ease;
  227. -o-transition: all 250ms ease;
  228. transition: all 250ms ease;
  229. }
  230. .body_open:after{
  231. display: none;
  232. }
  233. .field_textes{
  234. //*****////
  235. .paragraph{
  236. // border-top: 1px solid black;
  237. border-bottom: 3px dotted gray;
  238. padding: 1rem 0;
  239. .field_titre{
  240. font-size: $font-big;
  241. font-weight: 600;
  242. text-transform: initial;
  243. cursor: pointer;
  244. display: grid;
  245. grid-template-columns: 95% 5%;
  246. align-content: center;
  247. // margin-top: 1rem;
  248. }
  249. .field_titre:after{
  250. content: '▼';
  251. -webkit-transition: all 250ms ease;
  252. -moz-transition: all 250ms ease;
  253. -o-transition: all 250ms ease;
  254. transition: all 250ms ease;
  255. align-self: center;
  256. justify-self: center;
  257. }
  258. .rotate:after{
  259. transform: rotate(180deg);
  260. -webkit-transition: all 250ms ease;
  261. -moz-transition: all 250ms ease;
  262. -o-transition: all 250ms ease;
  263. transition: all 250ms ease;
  264. }
  265. .field_texte{
  266. height: auto;
  267. position: relative;
  268. h2{
  269. text-transform: inherit;
  270. }
  271. p{
  272. margin-top: .5rem;
  273. }
  274. -webkit-transition: all 250ms ease;
  275. -moz-transition: all 250ms ease;
  276. -o-transition: all 250ms ease;
  277. transition: all 250ms ease;
  278. }
  279. .crop{
  280. height: 0;
  281. overflow: hidden;
  282. display: none;
  283. -webkit-transition: all 250ms ease;
  284. -moz-transition: all 250ms ease;
  285. -o-transition: all 250ms ease;
  286. transition: all 250ms ease;
  287. }
  288. }
  289. }
  290. .paragraph--type--equipes{
  291. .field_type_equipe{
  292. margin: .8rem 0 .3rem 0;
  293. }
  294. }
  295. .paragraph--type--personne{
  296. //background-color: red;
  297. display: flex;
  298. flex-wrap: wrap;
  299. .field_nom, .field_prenom{
  300. font-weight: 600;
  301. }
  302. .field_fonction{
  303. width: 100%;
  304. }
  305. .field_nom{
  306. margin-left: .2rem;
  307. }
  308. }
  309. }
  310. //end contenus central
  311. //menu droite
  312. .block-region-third{
  313. margin-top: 16rem;
  314. @include breakpoint(small down) {
  315. margin-top: 2rem;
  316. }
  317. #node\:field_evenements_lies{
  318. article{
  319. display: grid;
  320. >div{
  321. //vgrid-row: 1;
  322. text-transform: none;
  323. color: #fff !important;
  324. background: none;
  325. font-size: .6rem;
  326. margin: 0;
  327. padding: .1rem 1rem;
  328. }
  329. }
  330. }
  331. }
  332. // fin menu droite
  333. // gallery de projet sous contenu du théme / ville
  334. .block-region-bottom{
  335. #node\:field_projets_lies, #node\:field_themes_lies, #node\:field_comparatifs_associes{
  336. h2{
  337. text-align: center;
  338. }
  339. .field_projets_lies, .field_themes_lies, .field_comparatifs_associes {
  340. margin-top: 1rem;
  341. display: grid;
  342. grid-template-columns: repeat(5, 1fr);
  343. column-gap: 1rem;
  344. padding: 0 10%;
  345. @include breakpoint(small down) {
  346. grid-template-columns: repeat(2, 1fr);
  347. }
  348. }
  349. article{
  350. margin-bottom: 1.6rem;
  351. .body{
  352. display: none;
  353. }
  354. }
  355. }
  356. }
  357. #node\:field_partenaires{
  358. h2{
  359. // color: black;
  360. font-family: "trueno";
  361. font-size: 1rem;
  362. font-weight: 600;
  363. text-transform: initial;
  364. margin-top: 1rem;
  365. padding: .4rem 0;
  366. border-bottom: 3px dotted gray;
  367. cursor: pointer;
  368. display: grid;
  369. grid-template-columns: 95% 5%;
  370. text-transform: initial;
  371. }
  372. h2:after{
  373. content: '▼';
  374. -webkit-transition: all 250ms ease;
  375. -moz-transition: all 250ms ease;
  376. -o-transition: all 250ms ease;
  377. transition: all 250ms ease;
  378. align-self: center;
  379. justify-self: center;
  380. font-size: $font-big;
  381. }
  382. .rotate:after{
  383. transform: rotate(180deg);
  384. -webkit-transition: all 250ms ease;
  385. -moz-transition: all 250ms ease;
  386. -o-transition: all 250ms ease;
  387. transition: all 250ms ease;
  388. }
  389. .field_partenaires{
  390. display: none;
  391. align-items: center;
  392. justify-items: center;
  393. // grid-template-columns: repeat(5 , 1fr);
  394. grid-template-columns: repeat(4 , 1fr);
  395. margin-top: 0.5rem;
  396. .paragraph{
  397. .field_logo_partenaire{
  398. div:first-child{
  399. display: none;
  400. }
  401. grid-column: 1;
  402. grid-row: 1;
  403. img{
  404. max-width: 80%;
  405. }
  406. }
  407. .field_nom_partenaire{
  408. display: none;
  409. div:first-child{
  410. display: none;
  411. }
  412. grid-column: 2;
  413. grid-row: 1;
  414. }
  415. }
  416. }
  417. }
  418. &.programme-1{
  419. .block-region-second{
  420. h2,h3,h4,h5,h6,.field_titre{
  421. color: $col-1;
  422. }
  423. }
  424. }
  425. &.programme-2{
  426. .block-region-second{
  427. h2,h3,h4,h5,h6,.field_titre{
  428. color: $col-2;
  429. }
  430. }
  431. }
  432. &.programme-3{
  433. .block-region-second{
  434. h2,h3,h4,h5,h6,.field_titre{
  435. color: $col-eur;
  436. }
  437. }
  438. }
  439. &.programme-4{
  440. .block-region-second{
  441. h2,h3,h4,h5,h6,.field_titre{
  442. color: $col-1;
  443. }
  444. }
  445. }
  446. &.programme-5{
  447. .block-region-second{
  448. h2,h3,h4,h5,h6,.field_titre{
  449. color: $col-mond;
  450. }
  451. }
  452. }
  453. &.programme-6{
  454. .block-region-second{
  455. h2,h3,h4,h5,h6,.field_titre{
  456. color: $col-ter;
  457. }
  458. }
  459. }
  460. &.programme-7{
  461. .block-region-second{
  462. h2,h3,h4,h5,h6,.field_titre{
  463. color: $col-met;
  464. }
  465. }
  466. }
  467. &.programme-883{
  468. .block-region-second{
  469. h2,h3,h4,h5,h6,.field_titre{
  470. color: $col-transition;
  471. }
  472. }
  473. }
  474. &.programme-878{
  475. .block-region-second{
  476. h2,h3,h4,h5,h6,.field_titre{
  477. color: $col-exode;
  478. }
  479. }
  480. }
  481. // font-size: $font-small;
  482. //temp hidden
  483. .computed_projets_references, .computed_themes_references{
  484. display: none;
  485. }
  486. }
  487. .page-node-type-projet, .page-node-type-theme{
  488. #node\:field_equipes{
  489. border-bottom: 3px dotted gray;
  490. padding: 0 0 1rem 0;
  491. h2{
  492. font-family: "trueno" !important;
  493. font-size: $font-big;
  494. font-weight: 600;
  495. text-transform: initial;
  496. cursor: pointer;
  497. display: grid;
  498. grid-template-columns: 95% 5%;
  499. align-content: center;
  500. margin: 1rem 0 0 0;
  501. }
  502. h2:after{
  503. content: '▼';
  504. -webkit-transition: all 250ms ease;
  505. -moz-transition: all 250ms ease;
  506. -o-transition: all 250ms ease;
  507. transition: all 250ms ease;
  508. align-self: center;
  509. justify-self: center;
  510. }
  511. // h2:after{
  512. // transform: rotate(180deg);
  513. // -webkit-transition: all 250ms ease;
  514. // -moz-transition: all 250ms ease;
  515. // -o-transition: all 250ms ease;
  516. // transition: all 250ms ease;
  517. // }
  518. .rotate:after{
  519. transform: rotate(180deg);
  520. -webkit-transition: all 250ms ease;
  521. -moz-transition: all 250ms ease;
  522. -o-transition: all 250ms ease;
  523. transition: all 250ms ease;
  524. }
  525. .field_type_equipe{
  526. font-weight: 500;
  527. }
  528. .field_equipes{
  529. display: none;
  530. }
  531. }
  532. .field_projets_lies, .field_themes_lies, .field_comparatifs_associes{
  533. article{
  534. display: grid;
  535. min-height: 4rem;
  536. h2{
  537. grid-row: 2;
  538. text-align: left !important;
  539. text-transform: none !important;
  540. line-height: 1.3;
  541. margin: .5rem 0 0 0;
  542. font-size: $font-normal;
  543. font-weight: 400;
  544. a{
  545. text-decoration: none;
  546. &:hover{
  547. text-decoration: underline;
  548. }
  549. }
  550. }
  551. .field_diaporama,.field_image {
  552. position: relative;
  553. width: 100%;
  554. overflow: hidden;
  555. margin-top: .5rem;
  556. z-index: -1;
  557. a{
  558. position: absolute;
  559. height: 100%;
  560. width: 100%;
  561. object-fit: cover;
  562. img{
  563. height: 100% ;
  564. width: 100%;
  565. object-fit: cover;
  566. }
  567. }
  568. }
  569. .field_diaporama:after, .field_image:after {
  570. content: "";
  571. display: block;
  572. padding-top: 100%;
  573. }
  574. .field_programme{
  575. text-transform: uppercase;
  576. font-weight: 600;
  577. // grid-column: 1;
  578. // grid-row: 1;
  579. // margin-bottom: -.5rem;
  580. color: #fff;
  581. // display: grid;
  582. // grid-template-columns: 1fr;
  583. // grid-gap: 10px;
  584. z-index: 100;
  585. position: absolute;
  586. div{
  587. padding: .02rem .3rem;
  588. position: relative;
  589. float: left;
  590. clear: both;
  591. margin: .1rem 0 .1rem 0;
  592. }
  593. a{
  594. text-decoration: none;
  595. }
  596. }
  597. //// prog color
  598. &.programme-1{
  599. h2{
  600. color: $col-1 !important;
  601. }
  602. .field_programme{
  603. background: $col-1 ;
  604. }
  605. }
  606. &.programme-2{
  607. h2{
  608. color: $col-2 !important;
  609. }
  610. .field_programme{
  611. background: $col-2 ;
  612. }
  613. }
  614. &.programme-3{
  615. h2{
  616. color: $col-eur !important;
  617. }
  618. .field_programme{
  619. background: $col-eur ;
  620. }
  621. }
  622. &.programme-4{
  623. h2{
  624. color: $col-1;
  625. }
  626. .field_programme{
  627. background:$col-1 ;
  628. }
  629. }
  630. &.programme-5{
  631. h2{
  632. color: $col-mond !important;
  633. }
  634. .field_programme{
  635. background: $col-mond ;
  636. }
  637. }
  638. &.programme-6{
  639. h2{
  640. color: $col-ter !important;
  641. }
  642. .field_programme{
  643. background: $col-ter ;
  644. }
  645. }
  646. &.programme-7{
  647. h2{
  648. color: $col-met !important;
  649. }
  650. .field_programme{
  651. background: $col-met ;
  652. }
  653. }
  654. &.programme-883{
  655. h2{
  656. color: $col-transition !important;
  657. }
  658. .field_programme{
  659. background: $col-transition ;
  660. }
  661. }
  662. &.programme-878{
  663. h2{
  664. color: $col-exode !important;
  665. }
  666. .field_programme{
  667. background: $col-exode ;
  668. }
  669. }
  670. }
  671. }
  672. }
  673. .page-node-type-projet{
  674. .block-region-third .views-element-container div div{
  675. padding: 0;
  676. }
  677. .block-region-third{
  678. #ressources-block_1{
  679. // padding: 0.5rem 1rem;
  680. .views-field-field-ressources-liees article{
  681. margin-bottom: 0;
  682. color: black;
  683. .field-content{
  684. ul{
  685. li{
  686. margin-bottom: 1rem;
  687. }
  688. }
  689. }
  690. .field_type_de_ressource{
  691. display: none;
  692. }
  693. .field_auteurs{
  694. font-weight: 600;
  695. padding: 0;
  696. }
  697. .field_sous_titre{
  698. padding: 0;
  699. font-style: italic;
  700. }
  701. h2{
  702. font-weight: 400;
  703. font-style: italic;
  704. // grid-column: 1 / span 2;
  705. // grid-row: 1;
  706. font-size: $font-normal;
  707. background-color: transparent;
  708. padding: 0;
  709. margin-top: 0;
  710. a{
  711. text-decoration: none;
  712. }
  713. }
  714. .field_image{
  715. position: relative;
  716. padding: 0 !important;
  717. }
  718. &>div{
  719. // display: grid;
  720. // grid-template-columns: 25% auto;
  721. // align-items: center;
  722. margin: 1rem 0;
  723. // grid-column-gap: 10px;
  724. h2{
  725. //grid-column: 2;
  726. //margin: -.8rem 0 0 0;
  727. line-height: 1;
  728. }
  729. .field_image{
  730. width: 25%;
  731. float: left;
  732. margin: 0 10px 10px 0;
  733. }
  734. .field_sous_titre{
  735. //grid-column: 2;
  736. //margin: -0.3rem 0 0 0;
  737. }
  738. .field_auteurs{
  739. //grid-column: 2;
  740. //margin: -0.3rem 0 0 0;
  741. }
  742. }
  743. // .views-field-field-image{
  744. // grid-column: 1 / span 1;
  745. // }
  746. // .views-field-field-auteurs{
  747. // padding: 0;
  748. // grid-column: 2 / span 1;
  749. // padding: .3rem;
  750. // }
  751. }
  752. .programme-1{
  753. color: $col-1 !important;
  754. }
  755. .programme-2{
  756. color: $col-2 !important;
  757. }
  758. .programme-3{
  759. color: $col-eur !important;
  760. }
  761. .programme-4{
  762. color: $col-1;
  763. }
  764. .programme-5{
  765. color: $col-mond !important;
  766. }
  767. .programme-6{
  768. color: $col-ter !important;
  769. }
  770. .programme-7{
  771. color: $col-met !important;
  772. }
  773. .programme-883{
  774. color: $col-transition !important;
  775. }
  776. .programme-878{
  777. color: $col-exode !important;
  778. }
  779. }
  780. }
  781. #node\:title:before{
  782. content: "ville";
  783. }
  784. #node\:field_ressources_liees{
  785. .field_ressources_liees{
  786. color:black ;
  787. }
  788. }
  789. }
  790. .page-node-type-theme{
  791. #node\:title:before{
  792. content: "thème";
  793. }
  794. // #node\:field_equipes{
  795. // h2{
  796. // color: white !important;
  797. // text-align: left !important;
  798. // cursor: pointer;
  799. // }
  800. // }
  801. // .block-region-third{
  802. // #node\:field_partenaires{
  803. // h2{
  804. // border:none;
  805. // font-family: trueno;
  806. // font-size: .8rem;
  807. // font-weight: 600;
  808. // margin-top: 0;
  809. // padding: .4rem 0.5rem;
  810. // display: block;
  811. // &:after{
  812. // display:none;
  813. // }
  814. // }
  815. // .field_partenaires{
  816. // display: grid;
  817. // }
  818. // }
  819. // }
  820. // si ressources affichée dans page théme
  821. #node\:field_ressources_liees{
  822. background: $trame;
  823. // h2{
  824. // text-align: center;
  825. // }
  826. &>h2{
  827. text-align: center;
  828. }
  829. // .field_ressources_liees{
  830. // background: $trame;
  831. // }
  832. article{
  833. a{
  834. text-decoration: none;
  835. }
  836. // display:grid !important;
  837. // grid-template-columns: 1fr 1fr;
  838. h2{
  839. grid-column: 2;
  840. grid-row: 1;
  841. text-align:left;
  842. }
  843. &>div{
  844. display: grid !important;
  845. grid-template-columns: 1fr 1fr;
  846. align-items: center;
  847. background: #fff;
  848. position: relative;
  849. height: auto;
  850. padding: 1rem;
  851. background-clip: content-box;
  852. }
  853. .field_type_de_ressource{
  854. grid-column: 2;
  855. }
  856. .field_sous_titre{
  857. grid-column: 2;
  858. }
  859. ///////
  860. .field_image{
  861. grid-row: 2 / span 3;
  862. // margin-top: -1.5rem;
  863. z-index: 0;
  864. padding: .5rem;
  865. }
  866. div{
  867. margin-bottom: .5rem;
  868. }
  869. h2{
  870. font-weight: 400;
  871. grid-row: 3 / span 1;
  872. grid-column: 2;
  873. font-style: italic;
  874. text-transform: none;
  875. }
  876. .field_type_de_ressource{
  877. font-weight: 400;
  878. }
  879. .field_sous_titre{
  880. grid-row: 4 / span 1;
  881. }
  882. .field_programme{
  883. &>div{
  884. display: inline-block;
  885. width: auto;
  886. padding: .3rem .5rem;
  887. }
  888. padding-left: .5rem !important;
  889. grid-row: 1 / span 1;
  890. grid-column: 1 / span 2;
  891. text-transform: uppercase;
  892. margin-top: -.5rem;
  893. &>div{
  894. font-weight: 600;
  895. display: inline-block;
  896. width: auto;
  897. color: white;
  898. padding: .02rem .3rem;
  899. // margin-bottom: 1rem;
  900. }
  901. }
  902. }
  903. }
  904. }