home-view-actualites.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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: 100%;
  13. margin: auto;
  14. // display: flex;
  15. // justify-content: space-between;
  16. .views-row{
  17. width: 30%;
  18. padding-right: 2rem;
  19. .node-type-actualite{
  20. width: 100%;
  21. display: flex;
  22. flex-direction: column;
  23. p.field__item{
  24. display: none;
  25. }
  26. .image-actualite{
  27. width: 90%;
  28. margin: auto;
  29. img{
  30. width: 100%;
  31. height: auto;
  32. }
  33. }
  34. .infos-content{
  35. position: relative;
  36. top: -10px;
  37. display: flex;
  38. flex-direction: column;
  39. border: solid $yellow-puca 1px;
  40. background-color: $white-button;
  41. padding: 1rem;
  42. h2{
  43. order: 2;
  44. margin: 0;
  45. font-size: 1.5rem;
  46. font-weight: 600;
  47. }
  48. .field--name-field-sous-titre {
  49. order: 3;
  50. font-size: 1.3rem;
  51. // line-height: 0.3rem;
  52. }
  53. .field--name-field-date{
  54. order: 4;
  55. font-weight: 900;
  56. padding-bottom: 1rem;
  57. }
  58. .field--name-field-type-d-actualite{
  59. order: 1;
  60. text-transform: uppercase;
  61. font-size: 1.2rem;
  62. }
  63. .field--name-field-site{
  64. order: 5;
  65. background-color: $gris-violet;
  66. color: white;
  67. border-radius: 50px;
  68. width: fit-content;
  69. padding: 0.2rem 0.9rem;
  70. .field__item{
  71. display: inline;
  72. }
  73. a{
  74. color: white;
  75. font-weight: 900;
  76. font-size: 0.8rem;
  77. vertical-align: top;
  78. }
  79. }
  80. ul.links{
  81. order: 6;
  82. display: none;
  83. }
  84. }
  85. .body-content{
  86. display: none;
  87. }
  88. }
  89. }
  90. }
  91. }