node-ressource.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .node-type-ressource{
  2. display: grid;
  3. grid-template-columns: 1fr repeat(3, 1fr) 1fr;
  4. grid-template-rows: repeat(2, auto);
  5. padding-top: 3rem;
  6. // #block-reha-titredepage{
  7. // display: block !important;
  8. // }
  9. .image-ressource{
  10. grid-row: 1;
  11. grid-column: 2;
  12. margin-right: 2rem;
  13. img{
  14. height: 400px;
  15. width: auto;
  16. }
  17. }
  18. .infos-content{
  19. grid-row: 1;
  20. grid-column: 3 /span 4;
  21. margin-left: 2rem;
  22. border: none;
  23. background-color:transparent;
  24. .field--name-field-type-de-ressource{
  25. text-transform: uppercase;
  26. font-size: 1rem;
  27. order: 1;
  28. }
  29. h1{order: 2;}
  30. .field--name-field-sous-titre{
  31. font-size: 2rem;
  32. order: 3;
  33. }
  34. .field--name-field-auteur{
  35. font-weight: 800;
  36. font-size: 1.3rem;
  37. order: 4;
  38. }
  39. .field--name-field-site{
  40. background-color: rgb(153, 147, 174);
  41. border-radius: 50px;
  42. width: fit-content;
  43. padding: 0.2rem 0.9rem;
  44. margin-top: 1rem;
  45. order: 5;
  46. a{
  47. color: white;
  48. font-weight: 900;
  49. font-size: 0.8rem;
  50. vertical-align: top;
  51. }
  52. }
  53. }
  54. .body-content {
  55. grid-row: 2;
  56. grid-column: 2 /span 3;
  57. width: 100%;
  58. margin-top: 2rem;
  59. .field--name-field-fichiers{
  60. width: fit-content;
  61. }
  62. .summary-content{
  63. }
  64. .links-content{
  65. margin-top: 2rem;
  66. position: relative;
  67. left: -10%;
  68. width: 25%;
  69. }
  70. }
  71. }