Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
Project Page
Commits
0eed360a
Commit
0eed360a
authored
3 years ago
by
Athanasios
Browse files
Options
Download
Email Patches
Plain Diff
Optimize card appearance
parent
c947b8b0
master
devel
testing
4 merge requests
!86
ignore ts built folder
,
!85
deployment
,
!84
prepare deployment
,
!74
Mlab 582
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
views/DE/project/projectList.pug
+16
-2
views/DE/project/projectList.pug
with
16 additions
and
2 deletions
+16
-2
views/DE/project/projectList.pug
+
16
-
2
View file @
0eed360a
...
...
@@ -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")
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets