styles_de_paragraphes.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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. h4 {
  76. font-family: "TextaAlt";
  77. text-transform: uppercase;
  78. margin: 8pt 0 0;
  79. }
  80. p {
  81. font-family: "SGI-TextAlt";
  82. line-height: 13pt;
  83. margin: 0;
  84. }
  85. }
  86. .chapter-title {
  87. font-family: "Cormorant";
  88. font-weight: 200;
  89. font-size: 34pt;
  90. line-height: 34pt;
  91. text-align: right;
  92. margin-bottom: 20mm;
  93. margin-top: 0;
  94. }
  95. .chapter-title:after {
  96. content: "++++";
  97. display: block;
  98. font-family: inherit;
  99. font-weight: 200;
  100. font-size: 10pt;
  101. letter-spacing: 4pt;
  102. }
  103. .chapter-title::before {
  104. content: attr(data-rubrique);
  105. display: block;
  106. @extend .section-title;
  107. }
  108. .chapter-content {
  109. hyphens: auto;
  110. font-family: "Cormorant";
  111. font-weight: 200;
  112. font-size: 10.5pt;
  113. line-height: 18pt;
  114. // hanging-punctuation: first last;
  115. }
  116. .section-title {
  117. font-family: "TextaAlt";
  118. font-weight: 800;
  119. font-size: 12pt;
  120. text-transform: uppercase;
  121. text-align: left;
  122. }
  123. .pagedjs_right_page .section-title:not(.still){
  124. text-align: right;
  125. }
  126. .section-content {
  127. hyphens: auto;
  128. font-family: "SGI-TextAlt";
  129. font-size: 9.5pt;
  130. font-weight: 200;
  131. line-height: 18pt;
  132. // text-align: left;
  133. }
  134. // texte justifié par defaut
  135. .justify p {
  136. text-align: justify;
  137. text-align-last: left !important;
  138. hyphens: auto;
  139. hanging-punctuation: first;
  140. }
  141. .section-content p {
  142. text-align: left;
  143. }
  144. .chapter-content h3 {
  145. hyphens: none;
  146. font-size: 19pt;
  147. font-weight: 200;
  148. line-height: 23pt;
  149. margin-left: 10mm;
  150. }
  151. h4 {
  152. margin: 0;
  153. }
  154. // phrase amorce du chapitre 1
  155. strong {
  156. font-family: "Cormorant";
  157. font-weight: 200;
  158. font-size: 14pt;
  159. line-height: 18pt;
  160. letter-spacing: -1px;
  161. }
  162. // .column .image-cover .image-bleed {
  163. // margin:0;
  164. //
  165. // }
  166. p img{
  167. max-width: 100%;
  168. }
  169. .legend{
  170. position: absolute;
  171. bottom: 0;
  172. font-size: 9.5pt;
  173. font-family: "Texta";
  174. line-height: 9pt;
  175. }
  176. blockquote{
  177. background-image: url("/motifs/croix.png");
  178. background-size: 0.4cm;
  179. width: calc(#{$largeur} + #{$fond-perdu} * 2);
  180. height: calc(#{$hauteur} + #{$fond-perdu} * 2);
  181. position: absolute;
  182. margin-left: calc(-2cm - #{$fond-perdu});
  183. margin-top: calc(-2cm - #{$fond-perdu});
  184. padding: 2cm;
  185. break-before: always;
  186. break-after: always;
  187. & p{
  188. display: inline;
  189. font-size: 28pt;
  190. padding: 0.2cm 0.2cm;
  191. background-color: white;
  192. box-shadow: 0.2cm 0px 0px white, 0.2cm 0px 0px white;
  193. box-decoration-break: clone;
  194. line-height: calc(100% + 0.4cm);
  195. }
  196. }