node-ressource.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. .page-node-site{
  2. .node-type-ressource{
  3. display: grid;
  4. grid-template-columns: repeat(4, auto);
  5. grid-template-rows: repeat(2, auto);
  6. padding-top: 3rem;
  7. .image-ressource{
  8. grid-row: 1;
  9. grid-column: 1 /span 2;
  10. margin-right: 2rem;
  11. img{
  12. height: 400px;
  13. width: auto;
  14. }
  15. }
  16. .infos-content{
  17. grid-row: 1;
  18. grid-column: 3 /span 4;
  19. .field--name-field-type-de-ressource{
  20. text-transform: uppercase;
  21. font-size: 1.5rem;
  22. }
  23. .field--name-field-sous-titre{
  24. font-size: 2rem;
  25. }
  26. .field--name-field-auteur{
  27. font-weight: 800;
  28. font-size: 1.4rem;
  29. }
  30. }
  31. .body-content {
  32. grid-row: 2;
  33. grid-column: 1 /span 3;
  34. width: 100%;
  35. margin-top: 2rem;
  36. .field--name-field-fichiers{
  37. width: fit-content;
  38. }
  39. }
  40. }
  41. }