site.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. html {
  2. font-size: 14px;
  3. }
  4. @media (min-width: 768px) {
  5. html {
  6. font-size: 16px;
  7. }
  8. }
  9. .btn:focus,
  10. .btn:active:focus,
  11. .btn-link.nav-link:focus,
  12. .form-control:focus,
  13. .form-check-input:focus {
  14. box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
  15. }
  16. html {
  17. position: relative;
  18. min-height: 100%;
  19. }
  20. body {
  21. margin-bottom: 60px;
  22. background-color: #f8f9fa;
  23. }
  24. /* Recipe Cards */
  25. .recipe-card {
  26. transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  27. border: 1px solid #dee2e6;
  28. }
  29. .recipe-card:hover {
  30. transform: translateY(-2px);
  31. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  32. }
  33. .recipe-info {
  34. font-size: 0.875rem;
  35. }
  36. .ingredients-preview {
  37. font-size: 0.8rem;
  38. max-height: 3rem;
  39. overflow: hidden;
  40. }
  41. /* Search Panel */
  42. .card {
  43. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  44. }
  45. /* Ingredient Checklist */
  46. .ingredient-check {
  47. cursor: pointer;
  48. }
  49. /* Instructions */
  50. .instruction-step {
  51. border-left: 3px solid #007bff;
  52. padding-left: 1rem;
  53. margin-left: 1rem;
  54. }
  55. .step-number {
  56. margin-left: -2rem;
  57. }
  58. /* Filter badges */
  59. .badge {
  60. font-size: 0.8rem;
  61. }
  62. /* Responsive improvements */
  63. @media (max-width: 768px) {
  64. .container-fluid {
  65. padding-left: 15px;
  66. padding-right: 15px;
  67. }
  68. .recipe-card {
  69. margin-bottom: 1rem;
  70. }
  71. }
  72. /* Form improvements */
  73. .form-label {
  74. font-weight: 600;
  75. color: #495057;
  76. }
  77. .form-control:focus {
  78. border-color: #007bff;
  79. box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
  80. }
  81. /* Footer */
  82. .footer {
  83. position: absolute;
  84. bottom: 0;
  85. width: 100%;
  86. white-space: nowrap;
  87. line-height: 60px;
  88. background-color: #f8f9fa;
  89. }