card further work

This commit is contained in:
2020-07-23 22:16:27 +02:00
parent d8173a9d7f
commit 2ab445670e
25 changed files with 181 additions and 33 deletions

View File

@@ -4,16 +4,14 @@
}
.card-restaurant {
background-color: #f7f7f7;
margin: 14px;
margin: 20px 0px 20px 0px;
color: $secondary-color;
border-radius: 10px;
min-width: 70vw;
min-height: 200px;
display: flex;
cursor: pointer;
:hover {
background-color: #ebebeb;
&:hover {
color: $main-color;
}
}
@@ -21,7 +19,7 @@
width: 180px;
height: 180px;
margin: 10px;
border-radius: 8px;
border-radius: 100px;
background-image: url("../public/cat.jpg");
background-size: cover;
}
@@ -29,21 +27,43 @@
.card-info {
text-align: start;
flex-grow: 6;
display: flex;
flex-direction: column;
justify-content: space-between;
h1 {
color: $main-color;
font-size: 1.6rem;
font-weight: 300;
margin-bottom: 4px;
margin-top: 8px;
}
h3 {
font-weight: 400;
margin-top: 2px;
margin-bottom: 2px;
font-size: 0.8rem;
font-size: 0.9rem;
}
hr {
color: $main-color;
border: solid 1px;
}
}
.card-pictograms {
margin-bottom: 4px;
}
.results-count {
width: 100%;
color: $secondary-color;
text-align: left;
margin-top: 20px;
margin-bottom: 20px;
hr {
border: solid 1px rgb(238, 238, 238);
}
p {
font-size: 0.9rem;
}
}