-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
79 lines (77 loc) · 1.38 KB
/
style.css
File metadata and controls
79 lines (77 loc) · 1.38 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
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Poppins&display=swap');
/*font-family: 'Great Vibes', cursive;
font-family: 'Poppins', sans-serif;*/
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.container{
width: 100%;
height: 100vh;
padding: 50px;
}
.container h1{
text-align: center;
padding: 10px;
font-family: 'Great Vibes', cursive;
}
.second-cont{
width: 100%;
height: 400px;
display: flex;
flex-direction: row;
justify-content: space-evenly;
flex-wrap: wrap;
}
.dish-cont{
width: 300px;
height: 400px;
border: 1px solid #000;
transition: 0.4s;
margin: 5px;
}
.dish-cont:hover{
box-shadow: 0 5px 10px 2px grey;
}
.img{
width: 100%;
height: 180px;
padding: 5px;
}
.img img{
width: 100%;
height: 180px;
object-fit: cover;
}
.dish-details{
width: 100%;
height: 220px;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
}
.dish-details h1{
font-size: 25px;
padding-top: 10px;
}
.dish-details p{
font-family: 'Poppins', sans-serif;
font-size: 13px;
padding: 8px;
text-align: center;
}
.dish-details button{
width: 150px;
height: 40px;
background: #E2AE7C;
border: none;
color: #fff;
border-radius: 5px;
transition: 0.4S;
font-family: 'Poppins', sans-serif;
}
.dish-details button:hover{
background: #A7713F;
}