main.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. @charset "UTF-8";
  2. @import url(normalize.css);
  3. @font-face {
  4. font-family: 'TeX Gyre Heros';
  5. src: url("../daten/texgyreheros-regular-webfont.woff") format("woff");
  6. font-style: normal;
  7. }
  8. @font-face {
  9. font-family: 'TeX Gyre Heros';
  10. src: url("../daten/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("../daten/texgyreheros-italic-webfont.woff") format("woff");
  17. font-style: italic;
  18. }
  19. @font-face {
  20. font-family: 'TeX Gyre Heros';
  21. src: url("../daten/texgyreheros-bolditalic-webfont.woff") format("woff");
  22. font-style: italic;
  23. font-weight: bold;
  24. }
  25. @media screen {
  26. /* body {
  27. background: lightgoldenrodyellow;
  28. } */
  29. .page {
  30. box-sizing: border-box;
  31. background: rgba(255,255,255,0.9);
  32. margin: 20px;
  33. box-shadow: 0px 0px 30px 0px #888;
  34. }
  35. }
  36. @media print {
  37. * {
  38. -webkit-print-color-adjust: exact;
  39. }
  40. .page {
  41. page-break-after: always;
  42. page-break-inside: avoid;
  43. margin: 0;
  44. }
  45. .no-print, .no-print * {
  46. display: none !important;
  47. }
  48. }
  49. @page {
  50. margin: 0;
  51. size: auto;
  52. }
  53. html {
  54. font-size: 10pt;
  55. }
  56. .page {
  57. line-height: 1.5;
  58. font-weight: normal;
  59. font-family: "Tex Gyre Heros";
  60. color: #333;
  61. position: relative;
  62. padding: 10mm 25mm 10mm 25mm;
  63. display: block;
  64. }
  65. /*
  66. Da *named pages*, also z.B. @page a3landscape noch nicht von Chrome
  67. unterstützt werden, gilt vorerst die Standard-Einstellung von A4 Portrait.
  68. Um andere Formate zu erzeugen, muss die Größe in den svelte-Koponenten
  69. als setup-Einstellung hinterlegt werden. Oder man verwendet ein besonderes CSS
  70. mit der anderen Einstellung.
  71. Dazu bitte ein @import 'nicht_a4_portrait.css' verwenden. Svelte ignoriert sonst
  72. die in den <style> tags hinterlegten @... Anweisungen.
  73. Link: https://www.w3.org/TR/css3-page/#using-named-pages
  74. */
  75. .page[size="A4"][orientation="portrait"] {
  76. /* page: a4portrait; */
  77. width: 210mm;
  78. height: 296.8mm;
  79. }
  80. /* @page a4portrait {
  81. margin: 0;
  82. size: A4 portrait;
  83. } */
  84. .page[size="A4"][orientation="landscape"] {
  85. /* page: a4landscape; */
  86. width: 296.8mm;
  87. height: 209mm;
  88. }
  89. /* @page a4landscape {
  90. margin: 0;
  91. size: A4 landscape;
  92. } */
  93. .page[size="A3"][orientation="portrait"] {
  94. /* page: a3portrait; */
  95. width: 296.8mm;
  96. height: 420mm;
  97. }
  98. /* @page a3portrait {
  99. margin: 0;
  100. size: A3 portrait;
  101. } */
  102. .page[size="A3"][orientation="landscape"] {
  103. /* page: a3landscape; */
  104. width: 420mm;
  105. height: 296.8mm;
  106. }
  107. /* @page a3landscape {
  108. margin: 0;
  109. size: A3 landscape;
  110. } */
  111. .page[size="A5"][orientation="portrait"] {
  112. /* page: a5portrait; */
  113. width: 148mm;
  114. height: 210mm;
  115. }
  116. /* @page a5portrait {
  117. margin: 0;
  118. size: A5 portrait;
  119. } */
  120. .page[size="A5"][orientation="landscape"] {
  121. /* page: a5landscape; */
  122. width: 210mm;
  123. height: 148mm;
  124. }
  125. /* @page a5landscape {
  126. margin: 0;
  127. size: A5 landscape;
  128. } */
  129. /* Typography */
  130. h1, h2, h3, h4, h5, h6 {
  131. font-weight: 300;
  132. letter-spacing: -.1rem;
  133. margin-bottom: 2.0rem;
  134. margin-top: 0;
  135. }
  136. h1 {
  137. font-size: 4.6rem;
  138. line-height: 1.2;
  139. }
  140. h2 {
  141. font-size: 3.6rem;
  142. line-height: 1.25;
  143. }
  144. h3 {
  145. font-size: 2.8rem;
  146. line-height: 1.3;
  147. }
  148. h4 {
  149. font-size: 2.2rem;
  150. letter-spacing: -.08rem;
  151. line-height: 1.35;
  152. }
  153. h5 {
  154. font-size: 1.8rem;
  155. letter-spacing: -.05rem;
  156. line-height: 1.5;
  157. }
  158. h6 {
  159. font-size: 1.6rem;
  160. letter-spacing: 0;
  161. line-height: 1.4;
  162. }
  163. p {
  164. margin-top: 0;
  165. }
  166. .grid {
  167. display: grid;
  168. grid-gap: 0;
  169. gap: 0;
  170. grid-template-columns: auto;
  171. grid-template-rows: auto 1fr auto;
  172. grid-template-areas: "header" "main" "footer";
  173. }
  174. .header {
  175. grid-area: header;
  176. }
  177. .main {
  178. grid-area: main;
  179. }
  180. .footer {
  181. grid-area: footer;
  182. align-self: end;
  183. }
  184. .main-grid {
  185. grid-area: main;
  186. display: grid;
  187. grid-column-gap: 5cm;
  188. grid-template-columns: 1fr 1fr;
  189. grid-template-rows: 1fr auto;
  190. grid-template-areas: "main-left main-right" "footer-left footer-right";
  191. }
  192. .main-left {
  193. grid-area: main-left;
  194. position: relative;
  195. }
  196. .main-right {
  197. grid-area: main-right;
  198. position: relative;
  199. }
  200. .footer-grid {
  201. grid-area: footer;
  202. display: grid;
  203. grid-column-gap: 5cm;
  204. grid-template-columns: 1fr 1fr;
  205. grid-template-rows: 1fr auto;
  206. grid-template-areas: "header header" "footer-left footer-right";
  207. }
  208. .footer-header {
  209. grid-area: footer-header;
  210. }
  211. .footer-left {
  212. grid-area: footer-left;
  213. }
  214. .footer-right {
  215. grid-area: footer-right;
  216. }
  217. .flex-grid {
  218. display: flex;
  219. }
  220. .col {
  221. flex: 1;
  222. }
  223. .col-2 {
  224. flex: 2;
  225. }
  226. .text-center {
  227. text-align: center !important;
  228. }
  229. hr {
  230. border: 0;
  231. border-top: 1px solid #eee;
  232. border-color: #000;
  233. height: 1px;
  234. margin: 3px 0;
  235. }
  236. .hr-grau {
  237. border-color: #646464 !important;
  238. }
  239. .fett {
  240. font-weight: bolder;
  241. }
  242. .klein {
  243. font-size: 0.7rem;
  244. }
  245. .eng {
  246. line-height: 0.9rem;
  247. }
  248. .grau * {
  249. color: #646464 !important;
  250. }
  251. ul.dashes {
  252. margin: 0;
  253. list-style-type: none;
  254. padding-left: 1rem;
  255. }
  256. ul.dashes li:before {
  257. content: "–";
  258. position: absolute;
  259. margin-left: -1rem;
  260. }
  261. .schulnummer {
  262. text-align: left;
  263. }
  264. .wasserzeichen {
  265. position: absolute;
  266. opacity: 0.5;
  267. z-index: 99;
  268. color: red;
  269. font-size: 96pt;
  270. }