-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
73 lines (70 loc) · 1.13 KB
/
Copy pathindex.css
File metadata and controls
73 lines (70 loc) · 1.13 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
.header{
display:flex;
flex-direction: row;
justify-content: space-between;
}
.logo-container{
width:120px;
display:flex;
margin-left:50px;
}
.logo-container>img{
height:120px;
}
.navlist{
display:flex;
align-items: center;
}
.navlist>ul{
display:flex;
margin-right:50px;
list-style:none;
gap:30px;
font-size:18px;
}
/*body styles*/
.body{
display:flex;
flex-direction: column;
}
.search{
display:flex;
width:100%;
justify-content: center;
}
.search>input{
width:40%;
border-radius:10px;
border:2px solid #bdbdbd;
height:0px;
outline:none;
transition:all .3s;
padding: 15px 15px;
}
.search>input:focus{
border: 2px solid #818181;
font-size:18px;
color:#818181;
}
.restaurantcard{
display:flex;
flex-wrap:wrap;
width:100%;
gap:35px;
}
.eachcard{
min-width:23%;
max-width:23%;
border-radius:10px;
overflow: hidden;
box-shadow: 0px 1px 3px rgb(110, 110, 110);
}
.eachcard>img{
width:100%;
height:200px;
object-fit: cover;
object-position: center;
}
.eachcarddesc{
padding:0px 15px;
}