Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change team site to round images #60

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion _sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,17 @@ a.vife_werkzeuge2 {
height: 30px;
}

.vife_teamMember, .vife_alumni, .vife_project, .tool {
.vife_teamMember, .vife_alumni{
img {
width: 250px;
height: 250px;
filter: grayscale(100%);
object-fit: cover;
border-radius: 300px;
}
}

.vife_project, .tool {
img {
max-height: 250px;
object-fit: contain;
Expand Down
6 changes: 3 additions & 3 deletions team.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="col my-3">
<div class="card vife_teamMember">
{% if member.image %}
<img src="{{ member.image | relative_url }}" class="card-img-top p-4" alt="{{ member.name }}" />
<img src="{{ member.image | relative_url }}" class="card-img-top mx-auto d-block p-4" alt="{{ member.name }}"/>
{% endif %}
<div class="card-body">
<h3 class="card-title">{{ member.name }}</h3>
Expand Down Expand Up @@ -50,9 +50,9 @@ <h2>Ehemalige "ViFEn"</h2>
{% for member in members %}
<div class="col my-3">
<div class="card vife_alumni">
{% if member.image %}
<!-- {% if member.image %}
<img src="{{ member.image | relative_url }}" class="card-img-top p-4" alt="{{ member.name }}" />
{% endif %}
{% endif %}-->
<div class="card-body">
<h3 class="card-title">{{ member.name }}</h3>
<p class="card-text">
Expand Down