home-view-actualites.scss 1.5 KB

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