hugo-theme-almeida/assets/scss/components/_references.scss

64 lines
1.2 KiB
SCSS
Raw Normal View History

2021-08-08 12:38:22 +00:00
.references {
&__item {
display: inline-block;
min-width: 49%;
2021-08-08 12:38:22 +00:00
@include avoid-break;
&:not(:first-child) {
padding-top: 1.5rem;
}
}
&__header,
&__subheader {
display: block;
width: 100%;
}
&__subheader {
margin-bottom: 0.5rem;
2021-08-08 12:38:22 +00:00
}
&__person {
position: relative;
transition: transform 0.2s cubic-bezier($cubic);
&:hover {
transform: translateX(0.5rem);
}
}
&__name,
&__relation {
text-align: left;
width: 100%;
2021-08-08 12:38:22 +00:00
color: $color-dark;
}
&__contact {
position: relative;
font-size: 1rem;
& > i {
background-color: $color-icon-background;
color: $color-icon-primary;
font-size: 1rem;
text-align: center;
border-radius: 50%;
padding-top: 0.5rem;
width: 2rem;
height: 2rem;
margin-right: 0.5rem;
margin-bottom: 0.5rem;
}
& > span {
@include vt-center;
min-height: 1.5rem;
line-height: 1.2rem;
2021-08-08 12:38:22 +00:00
}
}
& li {
list-style: none;
}
}