print.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. @font-face {
  2. font-family: 'Cormorant';
  3. src: url('../fonts/Cormorant-Light.ttf');
  4. font-weight: 200;
  5. }
  6. @font-face {
  7. font-family: 'TextaAlt';
  8. src: url('../fonts/TextaAlt-Bold.otf');
  9. font-weight: 800;
  10. }
  11. @font-face {
  12. font-family: 'Texta';
  13. src: url('../fonts/Texta-Black.otf');
  14. font-weight: 800;
  15. }
  16. @font-face {
  17. font-family: 'Duke POPSU';
  18. src: url('../fonts/Duke-POPSU.ttf');
  19. }
  20. @font-face {
  21. font-family: "SGI-TextAlt";
  22. src: url("../fonts/SGI-TextAlt.otf") format("opentype");
  23. }
  24. .pagedjs_page_content>div {
  25. height: 100%;
  26. }
  27. .layout {
  28. display: flex;
  29. flex-direction: column;
  30. height: 100%;
  31. }
  32. .grow{
  33. flex:1;
  34. }
  35. .no-folio{
  36. page: nofolio;
  37. }
  38. .blank-page{
  39. page-break-after: always;
  40. }
  41. .column {
  42. flex: 1;
  43. display: flex;
  44. flex-direction: column;
  45. }
  46. .justify-end {
  47. justify-content: flex-end;
  48. }
  49. .capital {
  50. text-transform: uppercase;
  51. font-size: 12pt;
  52. }
  53. body {
  54. font-size: 10pt;
  55. }
  56. @media print {
  57. @page {
  58. size: 148mm 210mm;
  59. margin: 2cm;
  60. }
  61. @page :left {
  62. @bottom-left {
  63. content: counter(page);
  64. font-weight: 12pt;
  65. font-family: 'Duke POPSU';
  66. transform: translateX(-1cm);
  67. }
  68. }
  69. @page :right {
  70. @bottom-right {
  71. content: counter(page);
  72. font-weight: 12pt;
  73. font-family: 'Duke POPSU';
  74. transform: translateX(1cm);
  75. }
  76. }
  77. @page imagecover {
  78. size: 148mm 210mm;
  79. margin: 0cm;
  80. }
  81. @page nofolio :left {
  82. @bottom-left {
  83. content: unset;
  84. }
  85. }
  86. @page nofolio :right {
  87. @bottom-right {
  88. content: unset;
  89. }
  90. }
  91. .table-of-content a {
  92. text-decoration: none;
  93. color: inherit;
  94. }
  95. .table-of-content a::after {
  96. font-size: 9pt;
  97. margin-left: 10pt;
  98. content: target-counter(attr(href), page);
  99. font-family: "SGI-TextAlt";
  100. }
  101. }
  102. .table-of-content {
  103. font-family: "Cormorant";
  104. font-weight: 200;
  105. font-size: 25pt;
  106. line-height: 33pt;
  107. margin: 0;
  108. }
  109. .chapter-title {
  110. font-family: "Cormorant";
  111. font-weight: 200;
  112. font-size: 34pt;
  113. line-height: 34pt;
  114. text-align: right;
  115. }
  116. .canbreak{
  117. page-break-before: always;
  118. }
  119. .chapter-title:after {
  120. content: "++++";
  121. display: block;
  122. font-family: inherit;
  123. font-weight: 200;
  124. font-size: 10pt;
  125. letter-spacing: 4pt;
  126. }
  127. .chapter-content {
  128. text-align: justify;
  129. -webkit-hyphens : auto;
  130. font-family: "Cormorant";
  131. font-weight: 200;
  132. font-size: 10pt;
  133. line-height: 18pt;
  134. }
  135. .section-title {
  136. font-family: "TextaAlt";
  137. font-weight: 800;
  138. font-size: 12pt;
  139. }
  140. .section-content {
  141. text-align: justify;
  142. hyphens: auto;
  143. font-family: "SGI-TextAlt";
  144. font-size:9.5pt;
  145. font-weight: 200;
  146. line-height: 18pt;
  147. }
  148. .image-cover {
  149. page: imagecover;
  150. background-size: cover;
  151. background-position: center;
  152. background-color: lightgray;
  153. background-repeat: no-repeat;
  154. }
  155. .cover-left{
  156. background-position:0% 50%;
  157. }
  158. .cover-right{
  159. background-position:-148mm 50%;
  160. }
  161. .pre-title{
  162. font-family: "Duke POPSU";
  163. font-size: 45pt;
  164. line-height: 33pt;
  165. }
  166. .pre-sub-title{
  167. font-family: "Texa";
  168. font-weight: 800;
  169. font-size: 10pt;
  170. line-height: 13pt;
  171. }
  172. .main-title{
  173. font-family: "Duke POPSU";
  174. font-size: 60pt;
  175. line-height: 48pt;
  176. margin: 0;
  177. }
  178. .main-sub-title{
  179. font-family: "Texa";
  180. font-weight: 800;
  181. font-size: 12pt;
  182. line-height: 15pt;
  183. }
  184. .bold {
  185. font-family: "TextaAlt";
  186. font-weight: 800;
  187. font-size: 12pt;
  188. text-transform: uppercase;
  189. }
  190. .center{
  191. text-align: center;
  192. }
  193. .green{
  194. background-blend-mode:screen;
  195. background-color: green;
  196. }
  197. .v-center{
  198. display: flex;
  199. flex-direction: column;
  200. justify-content: center;
  201. }