_actualites.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. .path-actualites{
  2. background-color: $background-actus;
  3. margin: 0;
  4. .block-region-content{
  5. display: grid;
  6. grid-template-columns: 1fr repeat(4, 2fr) 1fr;
  7. margin: auto;
  8. .block-views:nth-of-type(1){
  9. grid-column: 2;
  10. }
  11. .block-views{
  12. .node-type-actualite{
  13. color: $blue-dark;
  14. line-height: 1.5rem;
  15. padding: 0.5rem;
  16. div:first-child{
  17. display: flex;
  18. flex-direction: column;
  19. :nth-child(1) { order: 1; }
  20. :nth-child(4) { order: 2; }
  21. :nth-child(5) { order: 3; }
  22. a{
  23. color: $blue-dark;
  24. }
  25. }
  26. }
  27. }
  28. }
  29. }
  30. // .node-type-actualite{
  31. // color: $blue-dark;
  32. // line-height: 1.5rem;
  33. // padding: 0.5rem;
  34. // div:first-child{
  35. // display: flex;
  36. // flex-direction: column;
  37. // :nth-child(1) { order: 1; }
  38. // :nth-child(4) { order: 2; }
  39. // :nth-child(5) { order: 3; }
  40. // a{
  41. // color: $blue-dark;
  42. // }
  43. // }
  44. // }