366 lines
6.2 KiB
CSS
366 lines
6.2 KiB
CSS
/* assets/css/custom.css */
|
|
|
|
/* General Body Styles */
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
background-color: #f8f9fa;
|
|
color: #212529;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Main Content Area */
|
|
main {
|
|
flex: 1;
|
|
padding-top: 80px; /* Adjust for fixed navbar */
|
|
}
|
|
|
|
/* Navbar Styles */
|
|
.navbar {
|
|
background-color: #ffffff;
|
|
border-bottom: 1px solid #e9ecef;
|
|
font-weight: 500;
|
|
transition: box-shadow 0.3s ease;
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-weight: 700;
|
|
color: #007bff !important;
|
|
}
|
|
|
|
.navbar:hover {
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.nav-link {
|
|
color: #495057 !important;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.nav-link:hover, .nav-link.active {
|
|
color: #007bff !important;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #007bff;
|
|
border-color: #007bff;
|
|
font-weight: 500;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #0056b3;
|
|
border-color: #0056b3;
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero-section {
|
|
background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
|
|
color: white;
|
|
padding: 100px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-section h1 {
|
|
font-size: 3.5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.hero-section p {
|
|
font-size: 1.25rem;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* Recipe Cards */
|
|
.recipe-card {
|
|
border: none;
|
|
border-radius: 15px;
|
|
overflow: hidden;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
height: 100%;
|
|
}
|
|
|
|
.recipe-card:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.recipe-card-img-top {
|
|
height: 200px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.recipe-card .card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.recipe-card .card-title {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.recipe-card .card-text {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background-color: #343a40;
|
|
color: white;
|
|
padding: 40px 0;
|
|
margin-top: auto;
|
|
}
|
|
|
|
.footer a {
|
|
color: #f8f9fa;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer a:hover {
|
|
color: #007bff;
|
|
}
|
|
|
|
/* Form & Auth Pages */
|
|
.auth-container {
|
|
max-width: 450px;
|
|
margin: 40px auto;
|
|
padding: 40px;
|
|
background-color: #ffffff;
|
|
border-radius: 15px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.auth-container h2 {
|
|
font-weight: 700;
|
|
margin-bottom: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.form-control {
|
|
border-radius: 8px;
|
|
padding: 12px 15px;
|
|
}
|
|
|
|
.form-control:focus {
|
|
border-color: #007bff;
|
|
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
|
|
}
|
|
|
|
.btn-social {
|
|
font-weight: 500;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
/* Recipe Detail Page */
|
|
.recipe-header {
|
|
background-size: cover;
|
|
background-position: center;
|
|
color: white;
|
|
padding: 120px 0;
|
|
text-align: center;
|
|
position: relative;
|
|
}
|
|
|
|
.recipe-header::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.recipe-header-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.recipe-header h1 {
|
|
font-size: 3.5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.recipe-meta span {
|
|
display: inline-block;
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
padding: 5px 15px;
|
|
border-radius: 20px;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
/* Pricing Page */
|
|
.pricing-header {
|
|
text-align: center;
|
|
padding: 60px 0;
|
|
}
|
|
|
|
.pricing-header h1 {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.pricing-card {
|
|
border: 1px solid #e9ecef;
|
|
border-radius: 15px;
|
|
padding: 40px;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
background-color: #ffffff;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.pricing-card:hover, .pricing-card.featured {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
|
|
border-color: #007bff;
|
|
}
|
|
|
|
.pricing-card.featured {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.featured-badge {
|
|
position: absolute;
|
|
top: -1px;
|
|
right: -1px;
|
|
background-color: #007bff;
|
|
color: white;
|
|
padding: 8px 16px;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
border-bottom-left-radius: 15px;
|
|
}
|
|
|
|
.pricing-card h3 {
|
|
font-weight: 600;
|
|
color: #007bff;
|
|
}
|
|
|
|
.price {
|
|
font-size: 3rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.price .period {
|
|
font-size: 1rem;
|
|
font-weight: 400;
|
|
color: #6c757d;
|
|
}
|
|
|
|
.feature-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 20px 0;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.feature-list li {
|
|
margin-bottom: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.feature-list li::before {
|
|
content: '✔';
|
|
color: #28a745;
|
|
margin-right: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* Admin Panel Styles */
|
|
.admin-wrapper {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.admin-sidebar {
|
|
width: 250px;
|
|
background-color: #343a40;
|
|
color: white;
|
|
padding: 20px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.admin-sidebar .admin-logo {
|
|
font-weight: 700;
|
|
font-size: 1.5rem;
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
color: #007bff;
|
|
}
|
|
|
|
.admin-nav .nav-link {
|
|
color: #adb5bd !important;
|
|
padding: 10px 15px;
|
|
border-radius: 8px;
|
|
margin-bottom: 5px;
|
|
transition: background-color 0.2s ease, color 0.2s ease;
|
|
}
|
|
|
|
.admin-nav .nav-link:hover {
|
|
background-color: #495057;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.admin-nav .nav-link.active {
|
|
background-color: #007bff;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.admin-main-content {
|
|
flex-grow: 1;
|
|
padding: 40px;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.admin-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.admin-header h1 {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.admin-table {
|
|
width: 100%;
|
|
background-color: #ffffff;
|
|
border-radius: 15px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.admin-table th, .admin-table td {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.admin-table .btn-sm {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.admin-form {
|
|
background-color: #ffffff;
|
|
padding: 40px;
|
|
border-radius: 15px;
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.admin-form .form-label {
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Make body background white for admin pages */
|
|
body.admin-page {
|
|
background-color: #ffffff;
|
|
}
|