-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.css
70 lines (61 loc) · 1020 Bytes
/
index.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
* {
padding :0;
margin: 0;
box-sizing: border-box;
}
#root {
height: 100%;
min-width: 1240px;
}
.header {
display: flex;
justify-content: space-between ;
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
height: 80px;
background: #fff;
}
.nav-items > ul{
padding-top : 20px;
min-width : 400px;
list-style-type: none;
display: flex;
align-items: center;
justify-content: space-evenly ;
font-size: 20px;
}
.nav-items > ul > li {
padding: 10px;
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}
.logo {
width: 80px;
}
.card{
width: 250px;
box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
padding: 10px;
margin: 10px;
}
.card > img {
width: 100%;
}
.card-title {
font-size: 17px;
font-weight: 500;
word-break: break-word;
}
.card-tags {
color: #686b78;
font-size: 13px;
margin-top: 4px;
}
.card-rating {
background-color: #db7c38;
color: #fff;
}
.restaurant-list {
display: flex;
flex-wrap: wrap;
gap : 20px;
justify-content: space-start;
}