_themes.scss 26 KB

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