home-view-actualites.scss 3.0 KB

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