layout.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. html,body{
  2. background: $fond;
  3. }
  4. header{
  5. background: white;
  6. }
  7. @media screen and (min-width: 768px) {
  8. main:not(.home){
  9. margin-top: 5rem!important;
  10. }
  11. }
  12. main:not(.home){
  13. margin-top: 0rem;
  14. }
  15. img{
  16. width:100%;
  17. height: 100%;
  18. object-fit: cover;
  19. }
  20. #txt_present{
  21. margin: 5rem 0;
  22. & * {
  23. color: $color2;
  24. }
  25. & > div{
  26. margin: 2rem auto;
  27. }
  28. .more_link{
  29. padding: 0rem 1rem 0.2rem 1rem;
  30. background: white;
  31. }
  32. }
  33. .more_link{
  34. padding: 0rem 1rem 0.2rem 1rem;
  35. background: white;
  36. border-radius: 0;
  37. a{
  38. color: $color2;
  39. }
  40. }
  41. #block-views-block-slide-programme-block-1,
  42. #block-views-block-dernieres-publications-block-1{
  43. margin: 5rem 0;
  44. .views{
  45. section.wrap_head{
  46. @include croix_or;
  47. }
  48. }
  49. }
  50. article{
  51. .__title{
  52. @include croix_or;
  53. }
  54. .__head{
  55. div{
  56. & > div{
  57. margin-right: 0.5rem;
  58. }
  59. & > div:not(:first-child){
  60. margin-left: 0.5rem;
  61. }
  62. }
  63. }
  64. }
  65. h4{
  66. @include croix_or;
  67. }
  68. blockquote{
  69. margin: 2rem 1rem 2rem 1rem;
  70. color: $lightgrey;
  71. @include croix_or_B;
  72. p{
  73. margin-top: 0.5rem;
  74. }
  75. }
  76. @media screen and (min-width: 768px) {
  77. blockquote{
  78. margin: 3.5rem 2rem 4rem 2rem;
  79. p{
  80. margin-top: 1rem;
  81. }
  82. }
  83. }
  84. .container{
  85. &.programme{
  86. margin-top: 3rem;
  87. h3{
  88. margin: 0;
  89. }
  90. .views{
  91. section{
  92. & > div{
  93. margin-bottom: 3rem;
  94. }
  95. &:not(:last-child){
  96. @include croix_or;
  97. margin: 0 0 2rem 0;
  98. & > .d-flex{
  99. padding: 0 0 2rem 0;
  100. }
  101. }
  102. &:last-child{
  103. margin-bottom: 5rem ;
  104. }
  105. }
  106. }
  107. }
  108. }