home-view-actualites.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .block-views-blockactus-block-1{
  2. display:none;
  3. background-color: white;
  4. h2{
  5. width: 80%;
  6. margin: auto;
  7. padding-top: 2rem;
  8. padding-bottom: 2rem;
  9. }
  10. .view-id-actus{
  11. width: 80%;
  12. margin: auto;
  13. display: flex;
  14. justify-content: space-between;
  15. .views-row{
  16. width: 45%;
  17. .node-type-actualite{
  18. width: 100%;
  19. display: flex;
  20. flex-direction: column;
  21. p.field__item{
  22. display: none;
  23. }
  24. h2{
  25. order: 3;
  26. margin: 0;
  27. }
  28. .field--name-field-image{
  29. order: 1;
  30. max-width: 100%;
  31. img{
  32. max-width: 100%;
  33. object-fit: contain;
  34. }
  35. }
  36. .field--name-field-numero-site {
  37. order: 3;
  38. }
  39. .field--name-field-adresse-site{
  40. order: 4;
  41. }
  42. .field--name-field-architecte{
  43. order: 4;
  44. }
  45. .field--name-field-type-d-actualite{
  46. order: 2;
  47. }
  48. .field--name-field-site{
  49. order: 3;
  50. }
  51. }
  52. .node-type-actualite > div:nth-child(2) > div:nth-child(2){
  53. display: none;
  54. }
  55. }
  56. }
  57. }