_themes.scss 26 KB

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