forked from Technigo/js-project-recipe-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle2.css
135 lines (112 loc) · 1.89 KB
/
style2.css
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
body {
font-family: Montserrat;
background-color: #FAFBFF;
margin: 0;
padding: 10px;
}
h1 {
color: #0018A4;
font-size: 64px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
h2 {
font-size: 22px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.filters {
display: flex;
margin: 20px 0;
}
.filters p {
margin: 0;
font-weight: bold;
}
.filters div {
margin-right: 10px;
}
button {
padding: 8px 16px;
border-radius: 50px;
outline: 0;
border: 2px solid transparent;
color: #0018A4;
font-size: 18px;
font-weight: 500;
margin: 0 5px 5px 0;
}
button:hover {
border: 2px solid #0018A4;
}
.sort.active {
background: #FF6589;
color: white;
border: 2px solid transparent;
}
.filter.active {
background: #0018A4;
color: white;
border: 2px solid transparent;
}
.filter {
background: #CCFFE2;
}
.sort {
background: #FFECEA;
}
.recipes {
display: flex;
flex-wrap: wrap;
gap: 16px;
}
a {
text-decoration: none;
color: initial;
}
.card {
background: #fff;
border: 1px solid #ccc;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
max-width: 288px;
padding: 16px;
}
.card h2 {
margin-bottom: 10px;
font-size: 21px;
}
hr {
border: 1px solid #E9E9E9;
}
img {
width: 288px;
height: 200px;
object-fit: cover;
border-radius: 10px;
}
.details {
font-size: 16px;
margin: 8px 0;
}
.bold {
font-weight: bold;
}
.ingredients ul {
list-style: none;
padding: 0;
text-align: left;
}
.ingredients ul li {
font-size: 14px;
margin: 5px 0;
}
p {
font-size: 16px;
}
button {
cursor: pointer;
font-family: Montserrat;
}