Skip to content

Commit

Permalink
tweak people layout (dmidk#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
leifdenby authored Feb 11, 2022
1 parent e13ed1f commit 573b907
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,33 @@
content: "";
clear: both;
display: table;
}

UL.people-list {
list-style: none;
margin-left: 0px;
}

LI.person-card {
width: 200px;
float: left;
margin: 10px;
text-align: center;
}

LI.person-card IMG {
width: 100px; border-radius: 50%; border: 5px solid #eee;
height: 340px;
}

LI.person-card P {
margin: 0.5rem 0px !important;
}

LI.person-card > img {
width: 100px;
height: 100px;
border-radius: 50%;
border: 5px solid #eee;
text-align: center;
}

</style>

# Scientific Machine Learning at University of Leeds
Expand All @@ -49,7 +61,7 @@
{% endif %}
{% endfor %}

<ul style='list-style: none;'>
<ul class='people-list'>
{% for item in site.data.people %}
<li class='person-card'>
{% assign image_path = image_path_placeholder %}
Expand Down

0 comments on commit 573b907

Please sign in to comment.