main.css 5.9 KB

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