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

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