styles_de_paragraphes.scss 4.4 KB

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