forked from GCA-Classroom/WD-LL6-Starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
62 lines (53 loc) · 905 Bytes
/
styles.css
File metadata and controls
62 lines (53 loc) · 905 Bytes
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: sans-serif;
line-height: 1.6;
background: #fff8f0;
color: #333;
padding: 1rem;
}
header {
background: #ffddaa;
padding: 1rem;
text-align: center;
}
nav a {
margin: 0 1rem;
text-decoration: none;
color: #333;
}
.intro {
margin: 2rem 0;
text-align: center;
}
.recipes {
display: flex;
gap: 1rem;
justify-content: space-around;
margin-bottom: 2rem;
/* BUG: No flex-wrap — layout breaks on small screens */
}
.card {
background: white;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
overflow: hidden;
width: 30%;
text-align: center;
padding-bottom: 1rem;
}
.card img {
width: 100%;
height: 150px;
object-fit: cover;
}
footer {
text-align: center;
padding: 1rem;
background: #ffeecc;
}
/* TODO: Add media queries for better mobile experience */