newRecipe.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #addRecipe{
  2. display: flex;
  3. flex-direction: column;
  4. align-items: center;
  5. width: 100%;
  6. padding-bottom: 50px;
  7. }
  8. .recipeBasicInfo{
  9. width: 75%;
  10. background: rgb(240, 252, 255);
  11. padding: 15px;
  12. border-radius: 5px;
  13. border: 1px solid black;
  14. }
  15. .recipeBasicInfo label{
  16. display: flex;
  17. justify-content: space-between;
  18. margin: 15px 0;
  19. }
  20. .recipeBasicInfo input{
  21. width: 50%;
  22. }
  23. #addRecipe h2{
  24. margin-top: 10px;
  25. }
  26. #recipeInputIngredients{
  27. display: flex;
  28. flex-direction: column;
  29. align-items: center;
  30. box-sizing: border-box;
  31. margin: 0 0 25px 0;
  32. width:100%;
  33. overflow-y: auto;
  34. overflow-x: hidden;
  35. box-shadow: 0 0 2px gray;
  36. border-radius: 5px;
  37. }
  38. #recipeInputIngredients div{
  39. width: 75%;
  40. background: rgb(240, 252, 255);
  41. border: 1px solid black;
  42. padding: 10px;
  43. border-radius: 5px;
  44. margin: 10px 0;
  45. padding: 10px 15px;
  46. text-align: center;
  47. }
  48. #recipeInputIngredients div > label{
  49. display: flex;
  50. justify-content: space-between;
  51. margin-bottom: 2px;
  52. }
  53. #recipeInputIngredients input{
  54. width: 100px;
  55. }
  56. #recipeInputIngredients div h4{
  57. color: rgb(255, 99, 107);
  58. }