main.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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: 5mm 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. size: A4 portrait;
  73. }
  74. .page[size="A4"][orientation="portrait"] {
  75. page: a4portrait;
  76. width: 210mm;
  77. height: 296.8mm;
  78. }
  79. @page a4portrait {
  80. size: A4 portrait;
  81. }
  82. .page[size="A4"][orientation="landscape"] {
  83. page: a4landscape;
  84. width: 296.8mm;
  85. height: 209mm;
  86. }
  87. @page a4landscape {
  88. size: A4 landscape;
  89. }
  90. .page[size="A3"][orientation="portrait"] {
  91. page: a3portrait;
  92. width: 296.8mm;
  93. height: 420mm;
  94. }
  95. @page a3portrait {
  96. size: A3 portrait;
  97. }
  98. .page[size="A3"][orientation="landscape"] {
  99. page: a3landscape;
  100. width: 420mm;
  101. height: 296.8mm;
  102. }
  103. @page a3landscape {
  104. size: A3 landscape;
  105. }
  106. .page[size="A5"][orientation="portrait"] {
  107. page: a5portrait;
  108. width: 148mm;
  109. height: 210mm;
  110. }
  111. @page a5portrait {
  112. size: A5 portrait;
  113. }
  114. .page[size="A5"][orientation="landscape"] {
  115. page: a5landscape;
  116. width: 210mm;
  117. height: 148mm;
  118. }
  119. @page a5landscape {
  120. size: A5 landscape;
  121. }
  122. /* Typography */
  123. h1, h2, h3, h4, h5, h6 {
  124. font-weight: 300;
  125. letter-spacing: -.1rem;
  126. margin-bottom: 2.0rem;
  127. margin-top: 0;
  128. }
  129. h1 {
  130. font-size: 4.6rem;
  131. line-height: 1.2;
  132. }
  133. h2 {
  134. font-size: 3.6rem;
  135. line-height: 1.25;
  136. }
  137. h3 {
  138. font-size: 2.8rem;
  139. line-height: 1.3;
  140. }
  141. h4 {
  142. font-size: 2.2rem;
  143. letter-spacing: -.08rem;
  144. line-height: 1.35;
  145. }
  146. h5 {
  147. font-size: 1.8rem;
  148. letter-spacing: -.05rem;
  149. line-height: 1.5;
  150. }
  151. h6 {
  152. font-size: 1.6rem;
  153. letter-spacing: 0;
  154. line-height: 1.4;
  155. }
  156. p {
  157. margin-top: 0;
  158. }
  159. .grid {
  160. display: grid;
  161. grid-gap: 0;
  162. gap: 0;
  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. }
  170. .main {
  171. grid-area: main;
  172. }
  173. .footer {
  174. grid-area: footer;
  175. align-self: end;
  176. }
  177. .main-grid {
  178. grid-area: main;
  179. display: grid;
  180. grid-column-gap: 5cm;
  181. grid-template-columns: 1fr 1fr;
  182. grid-template-rows: 1fr auto;
  183. grid-template-areas: "main-left main-right" "footer-left footer-right";
  184. }
  185. .main-left {
  186. grid-area: main-left;
  187. position: relative;
  188. }
  189. .main-right {
  190. grid-area: main-right;
  191. position: relative;
  192. }
  193. .footer-grid {
  194. grid-area: footer;
  195. display: grid;
  196. grid-column-gap: 5cm;
  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: #191919;
  226. height: 1px;
  227. margin: 3px 0;
  228. }
  229. .hr-grau {
  230. border-color: #333 !important;
  231. }
  232. .fett {
  233. font-weight: bolder;
  234. }
  235. .klein {
  236. font-size: 0.65rem;
  237. }
  238. .eng {
  239. line-height: 0.9rem;
  240. }
  241. .grau * {
  242. color: #333 !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. }