-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
100 lines (83 loc) · 1.78 KB
/
styles.css
File metadata and controls
100 lines (83 loc) · 1.78 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
.header {
padding: 20px;
text-align: center;
display: flex;
flex-direction: column;
}
.main-cont {
display: flex;
flex-direction: column;
align-items: center;
border-top: 0.5px solid rgb(202, 202, 202);
border-bottom: 0.5px solid rgb(202, 202, 202);
;
}
.recipes-boxes {
display: flex;
padding: 20px;
flex-flow: row wrap;
overflow-wrap: break-word;
}
.recipe {
width: 250px;
height: 300px;
margin: 30px;
display: flex;
flex-wrap: wrap;
flex-direction: column;
align-items: center;
background-color: antiquewhite;
border-radius: 15px;
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
text-align: center;
overflow: hidden;
padding-bottom: 10px;
}
.recipe img {
width: 250px;
height: 150px;
object-fit: cover;
}
.button {
background-color: rgb(130, 130, 223);
padding: 10px;
border-radius: 10px;
display: inline-block;
text-decoration: none;
color: black
}
.button:hover {
background-color: rgb(100, 100, 200);
text-decoration: none;
}
.main-recipe-cont {
display: flex;
flex-direction: column;
align-items: center;
border-top: 0.5px solid rgb(202, 202, 202);
border-bottom: 0.5px solid rgb(202, 202, 202);
padding: 20px;
}
.main-recipe-cont img {
border-radius: 15px;
}
.recipe-title {
text-align: center;
align-items: center;
gap: 20px;
margin-bottom: 20px;
border-bottom: 5px solid rgb(202, 202, 202);
width: 100%;
}
.recipe-details h3 {
margin-bottom: 10px;
border-bottom: 2px solid rgb(202, 202, 202);
padding: 10px;
}
.main-recipe-cont .button {
background-color: rgb(202, 202, 202);
}
.main-recipe-cont .button:hover {
background-color: rgb(170, 170, 170);
text-decoration: none;
}