forked from chetannada/Namaste-React
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
118 lines (96 loc) · 1.76 KB
/
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
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
/* Select all CSS */
*{
margin: 0;
padding: 0;
overflow-x: hidden;
}
/* Header CSS */
.header{
display: flex;
justify-content: space-between;
margin: 10px;
width: auto;
background-color: rgb(1, 163, 144);
border-radius: 5px;
box-shadow: -1px 4px 20px 14px rgba(0, 0, 0, 0.2);
color: black;
font-weight: bold;
}
.logo{
padding-left: 10px;
width: 100px;
}
.nav-items{
padding: 0 10px 0;
width: auto;
}
.nav-items > ul{
list-style-type: none;
display: flex;
}
.nav-items > ul > li{
padding: 40px 10px 0 0;
font-size: large;
cursor: pointer;
}
/* Body CSS */
.restaurant-list{
width: auto;
display: flex;
flex-wrap: wrap;
justify-content:center;
}
.card{
width: 200px;
border-radius: 5px;
box-shadow: -1px 4px 20px 14px rgba(0, 0, 0, 0.2);
padding: 10px;
margin: 20px;
cursor: pointer;
}
.card > img{
width: 100%;
border-radius: 10px;
}
.card > span{
display: flex;
justify-content: space-evenly;
}
.card > span > h4{
text-align: center;
}
.card > span > h4:first-child{
display: flex;
align-items: center;
background-color: rgb(19, 176, 1);
border-radius: 5px;
padding: 0 5px 0;
color: white;
}
.card > span > h4:first-child .fa-star{
font-size: small;
padding: 0 5px 3px 0;
}
/* footer CSS */
.footer{
margin: 10px;
width: auto;
text-align: center;
background-color: rgb(1, 163, 144);
padding: 20px 10px 20px;
border-radius: 5px;
box-shadow: -1px 4px 20px 14px rgba(0, 0, 0, 0.2);
}
.footer > i{
padding: 0 5px 0;
font-size: smaller;
}
.fa-heart{
color: darkred;
}
.footer > strong{
padding-left: 5px;
}
.footer > strong > span{
color: rgb(203, 54, 0)
}