main.css 6.6 KB

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