Contact card
Card to display contact information.
<div class="container row">
<div class="col-md-3">
<div class="contact-card">
<div class="contact-card-header">
<img class="contact-card-photo"
src="https://userclub.opendatasoft.com/assets/theme_image/contact-card-avatar-woman.svg">
<div class="contact-card-tag">
R&D
</div>
</div>
<h2 class="contact-card-title">
Ines Blanchet
</h2>
<h3 class="contact-card-post">
Ingénieure Chimiste
</h3>
<h4 class="contact-card-description">
Paris - France
<br>
01 23 45 67 89
<br>
mail@mail.com
</h4>
</div>
</div>
</div>
/* Contact Card (Basic card)
========================================================================== */
.contact-card {
height: 100%;
background-color: var(--boxes-background);
color: var(--text);
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 26px;
border: 1px solid var(--boxes-border);
border-bottom-width: 3px;
border-bottom-color: transparent;
box-shadow: 0 1px var(--highlight);
border-radius: 4px;
min-height: 390px;
text-decoration: none;
transition: all .2s;
position: relative;
}
.contact-card:hover {
border-color: var(--highlight);
}
.contact-card-header {
position: relative;
height: 140px;
width: 140px;
background-color: rgba(218, 218, 218, .2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.contact-card-photo {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
height: 140px;
width: auto;
max-width: 140px;
border-radius: 50%;
}
.contact-card-tag {
font-size: .9rem;
padding: 4px;
text-transform: uppercase;
font-weight: normal;
border-radius: 4px;
position: absolute;
bottom: -10px;
color: #4f9e30;
background-color: #d2e6cc;
}
.contact-card-title {
font-size: 1.5rem;
color: var(--titles);
font-weight: normal;
margin-top: 13px;
margin-bottom: 6px;
max-width: 100%;
}
.contact-card-post {
color: #6f6f6f;
font-size: 1em;
line-height: 1.5;
font-weight: normal;
margin-top: 0;
margin-bottom: 0;
max-width: 100%;
}
.contact-card-description {
font-size: 1rem;
line-height: 1.5;
font-weight: normal;
padding-top: 13px;
margin-top: 26px;
margin-bottom: 0;
border-top: 1px solid #dadada;
color: var(--text);
max-width: 100%;
}