main.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. @charset "UTF-8";
  2. @font-face {
  3. font-family: 'TeX Gyre Heros';
  4. src: url("../daten/texgyreheros-regular-webfont.woff") format("woff");
  5. font-style: normal;
  6. }
  7. @font-face {
  8. font-family: 'TeX Gyre Heros';
  9. src: url("../daten/texgyreheros-bold-webfont.woff") format("woff");
  10. font-style: normal;
  11. font-weight: bold;
  12. }
  13. /* @font-face {
  14. font-family: 'TeX Gyre Heros';
  15. src: url("../daten/texgyreheros-italic-webfont.woff") format("woff");
  16. font-style: italic;
  17. }
  18. @font-face {
  19. font-family: 'TeX Gyre Heros';
  20. src: url("../daten/texgyreheros-bolditalic-webfont.woff") format("woff");
  21. font-style: italic;
  22. font-weight: bold;
  23. } */
  24. @media screen {
  25. body {
  26. background: lightgoldenrodyellow;
  27. }
  28. .page {
  29. box-sizing: border-box;
  30. background: rgba(255,255,255);
  31. margin: 20px;
  32. box-shadow: 0px 0px 30px 0px #888;
  33. }
  34. }
  35. @media print {
  36. * {
  37. -webkit-print-color-adjust: exact;
  38. }
  39. .page {
  40. page-break-after: always;
  41. page-break-inside: avoid;
  42. margin: 0;
  43. }
  44. .no-print, .no-print * {
  45. display: none !important;
  46. }
  47. }
  48. html {
  49. box-sizing: border-box;
  50. font-size: 10pt;
  51. }
  52. *,
  53. ::after,
  54. ::before {
  55. box-sizing: inherit;
  56. }
  57. body {
  58. margin: 0;
  59. }
  60. .page {
  61. line-height: 1.5;
  62. font-weight: normal;
  63. font-family: "Tex Gyre Heros";
  64. color: #191919;
  65. position: relative;
  66. padding: 10mm 25mm 10mm 25mm;
  67. display: block;
  68. }
  69. /* Dieses Stylesheet funktioniert nur mit Chrom*-Browsern ab M85, die named pages aktiviert haben. */
  70. @page {
  71. margin: 0;
  72. }
  73. .page[size="A4"][orientation="portrait"] {
  74. page: a4portrait;
  75. width: 210mm;
  76. height: 296.8mm;
  77. }
  78. @page a4portrait {
  79. size: A4 portrait;
  80. }
  81. .page[size="A4"][orientation="landscape"] {
  82. page: a4landscape;
  83. width: 296.8mm;
  84. height: 209mm;
  85. }
  86. @page a4landscape {
  87. size: A4 landscape;
  88. }
  89. .page[size="A3"][orientation="portrait"] {
  90. page: a3portrait;
  91. width: 296.8mm;
  92. height: 420mm;
  93. }
  94. @page a3portrait {
  95. size: A3 portrait;
  96. }
  97. .page[size="A3"][orientation="landscape"] {
  98. page: a3landscape;
  99. width: 420mm;
  100. height: 296.8mm;
  101. }
  102. @page a3landscape {
  103. size: A3 landscape;
  104. }
  105. .page[size="A5"][orientation="portrait"] {
  106. page: a5portrait;
  107. width: 148mm;
  108. height: 210mm;
  109. }
  110. @page a5portrait {
  111. size: A5 portrait;
  112. }
  113. .page[size="A5"][orientation="landscape"] {
  114. page: a5landscape;
  115. width: 210mm;
  116. height: 148mm;
  117. }
  118. @page a5landscape {
  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. 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. }
  169. .main {
  170. grid-area: main;
  171. }
  172. .footer {
  173. grid-area: footer;
  174. align-self: end;
  175. }
  176. .main-grid {
  177. grid-area: main;
  178. display: grid;
  179. grid-column-gap: 5cm;
  180. grid-template-columns: 1fr 1fr;
  181. grid-template-rows: 1fr auto;
  182. grid-template-areas: "main-left main-right" "footer-left footer-right";
  183. }
  184. .main-left {
  185. grid-area: main-left;
  186. position: relative;
  187. }
  188. .main-right {
  189. grid-area: main-right;
  190. position: relative;
  191. }
  192. .footer-grid {
  193. grid-area: footer;
  194. display: grid;
  195. grid-column-gap: 5cm;
  196. grid-template-columns: 1fr 1fr;
  197. grid-template-rows: 1fr auto;
  198. grid-template-areas: "header header" "footer-left footer-right";
  199. }
  200. .footer-header {
  201. grid-area: footer-header;
  202. }
  203. .footer-left {
  204. grid-area: footer-left;
  205. }
  206. .footer-right {
  207. grid-area: footer-right;
  208. }
  209. .flex-grid {
  210. display: flex;
  211. }
  212. .col {
  213. flex: 1;
  214. }
  215. .col-2 {
  216. flex: 2;
  217. }
  218. .text-center {
  219. text-align: center !important;
  220. }
  221. hr {
  222. border: 0;
  223. border-top: 1px solid #eee;
  224. border-color: #191919;
  225. height: 1px;
  226. margin: 3px 0;
  227. }
  228. .hr-grau {
  229. border-color: #333 !important;
  230. }
  231. .fett {
  232. font-weight: bolder;
  233. }
  234. .klein {
  235. font-size: 0.7rem;
  236. }
  237. .eng {
  238. line-height: 0.9rem;
  239. }
  240. .grau * {
  241. color: #333 !important;
  242. }
  243. ul.dashes {
  244. margin: 0;
  245. list-style-type: none;
  246. padding-left: 1rem;
  247. }
  248. ul.dashes li:before {
  249. content: "–";
  250. position: absolute;
  251. margin-left: -1rem;
  252. }
  253. .schulnummer {
  254. text-align: left;
  255. }