styles_de_paragraphes.scss 3.5 KB

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