print.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. $font-stack: "Tex Gyre Heros";
  2. $font-color-light: #c0c0c0;
  3. @font-face {
  4. font-family: 'TeX Gyre Heros';
  5. src: url('/fonts/texgyreheros-regular-webfont.woff') format('woff');
  6. font-style: normal;
  7. }
  8. @font-face {
  9. font-family: 'TeX Gyre Heros';
  10. src: url('/fonts/texgyreheros-bold-webfont.woff') format('woff');
  11. font-style: normal;
  12. font-weight: bold;
  13. }
  14. @font-face {
  15. font-family: 'TeX Gyre Heros';
  16. src: url('/fonts/texgyreheros-italic-webfont.woff') format('woff');
  17. font-style: italic;
  18. }
  19. @font-face {
  20. font-family: 'TeX Gyre Heros';
  21. src: url('/fonts/texgyreheros-bolditalic-webfont.woff') format('woff');
  22. font-style: italic;
  23. font-weight: bold;
  24. }
  25. .voffset-halb {
  26. margin-top: 0.5em;
  27. }
  28. .voffset-1 {
  29. margin-top: 1em;
  30. }
  31. .voffset-2 {
  32. margin-top: 2em;
  33. }
  34. .voffset-3 {
  35. margin-top: 3em;
  36. }
  37. .voffset-4 {
  38. margin-top: 4em;
  39. }
  40. .voffset-5 {
  41. margin-top: 5em;
  42. }
  43. .voffset-6 {
  44. margin-top: 6em;
  45. }
  46. .voffset-7 {
  47. margin-top: 7em;
  48. }
  49. .voffset-8 {
  50. margin-top: 8em;
  51. }
  52. .voffset-9 {
  53. margin-top: 9em;
  54. }
  55. .voffset-20 {
  56. margin-top: 20em;
  57. }
  58. hr {
  59. border-color: #000;
  60. height: 1px;
  61. margin: 3px 0;
  62. &.hr-rot {
  63. border-color: #ff2700;
  64. margin: 8px 0;
  65. }
  66. &.hr-grau {
  67. border-color: rgb(100,100,100) !important;
  68. }
  69. }
  70. .table-eng {
  71. margin-bottom: 0px;
  72. td {
  73. padding: 1px !important;
  74. font-size: 9pt;
  75. }
  76. }
  77. .table-noten {
  78. margin-bottom: 1em;
  79. }
  80. .fach-bezeichnung {
  81. padding-left: 10mm;
  82. &.padding-5 {
  83. padding-left: 2em;
  84. }
  85. }
  86. .td-fach-note {
  87. border: 5px white solid;
  88. padding: 0;
  89. width: 12em;
  90. span {
  91. // background-color: #c0c0c0 !important;
  92. background-color: #dcdcdc !important;
  93. text-align: center;
  94. width: 10em;
  95. display: block;
  96. vertical-align: middle;
  97. margin:0 auto;
  98. &.e-note {
  99. background-color: white !important;
  100. width: 17em;
  101. margin: 0;
  102. padding: 0;
  103. }
  104. }
  105. }
  106. .td-padding-extra {
  107. padding: 2mm 0 2mm 0;
  108. }
  109. .fachgruppe-margin {
  110. padding-top: 0.3em;
  111. }
  112. .fett {
  113. font-weight: bolder;
  114. }
  115. .lernfeld-lernbereich {
  116. padding-left: 2em;
  117. }
  118. .lernbereich {
  119. padding-left: 20mm;
  120. }
  121. .pull-bottom {
  122. position: absolute;
  123. bottom: 0;
  124. padding: 0;
  125. //row zu kurz, wenn Text nicht mehrzeilig ist
  126. // width: 100%;
  127. // evtl so besser:
  128. display:block; width: auto;
  129. .schulnummer {
  130. text-align: right;
  131. }
  132. }
  133. .font-small * {
  134. font-size: 0.9rem !important;
  135. }
  136. .kleiner-10rem {
  137. font-size: 0.9rem;
  138. }
  139. .kleiner-20rem {
  140. font-size: 0.8rem;
  141. }
  142. .kleiner-30rem {
  143. font-size: 0.7rem;
  144. }
  145. .kleiner-40rem {
  146. font-size: 0.6rem;
  147. }
  148. .klein {
  149. font-size: 8pt;
  150. }
  151. .klein-7 {
  152. font-size: 7pt;
  153. }
  154. .klein-8 {
  155. font-size: 8pt;
  156. }
  157. .klein-9 {
  158. font-size: 9pt;
  159. }
  160. .eng {
  161. line-height: 1.3em;
  162. }
  163. .grau *{
  164. color: rgb(100,100,100) !important;
  165. }
  166. ul.boxes {
  167. list-style-type: none;
  168. padding-left: 1em;
  169. li:before {
  170. content: "☐";
  171. position: absolute;
  172. margin-left: -1em;
  173. }
  174. }
  175. ul.dashes {
  176. list-style-type: none;
  177. padding-left: 1em;
  178. li:before {
  179. content: "–";
  180. position: absolute;
  181. margin-left: -1em;
  182. }
  183. }
  184. .wasserzeichen {
  185. position: absolute;
  186. opacity: 0.5;
  187. z-index: 99;
  188. color: red;
  189. font-size: 96pt;
  190. }
  191. .seitenlogo {
  192. position: absolute;
  193. bottom: 10mm;
  194. left: 10mm;
  195. }
  196. * {
  197. box-sizing: border-box;
  198. -moz-box-sizing: border-box;
  199. }
  200. .page {
  201. position: relative;
  202. padding: 10mm 25mm 10mm 25mm;
  203. &:active {background-color: #ffeaea;}
  204. border: 1px solid black;
  205. -webkit-box-shadow: 5px 5px 4px 0px rgba(192,192,192,1);
  206. -moz-box-shadow: 5px 5px 4px 0px rgba(192,192,192,1);
  207. box-shadow: 5px 5px 4px 0px rgba(192,192,192,1);
  208. -webkit-print-color-adjust: exact;
  209. }
  210. .subpage {
  211. font: 10pt $font-stack;
  212. background-color: white;
  213. position: relative;
  214. min-height: 100%;
  215. &.font-size-8 {
  216. font: 8pt $font-stack;
  217. }
  218. &.font-size-11 {
  219. font: 11pt $font-stack;
  220. }
  221. }
  222. table.fixed {
  223. table-layout: fixed;
  224. table th, table td {
  225. overflow: hidden;
  226. }
  227. }
  228. @media print {
  229. * {
  230. //alles was Farbe hat mitdrucken
  231. -webkit-print-color-adjust: exact;
  232. }
  233. //Bootstrap-Eigenart Links mit auszudrucken...
  234. a[href]:after {
  235. content: "";
  236. }
  237. .container {
  238. padding: 0;
  239. margin: 0;
  240. }
  241. .page {
  242. page-break-after: always;
  243. margin: 0px;
  244. border: none;
  245. margin-bottom: 0px;
  246. -webkit-box-shadow:initial;
  247. -moz-box-shadow:initial;
  248. box-shadow: initial;
  249. }
  250. }