le-programme.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. .page-programme{
  2. .layout__region--first{
  3. position: relative;
  4. .block-region-first{
  5. // position: relative;
  6. padding-left:3rem;
  7. display: flex;
  8. justify-content: flex-end;
  9. position: fixed;
  10. top: 10rem;
  11. > .block-block-content{
  12. // position: -webkit-sticky;
  13. // position: sticky;
  14. // top: 10rem;
  15. width: 100%;
  16. ul{
  17. padding-left: 0;
  18. padding-right: 30%;
  19. li{
  20. a{
  21. display: flex;
  22. flex-direction: column;
  23. padding-bottom: 0.6rem;
  24. padding-top: 0.6rem;
  25. &::after{
  26. content:'';
  27. width: 25%;
  28. margin-top: 0.6rem;
  29. border-bottom: $yellow-puca solid 1px;
  30. }
  31. &:hover,
  32. &.active{
  33. font-weight: 800;
  34. &::after{
  35. content:'';
  36. width: 25%;
  37. margin-top: 0.6rem;
  38. border-bottom: $yellow-puca solid 2px;
  39. }
  40. }
  41. }
  42. }
  43. }
  44. }
  45. }
  46. }
  47. .block-region-second{
  48. h2{
  49. font-weight: 1000;
  50. font-size: 1.8rem;
  51. }
  52. .block-views-blockhome-block-1{
  53. width: 80%;
  54. font-size: 1.2rem;
  55. }
  56. .view-display-id-block_1{
  57. margin: 0;
  58. width: 80%;
  59. padding-top: 1rem;
  60. }
  61. .block-config-pages-block{
  62. margin: 0;
  63. width: 80%;
  64. padding-top: 1rem;
  65. .config_pages--partenaires--full{
  66. .paragraph--type--partenaire{
  67. width: 100%;
  68. padding-bottom: 3rem;
  69. height: 205px;
  70. display: flex;
  71. flex-direction: column;
  72. flex-wrap: wrap;
  73. justify-content: center;
  74. align-content: baseline;
  75. @media (max-width: 810px){
  76. display: flex;
  77. flex-direction: column;
  78. }
  79. .paragraph--type--partenaire>* {
  80. flex: 1 1 80px;
  81. }
  82. .field--name-field-logo{
  83. width: fit-content;
  84. padding-right: 1rem;
  85. }
  86. .field--name-field-nom{
  87. font-weight: 900;
  88. font-size: 1.2rem
  89. }
  90. .field--name-field-texte{
  91. .field__item{
  92. p{
  93. strong{
  94. background-color: none;
  95. }
  96. }
  97. }
  98. }
  99. .field--name-field-lien{
  100. background-color: none;
  101. }
  102. }
  103. }
  104. }
  105. }
  106. }