94 lines
1.4 KiB
SCSS
94 lines
1.4 KiB
SCSS
.presentation {
|
|
article {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-template-rows: auto;
|
|
grid-column-gap: 2.125rem;
|
|
grid-row-gap: 2.125rem;
|
|
margin-bottom: 10rem;
|
|
|
|
&:nth-child(2n + 1) {
|
|
.content {
|
|
grid-column: 1;
|
|
}
|
|
|
|
figure {
|
|
grid-column: 2;
|
|
}
|
|
}
|
|
|
|
&:nth-child(2n) {
|
|
.content {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
}
|
|
|
|
figure {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
.content {
|
|
h2 {
|
|
font-size: 2.125rem;
|
|
margin-bottom: 2rem;
|
|
|
|
+ p {
|
|
font-size: 1.25rem;
|
|
}
|
|
}
|
|
|
|
a,
|
|
a:visited {
|
|
color: var(--color-dark);
|
|
}
|
|
|
|
+ figure,
|
|
+ p {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
img {
|
|
margin-top: 3.5rem;
|
|
}
|
|
|
|
.btn {
|
|
margin-top: 7rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.side-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
img {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.profile-preview {
|
|
display: flex;
|
|
list-style: none;
|
|
margin-top: auto;
|
|
margin-bottom: 1.5rem;
|
|
|
|
li + li {
|
|
margin-left: -2rem;
|
|
}
|
|
|
|
img {
|
|
width: 10rem;
|
|
border-radius: 50%;
|
|
border: 2px solid;
|
|
color: var(--color-white);
|
|
background-color: var(--color-white);
|
|
}
|
|
}
|
|
}
|