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 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791
  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. .resultsProdukt {
  152. display: flex;
  153. flex-wrap: wrap;
  154. flex-direction: row;
  155. }
  156. .resultsRezept {
  157. display: flex;
  158. flex-direction: column;
  159. width: 100%;
  160. }
  161. .resultsRezept li {
  162. list-style: none;
  163. padding: 10px 15px;
  164. display: flex;
  165. flex-wrap: wrap;
  166. flex-direction: column;
  167. }
  168. .results li {
  169. list-style: none;
  170. padding: 10px 15px;
  171. }
  172. .menu .results li:hover {
  173. background: #f3f3f3;
  174. }
  175. /**
  176. * Content Area
  177. */
  178. .body {
  179. padding: 15px;
  180. }
  181. /**
  182. * Similar to Jumbotron
  183. */
  184. .jumbo {
  185. padding: 50px;
  186. background: #f6f6f6;
  187. }
  188. .jumbo h2 {
  189. font-size: 3.2em;
  190. margin-top: -25px;
  191. }
  192. .jumbo p,
  193. .jumbo address {
  194. margin-bottom: 25px;
  195. }
  196. .jumbo img {
  197. height: 200px;
  198. position: relative;
  199. top: -25px;
  200. right: -20px;
  201. }
  202. /**
  203. * Individual rezept Listing
  204. */
  205. .rezept label span {
  206. font-size: 140%;
  207. margin: 50px auto 20px;
  208. display: block;
  209. text-align: center;
  210. font-style: italic;
  211. }
  212. .rezept input {
  213. padding: 11px;
  214. font-size: 18px;
  215. width: 500px;
  216. margin: 20px auto 50px;
  217. background-color: rgba(255, 255, 255, 0.75);
  218. border: solid 1px lightgray;
  219. display: block;
  220. }
  221. .rezept {
  222. margin-top: 15px;
  223. background-color: white;
  224. padding: 20px 25px;
  225. display: flex;
  226. justify-content: space-between;
  227. align-items: center;
  228. text-align: center;
  229. width: 100%;
  230. border: #677ae4;
  231. border-width: 15px;
  232. }
  233. .rezept.selected{
  234. border: #016aba;
  235. border-width: 7px;
  236. border-style: solid;
  237. border-radius: 5px;
  238. font-size: 100%;
  239. }
  240. .rezept:hover {
  241. border: #016aba;
  242. border-width: 2px;
  243. border-style: solid;
  244. border-radius: 5px;
  245. font-size: 100%;
  246. }
  247. .rezept.selected:hover {
  248. background-color: #f3f3f3;
  249. border-width: 5px;
  250. }
  251. .rezept img {
  252. border-radius: 5px;
  253. width: 100%;
  254. }
  255. .rezept .image {
  256. flex-grow: 0;
  257. flex-basis: 150px;
  258. margin: 20px 25px;
  259. text-align: center;
  260. }
  261. .rezept .image img {
  262. max-width: 100%;
  263. }
  264. .rezept .image.large {
  265. margin: 30px 25px 50px 25px;
  266. flex-basis: 100%;
  267. }
  268. .rezept .image small {
  269. display: block;
  270. margin-top: 5px;
  271. margin-bottom: -15px;
  272. text-align: center;
  273. color: #016aba;
  274. /* This is needed to fix a safari clipping issue */
  275. position: relative;
  276. }
  277. .rezept .image.large small {
  278. margin-top: 10px;
  279. margin-bottom: 0px;
  280. font-size: 110%;
  281. }
  282. .rezept .details {
  283. flex-basis: 50%;
  284. flex-grow: 2;
  285. display: flex;
  286. height: 150px;
  287. margin: 20px 25px;
  288. justify-content: space-between;
  289. flex-wrap: wrap;
  290. align-content: space-around;
  291. text-align: center;
  292. }
  293. .rezept h3 {
  294. flex-basis: 100%;
  295. }
  296. .rezept h3 a {
  297. display: inline;
  298. }
  299. .rezept .detail {
  300. flex-basis: 50%;
  301. font-weight: 300;
  302. font-style: italic;
  303. white-space: pre-wrap;
  304. text-align: center;
  305. flex: auto;
  306. list-style-type: none;
  307. }
  308. .rezept .detail h3 h4{
  309. text-align: center;
  310. }
  311. .rezept .detail span {
  312. font-weight: 400;
  313. font-style: normal;
  314. }
  315. .rezept .bild span {
  316. width: 50;
  317. }
  318. .rezept .map {
  319. flex-grow: 0;
  320. flex-basis: 150px;
  321. font-size: 0;
  322. margin: 0px 25px;
  323. }
  324. .rezept .map img {
  325. width: 150px;
  326. height: 150px;
  327. }
  328. .rezept.detailed {
  329. background: none;
  330. align-items: flex-start;
  331. }
  332. .rezept.detailed .image {
  333. flex-basis: 320px;
  334. }
  335. .rezept.detailed .image.large {
  336. margin: 30px 25px 50px 25px;
  337. flex-basis: 100%;
  338. }
  339. .rezept.detailed .details {
  340. height: auto;
  341. }
  342. .rezept.detailed h3 {
  343. font-size: 200%;
  344. margin-bottom: 10px;
  345. }
  346. .rezept.detailed .detail {
  347. margin: 5px 0px;
  348. flex-basis: 100%;
  349. flex-shrink: 2;
  350. }
  351. .rezept.detailed .description {
  352. white-space: normal;
  353. flex-basis: 100%;
  354. flex-shrink: 1;
  355. }
  356. .rezept.detailed .map {
  357. flex-basis: 100%;
  358. margin: 50px 25px 25px 25px;
  359. }
  360. .rezept.detailed .map img {
  361. width: 100%;
  362. height: auto;
  363. }
  364. @media only screen and (max-width: 919px) {
  365. .rezept.detailed .image, .rezept.detailed .image.large {
  366. margin: 30px 25px 25px 25px;
  367. flex-basis: 100%;
  368. cursor: default;
  369. }
  370. .rezept.detailed .image:hover {
  371. flex-basis: 100%;
  372. cursor: default;
  373. }
  374. .rezept.detailed .image small {
  375. display: none;
  376. }
  377. .rezept.detailed button.image:hover:after {
  378. opacity: 0;
  379. }
  380. .rezept.detailed button.image:focus:after {
  381. opacity: 0.1;
  382. }
  383. .rezept.detailed .map {
  384. margin-top: 25px;
  385. }
  386. }
  387. /**
  388. * Individual produkt Listing
  389. */
  390. .produkt label span {
  391. font-size: 140%;
  392. margin: 50px auto 20px;
  393. display: block;
  394. text-align: center;
  395. font-style: italic;
  396. }
  397. .produkt input {
  398. padding: 11px;
  399. font-size: 18px;
  400. width: 500px;
  401. margin: 20px auto 50px;
  402. background-color: rgba(255, 255, 255, 0.75);
  403. border: solid 1px lightgray;
  404. display: block;
  405. }
  406. .produkt {
  407. margin: 15px;
  408. background-color: white;
  409. padding: 20px 25px;
  410. display: flex;
  411. justify-content: space-between;
  412. align-items: center;
  413. text-align: center;
  414. flex-wrap: wrap;
  415. width:20%;
  416. border: none;
  417. }
  418. .produkt.selected{
  419. border: #016aba;
  420. border-width: 7px;
  421. border-style: solid;
  422. border-radius: 5px;
  423. font-size: 100%;
  424. }
  425. .produkt:hover {
  426. border: #016aba;
  427. border-width: 2px;
  428. border-style: solid;
  429. border-radius: 5px;
  430. font-size: 100%;
  431. }
  432. .produkt.selected:hover {
  433. background-color: #f3f3f3;
  434. border-width:5px;
  435. }
  436. .produkt img {
  437. border-radius: 5px;
  438. width: 100%;
  439. }
  440. .produkt .image {
  441. flex-grow: 0;
  442. flex-basis: 150px;
  443. margin: 20px 25px;
  444. text-align: center;
  445. }
  446. .produkt .image img {
  447. max-width: 100%;
  448. }
  449. .produkt .image.large {
  450. margin: 30px 25px 50px 25px;
  451. flex-basis: 100%;
  452. }
  453. .produkt .image small {
  454. display: block;
  455. margin-top: 5px;
  456. margin-bottom: -15px;
  457. text-align: center;
  458. color: #016aba;
  459. /* This is needed to fix a safari clipping issue */
  460. position: relative;
  461. }
  462. .produkt .image.large small {
  463. margin-top: 10px;
  464. margin-bottom: 0px;
  465. font-size: 110%;
  466. }
  467. .produkt .details {
  468. flex-basis: 50%;
  469. flex-grow: 2;
  470. display: flex;
  471. height: 150px;
  472. margin: 20px 25px;
  473. justify-content: space-between;
  474. flex-wrap: wrap;
  475. align-content: space-around;
  476. text-align: center;
  477. align-items: center;
  478. }
  479. .produkt h3 {
  480. flex-basis: 100%;
  481. }
  482. .produkt h3 a {
  483. display: inline;
  484. }
  485. .produkt .detail {
  486. flex-basis: 50%;
  487. font-weight: 300;
  488. font-style: italic;
  489. white-space: pre-wrap;
  490. text-align: center;
  491. flex: auto;
  492. list-style-type: none;
  493. }
  494. .produkt .detail span {
  495. font-weight: 400;
  496. font-style: normal;
  497. }
  498. .produkt .map {
  499. flex-grow: 0;
  500. flex-basis: 150px;
  501. font-size: 0;
  502. margin: 0px 25px;
  503. }
  504. .produkt .map img {
  505. width: 150px;
  506. height: 150px;
  507. }
  508. .produkt.detailed {
  509. background: none;
  510. align-items: flex-start;
  511. }
  512. .produkt.detailed .image {
  513. flex-basis: 320px;
  514. }
  515. .produkt.detailed .image.large {
  516. margin: 30px 25px 50px 25px;
  517. flex-basis: 100%;
  518. }
  519. .produkt.detailed .details {
  520. height: auto;
  521. }
  522. .produkt.detailed h3 {
  523. font-size: 200%;
  524. margin-bottom: 10px;
  525. }
  526. .produkt.detailed .detail {
  527. margin: 5px 0px;
  528. flex-basis: 100%;
  529. flex-shrink: 2;
  530. }
  531. .produkt.detailed .description {
  532. white-space: normal;
  533. flex-basis: 100%;
  534. flex-shrink: 1;
  535. }
  536. .produkt.detailed .map {
  537. flex-basis: 100%;
  538. margin: 50px 25px 25px 25px;
  539. }
  540. .produkt.detailed .map img {
  541. width: 100%;
  542. height: auto;
  543. }
  544. @media only screen and (max-width: 919px) {
  545. .produkt.detailed .image, .produkt.detailed .image.large {
  546. margin: 30px 25px 25px 25px;
  547. flex-basis: 100%;
  548. cursor: default;
  549. }
  550. .produkt.detailed .image:hover {
  551. flex-basis: 100%;
  552. cursor: default;
  553. }
  554. .produkt.detailed .image small {
  555. display: none;
  556. }
  557. .produkt.detailed button.image:hover:after {
  558. opacity: 0;
  559. }
  560. .produkt.detailed button.image:focus:after {
  561. opacity: 0.1;
  562. }
  563. .produkt.detailed .map {
  564. margin-top: 25px;
  565. }
  566. }
  567. /**
  568. * Individual kategorie Listing
  569. */
  570. .kategorie {
  571. margin-top: 15px;
  572. background-color: #f6f6f6;
  573. padding: 20px 25px;
  574. display: flex;
  575. justify-content: space-between;
  576. /**align-items: center;*/
  577. flex-wrap: wrap;
  578. align-items: flex-start;
  579. width: 95%;
  580. }
  581. .kategorie .details {
  582. flex-basis: 50%;
  583. flex-grow: 2;
  584. display: flex;
  585. height: 150px;
  586. margin: 20px 25px;
  587. justify-content: space-between;
  588. flex-wrap: wrap;
  589. align-content: space-around;
  590. text-align: center;
  591. align-items: center;
  592. }
  593. .kategorie.resultsRezept
  594. {
  595. display: flex;
  596. flex-wrap: wrap;
  597. flex-direction: column;
  598. }
  599. .kategorie h3 {
  600. flex-basis: 100%;
  601. }
  602. .kategorie h3 a {
  603. display: inline;
  604. }
  605. .kategorie .detail {
  606. flex-basis: 50%;
  607. font-weight: 300;
  608. font-style: italic;
  609. white-space: nowrap;
  610. }
  611. .kategorie .detail span {
  612. font-weight: 400;
  613. font-style: normal;
  614. }
  615. .kategorie.detailed {
  616. background: none;
  617. align-items: flex-start;
  618. }
  619. .kategorie.detailed .details {
  620. height: auto;
  621. }
  622. .kategorie.detailed h3 {
  623. font-size: 200%;
  624. margin-bottom: 10px;
  625. }
  626. .kategorie.detailed .detail {
  627. margin: 5px 0px;
  628. flex-basis: 100%;
  629. flex-shrink: 2;
  630. }
  631. .kategorie.detailed .description {
  632. white-space: normal;
  633. flex-basis: 100%;
  634. flex-shrink: 1;
  635. }
  636. /**
  637. * Utilities
  638. */
  639. .light {
  640. font-weight: 300;
  641. }
  642. .left {
  643. float: left;
  644. }
  645. .right {
  646. float: right;
  647. }
  648. .hidden {
  649. display: none;
  650. }
  651. .relative {
  652. position: relative;
  653. }
  654. .screen-reader{
  655. position: absolute;
  656. overflow: hidden;
  657. clip: rect(0 0 0 0);
  658. height: 1px; width: 1px;
  659. margin: -1px; padding: 0; border: 0;
  660. }