styles_de_paragraphes.scss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  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: 48pt;
  32. margin: 0;
  33. // padding: 0;
  34. padding-left: 0.1cm;
  35. padding-top: 0cm;
  36. }
  37. .end {
  38. font-family: "Duke POPSU";
  39. font-weight: inherit;
  40. font-size: 50pt;
  41. line-height: 48pt;
  42. margin: 0;
  43. padding: 0;
  44. }
  45. .main-sub-title {
  46. font-family: "Texa";
  47. font-weight: 800;
  48. font-size: 12pt;
  49. line-height: 15pt;
  50. }
  51. .main-pre-title {
  52. font-family: "Texta";
  53. font-weight: 800;
  54. font-size: 12pt;
  55. text-transform: uppercase;
  56. line-height: 15pt;
  57. margin-top: 0;
  58. padding-top: 0;
  59. width: 250px;
  60. white-space: pre;
  61. }
  62. .table-of-content {
  63. font-family: "Cormorant";
  64. font-weight: 200;
  65. font-size: 25pt;
  66. line-height: 25pt;
  67. margin: 0;
  68. a {
  69. display: block;
  70. text-decoration: none;
  71. color: inherit;
  72. margin-bottom: 0.2em;
  73. & p{
  74. margin: 0;
  75. }
  76. }
  77. a::after {
  78. font-size: 9pt;
  79. margin-left: 10pt;
  80. content: target-counter(attr(href), page);
  81. font-family: "SGI-TextAlt";
  82. }
  83. }
  84. .credits {
  85. font-size: 9pt;
  86. margin-bottom: 6pt;
  87. display: flex;
  88. flex-direction: column;
  89. justify-content: space-between;
  90. height: 100%;
  91. h4 {
  92. font-family: "TextaAlt";
  93. text-transform: uppercase;
  94. margin: 8pt 0 0;
  95. }
  96. p {
  97. font-family: "SGI-TextAlt";
  98. line-height: 13pt;
  99. margin: 0;
  100. }
  101. }
  102. .chapter-title {
  103. font-family: "Cormorant";
  104. font-weight: 200;
  105. font-size: 34pt;
  106. line-height: 34pt;
  107. text-align: right;
  108. margin-bottom: 20mm;
  109. margin-top: 0;
  110. }
  111. .chapter-title:after {
  112. content: "++++";
  113. display: block;
  114. font-family: inherit;
  115. font-weight: 200;
  116. font-size: 10pt;
  117. letter-spacing: 4pt;
  118. }
  119. .chapter-title::before {
  120. content: attr(data-rubrique);
  121. display: block;
  122. @extend .section-title;
  123. margin-bottom: 10px;
  124. }
  125. .chapter-title p {
  126. margin-bottom: 0px;
  127. }
  128. .chapter-content {
  129. hyphens: auto;
  130. font-family: "Cormorant";
  131. font-weight: 200;
  132. font-size: 10.5pt;
  133. line-height: 18pt;
  134. // hanging-punctuation: first last;
  135. }
  136. .section-title {
  137. font-family: "TextaAlt";
  138. font-weight: 800;
  139. font-size: 12pt;
  140. text-transform: uppercase;
  141. text-align: left;
  142. }
  143. .section-title.canbreak.still{
  144. margin-bottom: 25px!important;
  145. }
  146. .pagedjs_right_page .section-title:not(.still){
  147. text-align: right;
  148. }
  149. .section-content {
  150. hyphens: auto;
  151. font-family: "SGI-TextAlt";
  152. font-size: 9.5pt;
  153. font-weight: 200;
  154. line-height: 18pt;
  155. // text-align: left;
  156. }
  157. // texte justifié par defaut
  158. .justify p {
  159. text-align: justify;
  160. hyphens: auto;
  161. //text-justify: inter-character;
  162. // text-align-last: left !important;
  163. hyphens: auto;
  164. hanging-punctuation: first;
  165. }
  166. .justify[data-split-to] p:last-of-type{
  167. text-align-last: justify;
  168. }
  169. .section-content p {
  170. text-align: left;
  171. & strong {
  172. letter-spacing: 0px;
  173. }
  174. }
  175. .chapter-content h3 {
  176. hyphens: none;
  177. font-size: 19pt;
  178. font-weight: 200;
  179. line-height: 23pt;
  180. margin-left: 10mm;
  181. }
  182. h4 {
  183. margin: 0;
  184. }
  185. // phrase amorce du chapitre 1
  186. strong {
  187. font-family: "Cormorant";
  188. font-weight: 200;
  189. font-size: 14pt;
  190. line-height: 18pt;
  191. letter-spacing: -1px;
  192. }
  193. // .column .image-cover .image-bleed {
  194. // margin:0;
  195. //
  196. // }
  197. p img{
  198. max-width: 100%;
  199. }
  200. .legend{
  201. position: absolute;
  202. bottom: 0;
  203. font-size: 9.5pt;
  204. font-family: "Texta";
  205. line-height: 9pt;
  206. }
  207. .pagequote{
  208. position: absolute;
  209. background-image: url("/motifs/croix.png");
  210. background-size: 0.4cm;
  211. width: calc(100% + (#{$marge} + #{$fond-perdu})*2);
  212. height: calc(100% + (#{$marge} + #{$fond-perdu})*2);
  213. margin-left: calc(-#{$marge} - #{$fond-perdu} );
  214. margin-top: calc(-#{$marge} - #{$fond-perdu}) !important;
  215. left:0;
  216. top:0;
  217. display: flex;
  218. justify-content: center;
  219. & p {
  220. line-height: 1.2em;
  221. }
  222. }
  223. blockquote{
  224. break-before: always;
  225. break-inside: avoid;
  226. break-after: always;
  227. & p{
  228. position: relative;
  229. display: inline;
  230. font-size: 28pt;
  231. padding: 0cm 0.1cm;
  232. background-color: white;
  233. box-shadow: 0.1cm 0px 0px white, 0.1cm 0px 0px white;
  234. box-decoration-break: clone;
  235. }
  236. }
  237. //blockquote p {
  238. // display: flex;
  239. //flex: auto;
  240. //}
  241. .lsp-1 {
  242. letter-spacing: -0.01em;
  243. }
  244. .lsp-2 {
  245. letter-spacing: -0.024em;
  246. }
  247. .lsp-3 {
  248. letter-spacing: -0.03em;
  249. }
  250. .lsp1 {
  251. letter-spacing: 0.01em;
  252. }
  253. .lsp2 {
  254. letter-spacing: 0.02em;
  255. }
  256. .lsp3 {
  257. letter-spacing: 0.03em;
  258. }