50 lines
838 B
SCSS
50 lines
838 B
SCSS
|
.testimonials {
|
||
|
display: flex;
|
||
|
flex-flow: row wrap;
|
||
|
gap: 1em;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
.testimonial {
|
||
|
display: grid;
|
||
|
grid-template-columns: auto 1fr;
|
||
|
grid-template-rows: auto auto;
|
||
|
grid-gap: 1em;
|
||
|
margin-bottom: 1em;
|
||
|
flex-basis: 18em;
|
||
|
}
|
||
|
.avatar {
|
||
|
margin-left: 1em;
|
||
|
width: 2em;
|
||
|
height: 2em;
|
||
|
border-radius: 1em;
|
||
|
background: #212121;
|
||
|
}
|
||
|
.name {
|
||
|
align-self: center;
|
||
|
}
|
||
|
.bubble {
|
||
|
background-color: #212121;
|
||
|
color: white;
|
||
|
padding: 0.5em;
|
||
|
border-radius: 0.5em;
|
||
|
position: relative;
|
||
|
grid-column: span 2;
|
||
|
height: 80px;
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
text-align: center;
|
||
|
}
|
||
|
.bubble:after {
|
||
|
content: '';
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 2em;
|
||
|
width: 0;
|
||
|
height: 0;
|
||
|
border: 0.5em solid transparent;
|
||
|
border-bottom-color: #212121;
|
||
|
border-top: 0;
|
||
|
margin-left: -0.5em;
|
||
|
margin-top: -0.5em;
|
||
|
}
|