styles_de_paragraphes.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. // .pre-title {
  2. // font-family: "Duke POPSU";
  3. // font-weight: inherit;
  4. // font-size: 45pt;
  5. // line-height: 33pt;
  6. // }
  7. //
  8. // .pre-sub-title {
  9. // font-family: "Texa";
  10. // font-weight: 800;
  11. // font-size: 10pt;
  12. // line-height: 13pt;
  13. // }
  14. .intro {
  15. font-family: "SGI-TextAlt";
  16. font-size: 9.5pt;
  17. line-height: 20pt;
  18. margin: 0;
  19. }
  20. .main-title,.main-pre-title{
  21. display: inline;
  22. padding: 0.2cm 0.2cm;
  23. background-color: white;
  24. box-shadow: 0.2cm 0px 0px white, 0.2cm 0px 0px white;
  25. box-decoration-break: clone;
  26. }
  27. .main-title {
  28. font-family: "Duke POPSU";
  29. font-weight: inherit;
  30. font-size: 60pt;
  31. line-height: 52pt;
  32. margin: 0;
  33. padding: 0;
  34. }
  35. .main-sub-title {
  36. font-family: "Texa";
  37. font-weight: 800;
  38. font-size: 12pt;
  39. line-height: 15pt;
  40. }
  41. .main-pre-title {
  42. font-family: "Texta";
  43. font-weight: 800;
  44. font-size: 12pt;
  45. text-transform: uppercase;
  46. line-height: 15pt;
  47. margin-top: 0;
  48. padding-top: 0;
  49. width: 250px;
  50. }
  51. .table-of-content {
  52. font-family: "Cormorant";
  53. font-weight: 200;
  54. font-size: 25pt;
  55. line-height: 25pt;
  56. margin: 0;
  57. a {
  58. display: block;
  59. text-decoration: none;
  60. color: inherit;
  61. & p{
  62. margin: 0;
  63. }
  64. }
  65. a::after {
  66. font-size: 9pt;
  67. margin-left: 10pt;
  68. content: target-counter(attr(href), page);
  69. font-family: "SGI-TextAlt";
  70. }
  71. }
  72. .credits {
  73. font-size: 9pt;
  74. margin-bottom: 6pt;
  75. display: flex;
  76. flex-direction: column;
  77. justify-content: space-between;
  78. height: 100%;
  79. h4 {
  80. font-family: "TextaAlt";
  81. text-transform: uppercase;
  82. margin: 8pt 0 0;
  83. }
  84. p {
  85. font-family: "SGI-TextAlt";
  86. line-height: 13pt;
  87. margin: 0;
  88. }
  89. }
  90. .chapter-title {
  91. font-family: "Cormorant";
  92. font-weight: 200;
  93. font-size: 34pt;
  94. line-height: 34pt;
  95. text-align: right;
  96. margin-bottom: 20mm;
  97. margin-top: 0;
  98. }
  99. .chapter-title:after {
  100. content: "++++";
  101. display: block;
  102. font-family: inherit;
  103. font-weight: 200;
  104. font-size: 10pt;
  105. letter-spacing: 4pt;
  106. }
  107. .chapter-title::before {
  108. content: attr(data-rubrique);
  109. display: block;
  110. @extend .section-title;
  111. }
  112. .chapter-content {
  113. hyphens: auto;
  114. font-family: "Cormorant";
  115. font-weight: 200;
  116. font-size: 10.5pt;
  117. line-height: 18pt;
  118. // hanging-punctuation: first last;
  119. }
  120. .section-title {
  121. font-family: "TextaAlt";
  122. font-weight: 800;
  123. font-size: 12pt;
  124. text-transform: uppercase;
  125. text-align: left;
  126. }
  127. .pagedjs_right_page .section-title:not(.still){
  128. text-align: right;
  129. }
  130. .section-content {
  131. hyphens: auto;
  132. font-family: "SGI-TextAlt";
  133. font-size: 9.5pt;
  134. font-weight: 200;
  135. line-height: 18pt;
  136. // text-align: left;
  137. }
  138. // texte justifié par defaut
  139. .justify p {
  140. text-align: justify;
  141. text-align-last: left !important;
  142. hyphens: auto;
  143. hanging-punctuation: first;
  144. }
  145. .section-content p {
  146. text-align: left;
  147. }
  148. .chapter-content h3 {
  149. hyphens: none;
  150. font-size: 19pt;
  151. font-weight: 200;
  152. line-height: 23pt;
  153. margin-left: 10mm;
  154. }
  155. h4 {
  156. margin: 0;
  157. }
  158. // phrase amorce du chapitre 1
  159. strong {
  160. font-family: "Cormorant";
  161. font-weight: 200;
  162. font-size: 14pt;
  163. line-height: 18pt;
  164. letter-spacing: -1px;
  165. }
  166. // .column .image-cover .image-bleed {
  167. // margin:0;
  168. //
  169. // }
  170. p img{
  171. max-width: 100%;
  172. }
  173. .legend{
  174. position: absolute;
  175. bottom: 0;
  176. font-size: 9.5pt;
  177. font-family: "Texta";
  178. line-height: 9pt;
  179. }
  180. blockquote{
  181. background-image: url("/motifs/croix.png");
  182. background-size: 0.4cm;
  183. width: calc(#{$largeur} + #{$fond-perdu} * 2);
  184. height: calc(#{$hauteur} + #{$fond-perdu} * 2);
  185. position: absolute;
  186. margin-left: calc(-2cm - #{$fond-perdu});
  187. margin-top: calc(-2cm - #{$fond-perdu});
  188. padding: 2cm;
  189. break-before: always;
  190. break-after: always;
  191. & p{
  192. display: inline;
  193. font-size: 28pt;
  194. padding: 0.2cm 0.2cm;
  195. background-color: white;
  196. box-shadow: 0.2cm 0px 0px white, 0.2cm 0px 0px white;
  197. box-decoration-break: clone;
  198. line-height: calc(100% + 0.4cm);
  199. }
  200. }