print.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  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. .section-title {
  128. font-family: "TextaAlt";
  129. font-weight: 800;
  130. font-size: 12pt;
  131. }
  132. .chapter-content {
  133. hyphens: auto;
  134. font-family: "Cormorant";
  135. font-weight: 200;
  136. font-size: 10pt;
  137. line-height: 18pt;
  138. }
  139. .section-content {
  140. hyphens: auto;
  141. font-family: "SGI-TextAlt";
  142. font-size:9.5pt;
  143. font-weight: 200;
  144. line-height: 18pt;
  145. }
  146. .justify p{
  147. text-align: justify;
  148. text-align-last: left !important;
  149. hyphens: auto;
  150. }
  151. .image-cover {
  152. page: imagecover;
  153. background-size: cover;
  154. background-position: center;
  155. background-color: lightgray;
  156. background-repeat: no-repeat;
  157. }
  158. .cover-left{
  159. background-position:0% 50%;
  160. }
  161. .cover-right{
  162. background-position:-148mm 50%;
  163. }
  164. .pre-title{
  165. font-family: "Duke POPSU";
  166. font-size: 45pt;
  167. line-height: 33pt;
  168. }
  169. .pre-sub-title{
  170. font-family: "Texa";
  171. font-weight: 800;
  172. font-size: 10pt;
  173. line-height: 13pt;
  174. }
  175. .main-title{
  176. font-family: "Duke POPSU";
  177. font-size: 60pt;
  178. line-height: 48pt;
  179. margin: 0;
  180. }
  181. .main-sub-title{
  182. font-family: "Texa";
  183. font-weight: 800;
  184. font-size: 12pt;
  185. line-height: 15pt;
  186. }
  187. .bold {
  188. font-family: "TextaAlt";
  189. font-weight: 800;
  190. font-size: 12pt;
  191. text-transform: uppercase;
  192. }
  193. .center{
  194. text-align: center;
  195. }
  196. .green{
  197. background-blend-mode:screen;
  198. background-color: green;
  199. }
  200. .v-center{
  201. display: flex;
  202. flex-direction: column;
  203. justify-content: center;
  204. }