Commit 0eed360a authored by Athanasios's avatar Athanasios
Browse files

Optimize card appearance

parent c947b8b0
......@@ -11,6 +11,8 @@ html(lang="de")
.title-container {
position: relative;
color: white;
height: 60%;
overflow: hidden;
}
.card-title-bottom-left {
position: absolute;
......@@ -23,8 +25,19 @@ html(lang="de")
padding: 5px
}
.card-img-top {
height: 15vw;
object-fit: cover;
height: 100%;
position: absolute;
top: 0;
left: 0;
right: 0;
margin-left: 0;
margin-right: 0;
}
.card-img-bg {
background-size: cover;
filter: blur(30px);
width: 100%;
height: 100%;
}
body
div(class="container")
......@@ -52,6 +65,7 @@ html(lang="de")
div(class="card-deck py-4 col-sm")
div(class="card width_18" style="transform: rotate(0);")
div(class="title-container")
div(class="card-img-bg" style=`background-image: url(${item.logo});`)
h5(class="card-title-bottom-left") #{item.name}
img(class="card-img-top", src=item.logo)
div(class="card-body")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment