home-view-actualites.scss 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .block-views-blockactus-block-1{
  2. // display:none;
  3. background-color: white;
  4. padding-bottom: 3rem;
  5. h2{
  6. width: 80%;
  7. margin: auto;
  8. padding-top: 2rem;
  9. padding-bottom: 2rem;
  10. }
  11. .view-id-actus{
  12. width: 80%;
  13. margin: auto;
  14. display: flex;
  15. justify-content: space-between;
  16. .views-row{
  17. width: 45%;
  18. .node-type-actualite{
  19. width: 100%;
  20. display: flex;
  21. flex-direction: column;
  22. p.field__item{
  23. display: none;
  24. }
  25. .field--name-field-image{
  26. order: 1;
  27. max-width: 100%;
  28. padding-bottom: 1rem;
  29. img{
  30. width: 80%;
  31. height: auto;
  32. }
  33. }
  34. .infos-content{
  35. display: flex;
  36. flex-direction: column;
  37. h2{
  38. order: 2;
  39. margin: 0;
  40. padding: 0;
  41. }
  42. .field--name-field-sous-titre {
  43. order: 3;
  44. }
  45. .field--name-field-type-d-actualite{
  46. order: 1;
  47. text-transform: uppercase;
  48. }
  49. .field--name-field-site{
  50. order: 5;
  51. }
  52. .field--name-field-date{
  53. order: 4;
  54. }
  55. }
  56. .body-content{
  57. display: none;
  58. }
  59. }
  60. }
  61. }
  62. }