-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplain.css
122 lines (102 loc) · 1.93 KB
/
plain.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
119
120
121
122
.wrapper{
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid black;
}
.logo{
height: 60px;
}
.nav-items{
list-style: none;
display: flex;
margin-right: 20px;
}
.nav-items > li{
margin: 0 20px;
cursor: pointer;
}
/* for search bar */
.search{
height: 3rem;
display: flex;
align-items: center;
justify-content: center;
}
/* for restaurants-cards */
.res-card-container{
display: flex;
flex-direction: row;
/* justify-content:"space-evenly"; */
justify-content: space-around;
padding: 2rem 5rem;
flex-wrap: wrap;
}
.res-card{
display: flex;
flex-direction: column;
height: 25rem;
width: 15rem;
margin: 30px 10px;
padding: 5px 5px;
}
.res-card:hover{
border: 1px solid gray;
box-shadow: 10px 10px 10px rgb(101, 113, 117);
}
.res-card-img{
height: 15rem;
object-fit: cover;
}
.res-card-body{
display: flex;
flex-direction: column;
justify-content: center;
/* align-items: center; */
}
.res-card-body>h3{
margin: 5px 0px;
padding: 0px;
}
.res-card-body>h4{
margin: 2px 0px;
padding: 0px;
}
.res-card-link{
text-decoration: none ;
color: inherit;
}
/* search box */
.search-box{
margin: 0px 10px;
}
.search-btn{
cursor: pointer;
}
/* shimmer css */
.Shimmer-cards-wrapper {
display: flex;
flex-direction: row;
/* justify-content:"space-evenly"; */
justify-content: space-around;
padding: 2rem 5rem;
flex-wrap: wrap;
}
.shimmer-card {
display: flex;
flex-direction: column;
height: 25rem;
width: 15rem;
margin: 30px 10px;
padding: 5px 5px;
background-color: #ccc;
animation: breathe 1s infinite alternate; /* Adjust duration as needed */
}
@keyframes breathe {
0% {
transform: scale(0.9);
}
100% {
transform: scale(1.0); /* Adjust scale factor for desired effect */
}
}