layout.scss 1.6 KB

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