main.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. @charset "UTF-8";
  2. @import url(normalize.css);
  3. @font-face {
  4. font-family: 'TeX Gyre Heros';
  5. src: url("texgyreheros-regular-webfont.woff") format("woff");
  6. font-style: normal;
  7. }
  8. @font-face {
  9. font-family: 'TeX Gyre Heros';
  10. src: url("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("texgyreheros-italic-webfont.woff") format("woff");
  17. font-style: italic;
  18. }
  19. @font-face {
  20. font-family: 'TeX Gyre Heros';
  21. src: url("texgyreheros-bolditalic-webfont.woff") format("woff");
  22. font-style: italic;
  23. font-weight: bold;
  24. }
  25. @media print {
  26. * {
  27. -webkit-print-color-adjust: exact;
  28. }
  29. .page {
  30. page-break-after: always;
  31. page-break-inside: avoid;
  32. margin: 0;
  33. }
  34. }
  35. /*
  36. Da *named pages*, also z.B. @page a3landscape noch nicht von Chrome
  37. unterstützt werden, gilt vorerst die Standard-Einstellung von A4 Portrait.
  38. Um andere Formate zu erzeugen, muss die Größe in den svelte-Koponenten
  39. als setup-Einstellung hinterlegt werden. Oder man verwendet ein besonderes CSS
  40. mit der anderen Einstellung.
  41. Dazu bitte ein @import 'nicht_a4_portrait.css' verwenden. Svelte ignoriert sonst
  42. die in den <style> tags hinterlegten @... Anweisungen.
  43. Link: https://www.w3.org/TR/css3-page/#using-named-pages
  44. */
  45. .page[size="A4"][orientation="portrait"] {
  46. page: a4portrait;
  47. width: 210mm;
  48. height: 296.8mm;
  49. }
  50. @page a4portrait {
  51. margin: 0;
  52. size: A4 portrait;
  53. }
  54. .page[size="A4"][orientation="landscape"] {
  55. page: a4landscape;
  56. width: 296.8mm;
  57. height: 210mm;
  58. }
  59. @page a4landscape {
  60. margin: 0;
  61. size: A4 landscape;
  62. }
  63. .page[size="A3"][orientation="portrait"] {
  64. page: a3portrait;
  65. width: 296.8mm;
  66. height: 420mm;
  67. }
  68. @page a3portrait {
  69. margin: 0;
  70. size: A3 portrait;
  71. }
  72. .page[size="A3"][orientation="landscape"] {
  73. page: a3landscape;
  74. width: 420mm;
  75. height: 296.8mm;
  76. }
  77. @page a3landscape {
  78. margin: 0;
  79. size: A3 landscape;
  80. }
  81. .page[size="A5"][orientation="portrait"] {
  82. page: a5portrait;
  83. width: 148mm;
  84. height: 210mm;
  85. }
  86. @page a5portrait {
  87. margin: 0;
  88. size: A5 portrait;
  89. }
  90. .page[size="A5"][orientation="landscape"] {
  91. page: a5landscape;
  92. width: 210mm;
  93. height: 148mm;
  94. }
  95. @page a5landscape {
  96. margin: 0;
  97. size: A5 landscape;
  98. }
  99. @media screen {
  100. .page {
  101. border: 1px solid black;
  102. box-shadow: 5px 5px 4px 0 silver;
  103. }
  104. }
  105. svelte {
  106. font-size: 62.5%;
  107. }
  108. .page {
  109. font-size: 1.2em;
  110. line-height: 1.5;
  111. font-weight: normal;
  112. font-family: "Tex Gyre Heros";
  113. color: #333;
  114. position: relative;
  115. padding: 10mm 25mm 10mm 25mm;
  116. display: block;
  117. }
  118. /* Typography */
  119. h1, h2, h3, h4, h5, h6 {
  120. margin-top: 0;
  121. margin-bottom: 0;
  122. font-weight: 400;
  123. }
  124. h1 {
  125. font-size: 4.0em;
  126. line-height: 1.2;
  127. letter-spacing: -.1em;
  128. }
  129. h2 {
  130. font-size: 3.6em;
  131. line-height: 1.25;
  132. letter-spacing: -.1em;
  133. }
  134. h3 {
  135. font-size: 3.0em;
  136. line-height: 1.3;
  137. letter-spacing: -.1em;
  138. }
  139. h4 {
  140. font-size: 2.4em;
  141. line-height: 1.35;
  142. letter-spacing: -.08em;
  143. }
  144. h5 {
  145. font-size: 1.8em;
  146. line-height: 1.5;
  147. letter-spacing: -.05em;
  148. }
  149. h6 {
  150. font-size: 1.5em;
  151. line-height: 1.6;
  152. letter-spacing: 0;
  153. }
  154. p {
  155. margin-top: 0;
  156. }
  157. .grid {
  158. display: grid;
  159. grid-gap: 0;
  160. gap: 0;
  161. align-content: start;
  162. grid-template-columns: auto;
  163. grid-template-rows: auto 1fr auto;
  164. grid-template-areas: "header" "main" "footer";
  165. }
  166. .header {
  167. grid-area: header;
  168. align-self: start;
  169. }
  170. .main {
  171. grid-area: main;
  172. align-self: start;
  173. }
  174. .footer {
  175. grid-area: footer;
  176. align-self: end;
  177. }
  178. .main-grid {
  179. grid-area: main;
  180. display: grid;
  181. grid-column-gap: 25mm;
  182. grid-template-columns: 1fr 1fr;
  183. grid-template-rows: auto 1fr auto;
  184. grid-template-areas: "header-left header-right" "main-left main-right" "footer-left footer-right";
  185. }
  186. .main-left {
  187. grid-area: main-left;
  188. }
  189. .main-right {
  190. grid-area: main-right;
  191. }
  192. .footer-grid {
  193. grid-area: footer;
  194. display: grid;
  195. grid-column-gap: 25mm;
  196. grid-template-columns: 1fr 1fr;
  197. grid-template-rows: auto;
  198. grid-template-areas: "footer-left footer-right";
  199. }
  200. .footer-left {
  201. grid-area: footer-left;
  202. }
  203. .footer-right {
  204. grid-area: footer-right;
  205. }
  206. .flex-grid {
  207. display: flex;
  208. }
  209. .col {
  210. flex: 1;
  211. }
  212. .col-2 {
  213. flex: 2;
  214. }
  215. .voffset-halb {
  216. margin-top: 0.5em;
  217. }
  218. .voffset-1 {
  219. margin-top: 1em;
  220. }
  221. .voffset-2 {
  222. margin-top: 2em;
  223. }
  224. .voffset-3 {
  225. margin-top: 3em;
  226. }
  227. .voffset-4 {
  228. margin-top: 4em;
  229. }
  230. .voffset-5 {
  231. margin-top: 5em;
  232. }
  233. .voffset-6 {
  234. margin-top: 6em;
  235. }
  236. .voffset-7 {
  237. margin-top: 7em;
  238. }
  239. .voffset-8 {
  240. margin-top: 8em;
  241. }
  242. .voffset-9 {
  243. margin-top: 9em;
  244. }
  245. .voffset-10 {
  246. margin-top: 10em;
  247. }
  248. .voffset-11 {
  249. margin-top: 11em;
  250. }
  251. .voffset-12 {
  252. margin-top: 12em;
  253. }
  254. .voffset-13 {
  255. margin-top: 13em;
  256. }
  257. .voffset-14 {
  258. margin-top: 14em;
  259. }
  260. .voffset-15 {
  261. margin-top: 15em;
  262. }
  263. .voffset-16 {
  264. margin-top: 16em;
  265. }
  266. .voffset-17 {
  267. margin-top: 17em;
  268. }
  269. .voffset-18 {
  270. margin-top: 18em;
  271. }
  272. .voffset-19 {
  273. margin-top: 19em;
  274. }
  275. .voffset-20 {
  276. margin-top: 20em;
  277. }
  278. .text-center {
  279. text-align: center !important;
  280. }
  281. hr {
  282. border: 0;
  283. border-top: 1px solid #eee;
  284. border-color: #000;
  285. height: 1px;
  286. margin: 3px 0;
  287. }
  288. .hr-rot {
  289. border-color: #ff2700;
  290. margin: 8px 0;
  291. }
  292. .hr-grau {
  293. border-color: #646464 !important;
  294. }
  295. .table-eng {
  296. margin-bottom: 0 !important;
  297. }
  298. .table-noten {
  299. width: 100%;
  300. border: none;
  301. border-collapse: collapse;
  302. margin-bottom: 1em;
  303. }
  304. .table-bordered {
  305. border-collapse: collapse;
  306. }
  307. .table-bordered tr {
  308. border-bottom: thin solid #333;
  309. }
  310. .fach-bezeichnung {
  311. padding-left: 10mm;
  312. }
  313. .fach-bezeichnung.padding-5 {
  314. padding-left: 2em;
  315. }
  316. .td-fach-note {
  317. padding-bottom: .2em;
  318. padding-top: .2em;
  319. width: 12em;
  320. }
  321. .td-fach-note span {
  322. background-color: #dcdcdc !important;
  323. text-align: center;
  324. width: 10em;
  325. display: block;
  326. vertical-align: middle;
  327. margin: 0 auto;
  328. }
  329. .td-fach-note span.e-note {
  330. background-color: white !important;
  331. width: 17em;
  332. margin: 0;
  333. }
  334. .td-padding-extra {
  335. padding: 2mm 0 2mm 0;
  336. }
  337. .fachgruppe-margin {
  338. padding-top: 0.3em;
  339. }
  340. .fett {
  341. font-weight: bolder;
  342. }
  343. .lernfeld-lernbereich {
  344. padding-left: 2em;
  345. padding-bottom: 0;
  346. }
  347. .lernbereich {
  348. padding-left: 20mm;
  349. }
  350. .klein {
  351. font-size: smaller;
  352. }
  353. .eng {
  354. line-height: 1.3em;
  355. }
  356. .grau * {
  357. color: #646464 !important;
  358. }
  359. ul.dashes {
  360. margin: 0;
  361. list-style-type: none;
  362. padding-left: 1em;
  363. }
  364. ul.dashes li:before {
  365. content: "-";
  366. position: absolute;
  367. margin-left: -1em;
  368. }
  369. .schulnummer {
  370. text-align: right;
  371. }
  372. .wasserzeichen {
  373. position: absolute;
  374. opacity: 0.5;
  375. z-index: 99;
  376. color: red;
  377. font-size: 96pt;
  378. }
  379. .seitenlogo {
  380. position: absolute;
  381. bottom: 10mm;
  382. left: 10mm;
  383. }
  384. * {
  385. box-sizing: border-box;
  386. }
  387. table.fixed {
  388. table-layout: fixed;
  389. }
  390. table.fixed table th, table.fixed table td {
  391. overflow: hidden;
  392. }