You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

app.css 6.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. @import url(https://fonts.googleapis.com/css?family=Lato:300,300italic,400,700,700italic);
  2. /**
  3. * Base Elements
  4. */
  5. * {
  6. margin: 0;
  7. padding: 0;
  8. }
  9. body,
  10. h1,
  11. h2,
  12. h3,
  13. h4,
  14. h5,
  15. h6,
  16. p,
  17. div,
  18. span,
  19. a,
  20. button {
  21. font-family: 'Lato', 'Open Sans', 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, sans-serif;
  22. line-height: 1.5;
  23. }
  24. body {
  25. background: #f3f3f3;
  26. }
  27. a {
  28. color: #016aba;
  29. text-decoration: none;
  30. }
  31. button {
  32. font-size: 100%;
  33. }
  34. p {
  35. line-height: 1.5;
  36. margin-bottom: 15px;
  37. }
  38. /**
  39. * Button
  40. */
  41. .button {
  42. padding: 10px 30px 10px;
  43. text-decoration: none;
  44. color: #fff;
  45. background: #016aba;
  46. border-radius: 5px;
  47. border: none;
  48. font-size: 20px;
  49. font-weight: bold;
  50. opacity: 0.9;
  51. display: inline-block;
  52. }
  53. .button:hover {
  54. opacity: 1;
  55. }
  56. /**
  57. * Body Container
  58. */
  59. .container {
  60. max-width: 1024px;
  61. min-height: 100vh;
  62. background: #f9f9f9;
  63. margin: 0 auto;
  64. }
  65. /**
  66. * Top Navigation
  67. */
  68. .menu {
  69. height: 4em;
  70. background-color: #677ae4;
  71. background-color: #05526A;
  72. background-color: #e46855;
  73. }
  74. .menu h1 {
  75. position: relative;
  76. padding: 5px 0 0 8px;
  77. color: #f9f9f9;
  78. font-size: 1.8em;
  79. font-style: italic;
  80. }
  81. .menu a,
  82. .menu .links {
  83. display: inline-block;
  84. }
  85. .menu a {
  86. text-decoration: none;
  87. padding: 0 15px;
  88. color: #fff;
  89. font-size: 20px;
  90. font-weight: bold;
  91. }
  92. .menu a:hover,
  93. .menu a.active {
  94. opacity: 1;
  95. }
  96. .menu .links {
  97. padding: 0 21px;
  98. }
  99. .menu .links a {
  100. position: relative;
  101. bottom: 5px;
  102. }
  103. .kategorie label span {
  104. font-size: 140%;
  105. margin: 50px auto 20px;
  106. display: block;
  107. text-align: center;
  108. font-style: italic;
  109. }
  110. .kategorie input {
  111. padding: 11px;
  112. font-size: 18px;
  113. width: 500px;
  114. margin: 20px auto 50px;
  115. background-color: rgba(255, 255, 255, 0.75);
  116. border: solid 1px lightgray;
  117. display: block;
  118. }
  119. .menu input:focus {
  120. background-color: #f9f9f9;
  121. outline: none;
  122. }
  123. .menu button {
  124. margin-right: 15px;
  125. position: relative;
  126. top: -1px;
  127. left: -5px;
  128. border-top-left-radius: 0;
  129. border-bottom-left-radius: 0;
  130. background-color: #262626;
  131. cursor: pointer;
  132. opacity: 1;
  133. }
  134. .menu button:hover {
  135. background-color: #111;
  136. opacity: 1;
  137. }
  138. .menu .results {
  139. display: none;
  140. position: absolute;
  141. width: 215px;
  142. top: 54px;
  143. left: 10px;
  144. background-color: #f6f6f6;
  145. border-right: 1px solid rgba(0, 0, 0, 0.05);
  146. border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  147. }
  148. .results {
  149. margin-top: -10px;
  150. }
  151. .results li {
  152. list-style: none;
  153. padding: 10px 15px;
  154. }
  155. .menu .results li:hover {
  156. background: #f3f3f3;
  157. }
  158. /**
  159. * Content Area
  160. */
  161. .body {
  162. padding: 15px;
  163. }
  164. /**
  165. * Similar to Jumbotron
  166. */
  167. .jumbo {
  168. padding: 50px;
  169. background: #f6f6f6;
  170. }
  171. .jumbo:hover {
  172. background-color: #f3f3f3;
  173. }
  174. .jumbo h2 {
  175. font-size: 3.2em;
  176. margin-top: -25px;
  177. }
  178. .jumbo p,
  179. .jumbo address {
  180. margin-bottom: 25px;
  181. }
  182. .jumbo img {
  183. height: 200px;
  184. position: relative;
  185. top: -25px;
  186. right: -20px;
  187. }
  188. /**
  189. * Individual kategorie Listing
  190. */
  191. .kategorie {
  192. margin-top: 15px;
  193. background-color: #f6f6f6;
  194. padding: 20px 25px;
  195. display: flex;
  196. justify-content: space-between;
  197. align-items: center;
  198. flex-wrap: wrap;
  199. }
  200. .kategorie:hover {
  201. background-color: #f3f3f3;
  202. }
  203. .kategorie img {
  204. border-radius: 5px;
  205. }
  206. .kategorie .image {
  207. flex-grow: 0;
  208. flex-basis: 150px;
  209. margin: 20px 25px;
  210. text-align: center;
  211. }
  212. .kategorie button.image {
  213. position: relative;
  214. cursor: pointer;
  215. border: none;
  216. background: transparent;
  217. z-index: 1;
  218. }
  219. .kategorie button.image:focus {
  220. outline: none;
  221. }
  222. .kategorie button.image:after {
  223. content: "";
  224. position: absolute;
  225. top: 0;
  226. left: 0;
  227. width: 100%;
  228. height: 100%;
  229. z-index: -1;
  230. margin: -20px;
  231. padding: 20px;
  232. border-radius: 5px;
  233. background: #016aba;
  234. opacity: 0;
  235. transition: opacity 0.25s ease-in-out;
  236. }
  237. .kategorie button.image:focus:after, .kategorie button.image:hover:after {
  238. opacity: 0.1;
  239. }
  240. .kategorie .image img {
  241. max-width: 100%;
  242. }
  243. .kategorie .image.large {
  244. margin: 30px 25px 50px 25px;
  245. flex-basis: 100%;
  246. }
  247. .kategorie .image small {
  248. display: block;
  249. margin-top: 5px;
  250. margin-bottom: -15px;
  251. text-align: center;
  252. color: #016aba;
  253. /* This is needed to fix a safari clipping issue */
  254. position: relative;
  255. }
  256. .kategorie .image.large small {
  257. margin-top: 10px;
  258. margin-bottom: 0px;
  259. font-size: 110%;
  260. }
  261. .kategorie .details {
  262. flex-basis: 50%;
  263. flex-grow: 2;
  264. display: flex;
  265. height: 150px;
  266. margin: 20px 25px;
  267. justify-content: space-between;
  268. flex-wrap: wrap;
  269. align-content: space-around;
  270. }
  271. .kategorie h3 {
  272. flex-basis: 100%;
  273. }
  274. .kategorie h3 a {
  275. display: inline;
  276. }
  277. .kategorie .detail {
  278. flex-basis: 50%;
  279. font-weight: 300;
  280. font-style: italic;
  281. white-space: nowrap;
  282. }
  283. .kategorie .detail span {
  284. font-weight: 400;
  285. font-style: normal;
  286. }
  287. .kategorie .map {
  288. flex-grow: 0;
  289. flex-basis: 150px;
  290. font-size: 0;
  291. margin: 0px 25px;
  292. }
  293. .kategorie .map img {
  294. width: 150px;
  295. height: 150px;
  296. }
  297. .kategorie.detailed {
  298. background: none;
  299. align-items: flex-start;
  300. }
  301. .kategorie.detailed .image {
  302. flex-basis: 320px;
  303. }
  304. .kategorie.detailed .image.large {
  305. margin: 30px 25px 50px 25px;
  306. flex-basis: 100%;
  307. }
  308. .kategorie.detailed .details {
  309. height: auto;
  310. }
  311. .kategorie.detailed h3 {
  312. font-size: 200%;
  313. margin-bottom: 10px;
  314. }
  315. .kategorie.detailed .detail {
  316. margin: 5px 0px;
  317. flex-basis: 100%;
  318. flex-shrink: 2;
  319. }
  320. .kategorie.detailed .description {
  321. white-space: normal;
  322. flex-basis: 100%;
  323. flex-shrink: 1;
  324. }
  325. .kategorie.detailed .map {
  326. flex-basis: 100%;
  327. margin: 50px 25px 25px 25px;
  328. }
  329. .kategorie.detailed .map img {
  330. width: 100%;
  331. height: auto;
  332. }
  333. @media only screen and (max-width: 919px) {
  334. .kategorie.detailed .image, .kategorie.detailed .image.large {
  335. margin: 30px 25px 25px 25px;
  336. flex-basis: 100%;
  337. cursor: default;
  338. }
  339. .kategorie.detailed .image:hover {
  340. flex-basis: 100%;
  341. cursor: default;
  342. }
  343. .kategorie.detailed .image small {
  344. display: none;
  345. }
  346. .kategorie.detailed button.image:hover:after {
  347. opacity: 0;
  348. }
  349. .kategorie.detailed button.image:focus:after {
  350. opacity: 0.1;
  351. }
  352. .kategorie.detailed .map {
  353. margin-top: 25px;
  354. }
  355. }
  356. /**
  357. * Utilities
  358. */
  359. .light {
  360. font-weight: 300;
  361. }
  362. .left {
  363. float: left;
  364. }
  365. .right {
  366. float: right;
  367. }
  368. .hidden {
  369. display: none;
  370. }
  371. .relative {
  372. position: relative;
  373. }
  374. .tomster {
  375. background: url(../assets/images/teaching-tomster.png);
  376. background-size: contain;
  377. background-repeat: no-repeat;
  378. height: 200px;
  379. width: 200px;
  380. position: relative;
  381. top: -25px;
  382. }
  383. .screen-reader{
  384. position: absolute;
  385. overflow: hidden;
  386. clip: rect(0 0 0 0);
  387. height: 1px; width: 1px;
  388. margin: -1px; padding: 0; border: 0;
  389. }