146 lines
3.2 KiB
CSS
146 lines
3.2 KiB
CSS
/* Custom styles to enhance Tailwind */
|
|
:root {
|
|
--primary-orange: #ff6b35;
|
|
--primary-green: #4ade80;
|
|
--light-orange: #fed7aa;
|
|
--light-blue: #dbeafe;
|
|
--light-green: #dcfce7;
|
|
--light-yellow: #fef3c7;
|
|
}
|
|
|
|
/* Recipe cards with colorful borders */
|
|
.recipe-card {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.recipe-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, #ff6b35, #fbbf24, #4ade80);
|
|
}
|
|
|
|
/* Ingredient badges */
|
|
.ingredient-badge {
|
|
background: linear-gradient(135deg, #fef3c7, #fed7aa);
|
|
border: 1px solid #fbbf24;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.cookware-badge {
|
|
background: linear-gradient(135deg, #dcfce7, #bbf7d0);
|
|
border: 1px solid #4ade80;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.timer-badge {
|
|
background: linear-gradient(135deg, #fee2e2, #fecaca);
|
|
border: 1px solid #f87171;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Enhanced buttons */
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #ff6b35, #f97316);
|
|
box-shadow: 0 4px 14px 0 rgba(255, 107, 53, 0.3);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 20px 0 rgba(255, 107, 53, 0.4);
|
|
}
|
|
|
|
/* Search input with colorful focus */
|
|
.search-input:focus {
|
|
border-color: #ff6b35;
|
|
box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
|
|
}
|
|
|
|
/* Recipe image placeholder with gradient */
|
|
.recipe-image-placeholder {
|
|
background: linear-gradient(135deg, #ff6b35, #fbbf24);
|
|
width: 120px;
|
|
height: 120px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-size: 3rem;
|
|
}
|
|
|
|
/* Step numbers with colorful circles */
|
|
.step-number {
|
|
width: 32px;
|
|
height: 32px;
|
|
background: linear-gradient(135deg, #ff6b35, #f97316);
|
|
color: white;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: bold;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Tags styling */
|
|
.tag {
|
|
display: inline-block;
|
|
padding: 0.25rem 0.75rem;
|
|
border-radius: 9999px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
margin-right: 0.5rem;
|
|
background: linear-gradient(135deg, #fbbf24, #fb923c);
|
|
color: white;
|
|
box-shadow: 0 2px 4px rgba(251, 146, 60, 0.2);
|
|
}
|
|
|
|
/* Navigation pills */
|
|
.nav-pill {
|
|
padding: 0.5rem 1.25rem;
|
|
border-radius: 9999px;
|
|
transition: all 0.3s;
|
|
font-weight: 500;
|
|
color: #6b7280;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-pill:hover {
|
|
background: linear-gradient(135deg, #fef3c7, #fed7aa);
|
|
color: #ea580c;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 6px rgba(234, 88, 12, 0.1);
|
|
}
|
|
|
|
.nav-pill.active {
|
|
background: linear-gradient(135deg, #ff6b35, #f97316);
|
|
color: white;
|
|
font-weight: 700;
|
|
box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
|
|
}
|
|
|
|
/* Recipe metadata pills */
|
|
.metadata-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.375rem 0.875rem;
|
|
border-radius: 9999px;
|
|
background: linear-gradient(135deg, #f9fafb, #f3f4f6);
|
|
border: 1px solid #e5e7eb;
|
|
font-size: 0.875rem;
|
|
color: #374151;
|
|
font-weight: 500;
|
|
line-height: 1.25rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.metadata-pill svg {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
margin-right: 0.5rem;
|
|
} |