_partenaires.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .node-id-20{
  2. background: url('../images/pictos/carre-contour-bleu_partenaire.svg');
  3. background-repeat: no-repeat;
  4. background-position-y: 7rem;
  5. max-width: 100vw;
  6. background-size: contain;
  7. .layout__region--top{ //bandeau titre page static
  8. padding-bottom: 3rem;
  9. height: 30vh;
  10. .block-region-top{
  11. .block-entity-fieldnodetitle{
  12. .field--name-title{
  13. font-family: 'Source Code Pro';
  14. font-size: 2rem;
  15. font-weight: 800;
  16. color: $white;
  17. background-color: $blue-light;
  18. text-transform: uppercase;
  19. }
  20. }
  21. }
  22. }
  23. }
  24. .field--name-field-partenaires{
  25. padding-top: 3rem;
  26. .paragraph--type--partenaire{
  27. background-color: $white;
  28. width: 100%;
  29. padding-bottom: 3rem;
  30. display: grid;
  31. grid-template-columns: repeat(7, 1fr);
  32. grid-template-rows: repeat(auto-fill);
  33. @media (max-width: 810px){
  34. display: flex;
  35. flex-direction: column;
  36. }
  37. .field--name-field-logo{
  38. grid-column: 1 / 2;
  39. grid-row: 2;
  40. margin-top: 2rem;
  41. padding-right: 1rem;
  42. }
  43. .field--name-field-titre{
  44. grid-column: 2 / 8;
  45. grid-row: 1;
  46. font-weight: 800;
  47. }
  48. .field--name-field-texte{
  49. grid-column: 2 / 8;
  50. grid-row: 2;
  51. }
  52. .field--name-field-lien{
  53. grid-column: 2 / 8;
  54. grid-row: 3;
  55. }
  56. }
  57. a{
  58. color: $black;
  59. font-weight: 800;
  60. svg{
  61. display: none;
  62. }
  63. }
  64. }
  65. .field--name-field-equipes{
  66. padding-top: 3rem;
  67. .paragraph--type--equipe{
  68. background-color: $white;
  69. width: 100%;
  70. .paragraph--type--personne{
  71. width: 100%;
  72. padding-bottom: 3rem;
  73. display: grid;
  74. grid-template-columns: repeat(7, 1fr);
  75. grid-template-rows: repeat(auto-fill);
  76. @media (max-width: 810px){
  77. display: flex;
  78. flex-direction: column;
  79. }
  80. .field--name-field-photo{
  81. grid-column: 1 / 2;
  82. grid-row: 1 / span 3;
  83. // margin-top: 2rem;
  84. padding-right: 1rem;
  85. img{
  86. border-radius: 50%;
  87. }
  88. }
  89. .field--name-field-prenom{
  90. grid-column: 2 / span 3;
  91. grid-row: 1;
  92. font-weight: 800;
  93. }
  94. .field--name-field-nom{
  95. grid-column: 2 / span 3;
  96. grid-row: 2;
  97. }
  98. .field--name-field-fonction{
  99. grid-column: 2 / 8;
  100. grid-row: 3;
  101. }
  102. }
  103. }
  104. a{
  105. color: $black;
  106. font-weight: 800;
  107. svg{
  108. display: none;
  109. }
  110. }
  111. }