Skip to content
Snippets Groups Projects
Commit 2e12ce41 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4692: adding styles for profile manual listing block

parent 32e13557
No related branches found
No related tags found
1 merge request!46ISTWCMS-4692: adding styles for profile manual listing block
This diff is collapsed.
.uw-profiles {
.uw-profile {
padding-bottom: 1rem;
&__infobar {
display: block;
}
&__image {
display: inline-block;
padding-right: 1rem;
vertical-align: top;
}
&__personal {
display: inline-block;
}
&__title {
color: #80001f;
font-weight: 400;
h2 {
a {
color: gesso-brand('org-school', 'lvl4');
text-decoration: none;
}
padding: 0;
}
}
&__position {
line-height: 0;
}
}
}
\ No newline at end of file
<div class="uw-profiles">
{% for profile in profiles %}
<div class="uw-profile">
<div class="uw-profile__infobar">
{% if profile.image %}
<div class="uw-profile__image">
<a href="{{ profile.url }}">
<img src="{{ profile.image.url }}" alt="{{ profile.image.alt }}" />
</a>
</div>
{% endif %}
<div class="uw-profile__personal">
<div class="uw-profile__title">
<h2><a href="{{ profile.url }}">{{ profile.title }}</a></h2>
</div>
<div class="uw-profile__position">
{{ profile.position }}
</div>
</div>
</div>
<div class="uw-profile__affiliation">
{{ profile.affiliation }}
</div>
<div class="uw-profile__summary">
{{ profile.summary }}
</div>
</div>
{% endfor %}
</div>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment