forked from gullu5801/recipejs-functional-cooking
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
106 lines (84 loc) · 1.62 KB
/
Copy pathstyle.css
File metadata and controls
106 lines (84 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f5f5f5;
color: #333;
line-height: 1.6;
}
header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
text-align: center;
padding: 2rem 1rem;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
header h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
header p {
font-size: 1.1rem;
opacity: 0.9;
}
main {
max-width: 1200px;
margin: 2rem auto;
padding: 0 1rem;
}
#recipe-container {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
justify-content: center;
}
.recipe-card {
background: white;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
padding: 1.5rem;
width: 300px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.recipe-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
.recipe-card h3 {
color: #667eea;
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.recipe-meta {
display: flex;
gap: 1rem;
margin: 0.75rem 0;
font-size: 0.9rem;
color: #666;
}
.recipe-card p {
color: #555;
line-height: 1.5;
}
.difficulty {
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.85rem;
font-weight: bold;
text-transform: capitalize;
}
.difficulty.easy {
background-color: #d4edda;
color: #155724;
}
.difficulty.medium {
background-color: #fff3cd;
color: #856404;
}
.difficulty.hard {
background-color: #f8d7da;
color: #721c24;
}