main.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. @charset "UTF-8";
  2. @font-face {
  3. font-family: "fraunces";
  4. src: url("/src/fonts/fraunces/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf");
  5. font-weight: 100 900;
  6. font-style: normal;
  7. }
  8. @font-face {
  9. font-family: "fraunces";
  10. src: url("/src/fonts/fraunces/Fraunces-Italic-VariableFont_SOFT,WONK,opsz,wght.ttf");
  11. font-weight: 100 900;
  12. font-style: italic;
  13. }
  14. @font-face {
  15. font-family: "geologica";
  16. src: url("/src/fonts/geologica/Geologica-VariableFont_CRSV,SHRP,slnt,wght.ttf");
  17. font-weight: 100 900;
  18. font-style: oblique 0deg 12deg;
  19. }
  20. body {
  21. padding: 0 0 0 0;
  22. margin: 0 0 0 0;
  23. font-family: "geologica";
  24. font-style: normal;
  25. font-weight: 400;
  26. font-variation-settings: "SHRP" 50;
  27. font-size: medium;
  28. }
  29. .center {
  30. align-items: center;
  31. text-align: center;
  32. }
  33. .italic {
  34. font-style: italic;
  35. }
  36. h1,
  37. h2,
  38. h3,
  39. h4,
  40. h5,
  41. h6 {
  42. font-family: "fraunces";
  43. font-style: normal;
  44. font-weight: 700;
  45. }
  46. #nav-container {
  47. width: 90%;
  48. margin-left: auto;
  49. margin-right: auto;
  50. margin-top: -1.875em;
  51. }
  52. #nav-container {
  53. width: 66.666%;
  54. }
  55. @media only screen and (max-width: 58em) {
  56. #nav-container {
  57. width: 95%;
  58. }
  59. }
  60. @media only screen and (max-width: 68em) and (min-width: 58em) {
  61. #nav-container {
  62. width: 78.333%;
  63. }
  64. }
  65. #menu {
  66. background: #222222;
  67. color: #fff;
  68. height: 3.75em;
  69. padding-left: 28px;
  70. border-radius: 1.875em;
  71. }
  72. #menu ul,
  73. #menu li {
  74. margin: 0 auto;
  75. padding: 0;
  76. list-style: none;
  77. }
  78. #menu ul {
  79. width: 100%;
  80. }
  81. #menu li {
  82. float: left;
  83. display: inline;
  84. position: relative;
  85. }
  86. #menu a {
  87. display: block;
  88. line-height: 60px;
  89. padding: 0 14px;
  90. text-decoration: none;
  91. color: #ffffff;
  92. font-size: 16px;
  93. }
  94. #menu a.dropdown-arrow:after {
  95. content: "⏷";
  96. margin-left: 5px;
  97. }
  98. #menu li a:hover {
  99. color: #ffffff;
  100. background: #0f4d8b;
  101. }
  102. #menu input {
  103. display: none;
  104. margin: 0;
  105. padding: 0;
  106. height: 60px;
  107. width: 100%;
  108. opacity: 0;
  109. cursor: pointer;
  110. }
  111. #menu label {
  112. display: none;
  113. line-height: 60px;
  114. text-align: center;
  115. position: absolute;
  116. left: 35px;
  117. }
  118. #menu label:before {
  119. font-size: 1.6em;
  120. content: "≡";
  121. margin-left: 20px;
  122. }
  123. #menu ul.sub-menus {
  124. height: auto;
  125. overflow: hidden;
  126. width: 170px;
  127. background: #444444;
  128. position: absolute;
  129. z-index: 99;
  130. display: none;
  131. }
  132. #menu ul.sub-menus li {
  133. display: block;
  134. width: 100%;
  135. }
  136. #menu ul.sub-menus a {
  137. color: #ffffff;
  138. font-size: 16px;
  139. }
  140. #menu li:hover ul.sub-menus {
  141. display: block;
  142. }
  143. #menu ul.sub-menus a:hover {
  144. background: #0f4d8b;
  145. color: #ffffff;
  146. }
  147. @media screen and (max-width: 800px) {
  148. #menu {
  149. position: relative;
  150. }
  151. #menu ul {
  152. background: #111;
  153. position: absolute;
  154. top: 100%;
  155. right: 0;
  156. left: 0;
  157. z-index: 3;
  158. height: auto;
  159. display: none;
  160. }
  161. #menu ul.sub-menus {
  162. width: 100%;
  163. position: static;
  164. }
  165. #menu ul.sub-menus a {
  166. padding-left: 30px;
  167. }
  168. #menu li {
  169. display: block;
  170. float: none;
  171. width: auto;
  172. }
  173. #menu input,
  174. #menu label {
  175. position: absolute;
  176. top: 0;
  177. left: 0;
  178. display: block;
  179. }
  180. #menu input {
  181. z-index: 4;
  182. }
  183. #menu input:checked + label {
  184. color: white;
  185. }
  186. #menu input:checked + label:before {
  187. content: "×";
  188. }
  189. #menu input:checked ~ ul {
  190. display: block;
  191. }
  192. }
  193. a.dropdown-arrow {
  194. cursor: pointer;
  195. -webkit-user-select: none;
  196. -moz-user-select: none;
  197. user-select: none;
  198. }
  199. header #hero-container {
  200. display: flex;
  201. flex-direction: column;
  202. flex-wrap: nowrap;
  203. align-items: center;
  204. background-color: #0f4d8b;
  205. color: #ffffff;
  206. padding-bottom: 2.5em;
  207. }
  208. header #hero-container #hero-img svg {
  209. width: 99%;
  210. margin-left: auto;
  211. margin-right: auto;
  212. }
  213. header #hero-container #hero-img svg path {
  214. fill: #ffffff !important;
  215. }
  216. header #hero-container #hero-text {
  217. width: 90%;
  218. text-align: center;
  219. }
  220. main {
  221. font-size: large;
  222. width: 66.666%;
  223. transition: width 0.25s linear;
  224. margin-left: auto;
  225. margin-right: auto;
  226. }
  227. @media only screen and (max-width: 56.25em) {
  228. main {
  229. width: 90%;
  230. }
  231. }
  232. @media only screen and (max-width: 62.5em) and (min-width: 56.3125em) {
  233. main {
  234. width: 78.333%;
  235. }
  236. }
  237. #home-img {
  238. width: 15em;
  239. }
  240. .termine-grid {
  241. margin: auto;
  242. width: 66.6666%;
  243. display: grid;
  244. grid-template-columns: repeat(2, 1fr);
  245. grid-template-rows: repeat(6, 1fr);
  246. gap: 0px 0px;
  247. grid-template-areas: "kopfzeile-datum kopfzeile-beschreibung" ". ." ". ." ". ." ". ." ". .";
  248. }
  249. .termine-grid .kopfzeile-datum {
  250. grid-area: kopfzeile-datum;
  251. }
  252. .termine-grid .kopfzeile-beschreibung {
  253. grid-area: kopfzeile-beschreibung;
  254. }
  255. .termine-grid .kopfzeile-datum,
  256. .termine-grid .kopfzeile-beschreibung {
  257. font-family: "geologica";
  258. font-style: normal;
  259. font-weight: 600;
  260. font-variation-settings: "SHRP" 50;
  261. }
  262. .bilder-container {
  263. display: flex;
  264. flex-direction: column;
  265. flex-wrap: nowrap;
  266. }
  267. .bilder-container a {
  268. width: 100%;
  269. background-color: #eebc63;
  270. text-decoration: none;
  271. color: unset;
  272. margin-bottom: 0.5em;
  273. text-align: center;
  274. padding-top: 0.75em;
  275. padding-bottom: 0.75em;
  276. border-radius: 0.25em;
  277. font-family: "geologica";
  278. font-style: normal;
  279. font-weight: 600;
  280. font-variation-settings: "SHRP" 50;
  281. }
  282. .bilder-container a:nth-of-type(2n) {
  283. background-color: #6395ee;
  284. }/*# sourceMappingURL=main.css.map */