diff --git a/views/DE/project/pagesList.pug b/views/DE/project/pagesList.pug index f9e5e7579e1b58d05c8d5a5e52ab06becf2a17da..afd80b33108ef1ae46f8a958106b302be466d42f 100644 --- a/views/DE/project/pagesList.pug +++ b/views/DE/project/pagesList.pug @@ -11,6 +11,8 @@ html(lang="de") .title-container { position: relative; color: white; + height: 12rem; + overflow: hidden; } .card-title-bottom-left { position: absolute; @@ -23,8 +25,26 @@ html(lang="de") padding: 5px } .card-img-top { - height: 15vw; - object-fit: cover; + height: 100%; + object-fit: contain; + 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%; + } + .clamp-lines { + display: -webkit-box; + -webkit-line-clamp: 6; + -webkit-box-orient: vertical; + overflow: hidden; } body div(class="container") @@ -50,11 +70,12 @@ html(lang="de") |