print.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  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.dashes {
  167. list-style-type: none;
  168. padding-left: 1em;
  169. li:before {
  170. content: "–";
  171. position: absolute;
  172. margin-left: -1em;
  173. }
  174. }
  175. .wasserzeichen {
  176. position: absolute;
  177. opacity: 0.5;
  178. z-index: 99;
  179. color: red;
  180. font-size: 96pt;
  181. }
  182. .seitenlogo {
  183. position: absolute;
  184. bottom: 10mm;
  185. left: 10mm;
  186. }
  187. * {
  188. box-sizing: border-box;
  189. -moz-box-sizing: border-box;
  190. }
  191. .page {
  192. position: relative;
  193. padding: 10mm 25mm 10mm 25mm;
  194. &:active {background-color: #ffeaea;}
  195. border: 1px solid black;
  196. -webkit-box-shadow: 5px 5px 4px 0px rgba(192,192,192,1);
  197. -moz-box-shadow: 5px 5px 4px 0px rgba(192,192,192,1);
  198. box-shadow: 5px 5px 4px 0px rgba(192,192,192,1);
  199. -webkit-print-color-adjust: exact;
  200. }
  201. .subpage {
  202. font: 10pt $font-stack;
  203. background-color: white;
  204. position: relative;
  205. min-height: 100%;
  206. &.font-size-8 {
  207. font: 8pt $font-stack;
  208. }
  209. &.font-size-11 {
  210. font: 11pt $font-stack;
  211. }
  212. }
  213. table.fixed {
  214. table-layout: fixed;
  215. table th, table td {
  216. overflow: hidden;
  217. }
  218. }
  219. @media print {
  220. * {
  221. //alles was Farbe hat mitdrucken
  222. -webkit-print-color-adjust: exact;
  223. }
  224. //Bootstrap-Eigenart Links mit auszudrucken...
  225. a[href]:after {
  226. content: "";
  227. }
  228. .container {
  229. padding: 0;
  230. margin: 0;
  231. }
  232. .page {
  233. page-break-after: always;
  234. margin: 0px;
  235. border: none;
  236. margin-bottom: 0px;
  237. -webkit-box-shadow:initial;
  238. -moz-box-shadow:initial;
  239. box-shadow: initial;
  240. }
  241. }