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

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