page.scss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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.5rem
  27. }
  28. @for $i from 1 through 20 {
  29. .voffset-#{$i} {
  30. margin-top: #{$i}rem
  31. }}
  32. .text-center { text-align: center !important; }
  33. hr {
  34. border: 0;
  35. border-top: 1px solid #eee;
  36. border-color: #000;
  37. height: 1px;
  38. margin: 3px 0;
  39. &.hr-rot {
  40. border-color: #ff2700;
  41. margin: 8px 0;
  42. }
  43. &.hr-grau {
  44. border-color: rgb(100,100,100) !important;
  45. }
  46. }
  47. .table-eng {
  48. margin-bottom: 0px;
  49. td {
  50. padding: 1px !important;
  51. font-size: 9pt;
  52. }
  53. }
  54. .table-noten {
  55. td {
  56. padding: 0 !important;
  57. }
  58. margin-bottom: 1em;
  59. }
  60. .fach-bezeichnung {
  61. padding-left: 10mm;
  62. &.padding-5 {
  63. padding-left: 2em;
  64. }
  65. }
  66. .td-fach-note {
  67. // border: 5px white solid;
  68. padding: 0;
  69. width: 12em;
  70. span {
  71. // background-color: #c0c0c0 !important;
  72. background-color: #dcdcdc !important;
  73. text-align: center;
  74. width: 10em;
  75. display: block;
  76. vertical-align: middle;
  77. margin:0 auto;
  78. &.e-note {
  79. background-color: white !important;
  80. width: 17em;
  81. margin: 0;
  82. padding: 0;
  83. }
  84. }
  85. }
  86. .td-padding-extra {
  87. padding: 2mm 0 2mm 0;
  88. }
  89. .fachgruppe-margin {
  90. padding-top: 0.3em;
  91. }
  92. .fett {
  93. font-weight: bolder;
  94. }
  95. .lernfeld-lernbereich {
  96. padding-left: 2em;
  97. }
  98. .lernbereich {
  99. padding-left: 20mm;
  100. }
  101. .klein {
  102. font-size: smaller;
  103. }
  104. .eng {
  105. line-height: 1.3em;
  106. }
  107. .grau *{
  108. color: rgb(100,100,100) !important;
  109. }
  110. ul.dashes {
  111. list-style-type: none;
  112. padding-left: 1em;
  113. li:before {
  114. content: "–";
  115. position: absolute;
  116. margin-left: -1em;
  117. }
  118. }
  119. .wasserzeichen {
  120. position: absolute;
  121. opacity: 0.5;
  122. z-index: 99;
  123. color: red;
  124. font-size: 96pt;
  125. }
  126. .seitenlogo {
  127. position: absolute;
  128. bottom: 10mm;
  129. left: 10mm;
  130. }
  131. * {
  132. box-sizing: border-box;
  133. -moz-box-sizing: border-box;
  134. }
  135. html {
  136. font-size: 62.5%; }
  137. body {
  138. font-size: 1.33em; /* currently ems cause chrome bug misinterpreting rems on body element */
  139. line-height: 1.5;
  140. font-weight: normal;
  141. font-family: $font-stack;
  142. color: #333;
  143. }
  144. /* Typography
  145. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  146. h1, h2, h3, h4, h5, h6 {
  147. margin-top: 0;
  148. margin-bottom: 0;
  149. font-weight: 400;
  150. }
  151. h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;}
  152. h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
  153. h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; }
  154. h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
  155. h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; }
  156. h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
  157. p { margin-top: 0; }
  158. page {
  159. position: relative;
  160. padding: 10mm 25mm 10mm 25mm;
  161. display: block;
  162. border: 1px solid black;
  163. -webkit-box-shadow: 5px 5px 4px 0px rgba(192,192,192,1);
  164. -moz-box-shadow: 5px 5px 4px 0px rgba(192,192,192,1);
  165. box-shadow: 5px 5px 4px 0px rgba(192,192,192,1);
  166. -webkit-print-color-adjust: exact;
  167. }
  168. page[size="A4"][orientation="portrait"] {
  169. width: 210mm;
  170. height: 297mm;
  171. }
  172. page[size="A4"][orientation="landscape"] {
  173. width: 297mm;
  174. height: 210mm;
  175. }
  176. page[size="A3"][orientation="portrait"] {
  177. width: 420mm;
  178. height: 297mm;
  179. }
  180. page[size="A3"][orientation="landscape"] {
  181. width: 297mm;
  182. height: 420mm;
  183. }
  184. page[size="A5"][orientation="landscape"] {
  185. width: 14.8cm;
  186. height: 21cm;
  187. }
  188. page[size="A5"][orientation="portrait"] {
  189. width: 21cm;
  190. height: 14.8cm;
  191. }
  192. .grid {
  193. display: grid;
  194. grid-template-columns: auto;
  195. grid-template-rows: auto 1fr auto;
  196. grid-template-areas: "header"
  197. "main"
  198. "footer";
  199. grid-gap: 0px;
  200. align-content: start;
  201. }
  202. .header {
  203. grid-area: header;
  204. align-self: start;
  205. }
  206. .main {
  207. grid-area: main;
  208. align-self: start;
  209. }
  210. .footer {
  211. grid-area: footer;
  212. align-self: end;
  213. }
  214. .flex-grid {
  215. display: flex;
  216. }
  217. .col {
  218. flex: 1;
  219. }
  220. table.fixed {
  221. table-layout: fixed;
  222. table th, table td {
  223. overflow: hidden;
  224. }
  225. }
  226. @media print {
  227. * {
  228. //alles was Farbe hat mitdrucken
  229. -webkit-print-color-adjust: exact;
  230. }
  231. //Bootstrap-Eigenart Links mit auszudrucken...
  232. a[href]:after {
  233. content: "";
  234. }
  235. .container {
  236. padding: 0;
  237. margin: 0;
  238. }
  239. page {
  240. page-break-after: always;
  241. margin: 0px;
  242. border: none;
  243. margin-bottom: 0px;
  244. -webkit-box-shadow:initial;
  245. -moz-box-shadow:initial;
  246. box-shadow: initial;
  247. }
  248. @page {
  249. page[size="A4"][orientation="portrait"] {
  250. size: A4 portrait;
  251. }
  252. page[size="A4"][orientation="landscape"] {
  253. size: A4 landscape;
  254. }
  255. page[size="A3"][orientation="portrait"] {
  256. size: A3 portrait;
  257. }
  258. page[size="A3"][orientation="landscape"] {
  259. size: A3 landscape;
  260. }
  261. }
  262. }