main.css 4.9 KB

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