index.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /**
  2. * @file
  3. * Presentational styles for Drupal stark theme layout.
  4. *
  5. * It is left empty for testing purposes.
  6. *
  7. * @see https://www.drupal.org/project/drupal/issues/2349711
  8. */
  9. // configs
  10. @import "configs/var.scss";
  11. @import "configs/mixin.scss";
  12. @import "configs/typography.scss";
  13. @import "configs/global.scss";
  14. // Lib Js
  15. @import "hamburgers/hamburgers.scss";
  16. // Pages
  17. @import "pages/layout.scss";
  18. @import "pages/front.scss";
  19. @import "pages/presentation.scss";
  20. @import "pages/programme.scss";
  21. @import "pages/ressources.scss";
  22. @import "pages/informations.scss";
  23. @import "pages/moments.scss";
  24. @import "pages/publications.scss";
  25. // components
  26. @import "components/components.scss";
  27. .no-flexbox .box { color: red; }
  28. .flexbox .box { color: green; }
  29. article img,
  30. .side_notes img{
  31. width: 100%;
  32. height: 100%;
  33. object-fit: cover;
  34. }
  35. .layout-content{
  36. width: 100%;
  37. }
  38. #presentation{
  39. .__wrapper{
  40. .__wrap_side{
  41. position: inherit;
  42. @media screen and (min-width: 768px){
  43. position: relative;
  44. }
  45. .notes{
  46. & > div{
  47. position: absolute;
  48. margin-top: 2rem;
  49. @media screen and (min-width: 768px){
  50. margin-top: -2rem;
  51. }
  52. &> div{
  53. background: white;
  54. padding: 0.5rem;
  55. p{
  56. font-family: 'cormorantBold';
  57. margin: 0;
  58. color: $color2;
  59. }
  60. }
  61. }
  62. .close{
  63. cursor: pointer;
  64. background: $color2;
  65. position: absolute;
  66. top: -12px;
  67. left: -15px;
  68. width: 30px;
  69. height: 27px;
  70. &::after{
  71. content: "+";
  72. color: white;
  73. display: block;
  74. margin: auto;
  75. text-align: center;
  76. transform: rotate(45deg);
  77. margin-top: -6px;
  78. }
  79. }
  80. }
  81. }
  82. }
  83. }
  84. .side_notes{
  85. position: absolute;
  86. width: calc(100% - 30px);
  87. left: 30px;
  88. width: calc(100% - 45px);
  89. @media screen and (min-width: 768px){
  90. margin-top: -3rem;
  91. }
  92. .wrap{
  93. position: relative;
  94. width: max-content;
  95. .__hero{
  96. margin: 0!important;
  97. height: 200px;
  98. max-width: 300px;
  99. .__img{
  100. height: 200px;
  101. img{
  102. width: auto;
  103. height: 100%;
  104. }
  105. }
  106. }
  107. .__head{
  108. background: white;
  109. padding: 0.5rem;
  110. width: max-content;
  111. min-width: 300px;
  112. & > *{
  113. font-family: 'cormorantBold';
  114. color: $color2;
  115. display:inline;
  116. }
  117. }
  118. .thumbnails.bibliographie{
  119. width: 100%;
  120. }
  121. }
  122. .close{
  123. cursor: pointer;
  124. background: $color2;
  125. position: absolute;
  126. top: -12px;
  127. left: -15px;
  128. width: 30px;
  129. height: 27px;
  130. &::after{
  131. content: "+";
  132. color: white;
  133. display: block;
  134. margin: auto;
  135. text-align: center;
  136. transform: rotate(45deg);
  137. }
  138. }
  139. }
  140. .side_notes *{
  141. margin: 0 0 0 0;
  142. padding: 0;
  143. flex: 100%;
  144. max-width: 100%;
  145. }
  146. // tac
  147. #tarteaucitronRoot{
  148. #tarteaucitronDisclaimerAlert,
  149. #tarteaucitronPersonalize,
  150. #tarteaucitronCloseAlert,
  151. #tarteaucitronPrivacyUrl,
  152. #tarteaucitronInfo,
  153. .tarteaucitronH1,
  154. .tarteaucitronH2,
  155. button,
  156. li span,
  157. li a{
  158. font-family: 'truenoregular'!important;
  159. }
  160. }