recipes.css 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /* General use */
  2. span{
  3. color: rgb(255, 99, 107);
  4. }
  5. /* recipesStrand */
  6. #recipesStrand{
  7. display: flex;
  8. flex-direction: column;
  9. align-items: center;
  10. }
  11. #recipesStrand > *{
  12. margin: 15px;
  13. }
  14. #recipeUpdate{
  15. margin-bottom: 10px;
  16. }
  17. #recipesContainer{
  18. display: flex;
  19. justify-content: space-around;
  20. flex-wrap: wrap;
  21. padding: 25px;
  22. }
  23. .recipe-card{
  24. border: 2px solid rgb(255, 99, 107);
  25. box-shadow: 2px 2px 2px rgb(0, 27, 45);
  26. background: rgb(0, 27, 45);
  27. color: rgb(255, 99, 107);
  28. width: 20%;
  29. min-width: 200px;
  30. padding: 35px;
  31. margin: 25px;
  32. border-radius: 10px;
  33. cursor: pointer;
  34. }
  35. .recipe-card:hover{
  36. transform: translateY(-3px);
  37. }
  38. .empty-recipe{
  39. background: rgb(255, 99, 107);
  40. border: 2px solid rgb(0, 27, 45);
  41. color: rgb(0, 27, 45);
  42. }
  43. /* singleRecipeStrand */
  44. #singleRecipeStrand{
  45. display: none;
  46. flex-direction: column;
  47. margin: auto;
  48. align-items: center;
  49. }
  50. #singleRecipeStrand > *{
  51. margin: 15px;
  52. }
  53. #delRecipe{
  54. display: "none"
  55. }
  56. #recipeName{
  57. margin-top: 0;
  58. }
  59. @media screen and (max-width: 1000px){
  60. /* General use */
  61. body{
  62. text-align: center;
  63. }
  64. /* singlerecipeStrand */
  65. #singleRecipeStrand .buttonsDiv{
  66. font-size: 15px;
  67. }
  68. #singleRecipeStrand input{
  69. max-width: 100px;
  70. }
  71. }