292 lines
4.8 KiB
SCSS
292 lines
4.8 KiB
SCSS
.image {
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
&__preview {
|
|
position: absolute;
|
|
top: 0;
|
|
inset-inline-start: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
&.loaded &__preview {
|
|
display: none;
|
|
}
|
|
|
|
img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border: 0;
|
|
background: transparent;
|
|
opacity: 0;
|
|
}
|
|
|
|
&.loaded img {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.link-footer {
|
|
flex: 0 0 auto;
|
|
padding: 10px;
|
|
padding-top: 20px;
|
|
z-index: 1;
|
|
font-size: 13px;
|
|
|
|
p {
|
|
color: $dark-text-color;
|
|
margin-bottom: 20px;
|
|
|
|
strong {
|
|
font-weight: 500;
|
|
}
|
|
|
|
a {
|
|
color: $dark-text-color;
|
|
text-decoration: underline;
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.about {
|
|
padding: 20px;
|
|
|
|
@media screen and (min-width: $no-gap-breakpoint) {
|
|
border-radius: 4px;
|
|
}
|
|
|
|
&__footer {
|
|
color: $dark-text-color;
|
|
text-align: center;
|
|
font-size: 15px;
|
|
line-height: 22px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
&__header {
|
|
margin-bottom: 30px;
|
|
|
|
&__hero {
|
|
width: 100%;
|
|
height: auto;
|
|
aspect-ratio: 1.9;
|
|
background: lighten($ui-base-color, 4%);
|
|
border-radius: 8px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
h1,
|
|
p {
|
|
text-align: center;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 24px;
|
|
line-height: 1.5;
|
|
font-weight: 700;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
p {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
font-weight: 400;
|
|
color: $darker-text-color;
|
|
}
|
|
}
|
|
|
|
&__meta {
|
|
background: lighten($ui-base-color, 4%);
|
|
border-radius: 4px;
|
|
display: flex;
|
|
margin-bottom: 30px;
|
|
font-size: 15px;
|
|
|
|
&__column {
|
|
box-sizing: border-box;
|
|
width: 50%;
|
|
padding: 20px;
|
|
}
|
|
|
|
&__divider {
|
|
width: 0;
|
|
border: 0;
|
|
border-style: solid;
|
|
border-color: lighten($ui-base-color, 8%);
|
|
border-left-width: 1px;
|
|
min-height: calc(100% - 60px);
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 15px;
|
|
text-transform: uppercase;
|
|
color: $darker-text-color;
|
|
font-weight: 500;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
@media screen and (width <= 600px) {
|
|
display: block;
|
|
|
|
h4 {
|
|
text-align: center;
|
|
}
|
|
|
|
&__column {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
&__divider {
|
|
min-height: 0;
|
|
width: 100%;
|
|
border-left-width: 0;
|
|
border-top-width: 1px;
|
|
}
|
|
}
|
|
|
|
.layout-multiple-columns & {
|
|
display: block;
|
|
|
|
h4 {
|
|
text-align: center;
|
|
}
|
|
|
|
&__column {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
&__divider {
|
|
min-height: 0;
|
|
width: 100%;
|
|
border-left-width: 0;
|
|
border-top-width: 1px;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__mail {
|
|
color: $primary-text-color;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
|
|
&:hover,
|
|
&:focus,
|
|
&:active {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.link-footer {
|
|
padding: 0;
|
|
margin-top: 60px;
|
|
text-align: center;
|
|
font-size: 15px;
|
|
line-height: 22px;
|
|
|
|
@media screen and (min-width: $no-gap-breakpoint) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.account {
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.account__avatar-wrapper {
|
|
margin-inline-start: 0;
|
|
}
|
|
|
|
.account__relationship {
|
|
display: none;
|
|
}
|
|
|
|
&__section {
|
|
margin-bottom: 10px;
|
|
|
|
&__title {
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
line-height: 22px;
|
|
padding: 20px;
|
|
border-radius: 4px;
|
|
background: lighten($ui-base-color, 4%);
|
|
color: $highlight-text-color;
|
|
cursor: pointer;
|
|
}
|
|
|
|
&.active &__title {
|
|
border-radius: 4px 4px 0 0;
|
|
}
|
|
|
|
&__body {
|
|
border: 1px solid lighten($ui-base-color, 4%);
|
|
border-top: 0;
|
|
padding: 20px;
|
|
font-size: 15px;
|
|
line-height: 22px;
|
|
}
|
|
}
|
|
|
|
&__domain-blocks {
|
|
margin-top: 30px;
|
|
background: darken($ui-base-color, 4%);
|
|
border: 1px solid lighten($ui-base-color, 4%);
|
|
border-radius: 4px;
|
|
|
|
&__domain {
|
|
border-bottom: 1px solid lighten($ui-base-color, 4%);
|
|
padding: 10px;
|
|
font-size: 15px;
|
|
color: $darker-text-color;
|
|
|
|
&:nth-child(2n) {
|
|
background: darken($ui-base-color, 2%);
|
|
}
|
|
|
|
&:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
&__header {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: space-between;
|
|
font-weight: 500;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
h6 {
|
|
color: $secondary-text-color;
|
|
font-size: inherit;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
p {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
}
|
|
}
|