You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

156 lines
3.9 KiB

#about {
.content {
.wrapper {
height: 100%;
}
}
}
.about-wrapper {
@media screen and (min-width: 920px) {
display: flex;
flex-direction: column;
max-height: calc(100% - 40px);
}
.row {
width: 100%;
min-height: 360px;
padding-bottom: var(--gap);
margin-bottom: 20px;
overflow: auto;
@media screen and (min-width: 920px) {
display: flex;
overflow: hidden;
margin-bottom: 0;
height: 100%;
max-height: 50%;
}
.col {
background: var(--dark-lighter);
padding: var(--gap);
overflow: auto;
will-change: auto;
&.about-history {
position: relative;
p:not(:last-child) {
padding-bottom: var(--gap-s);
margin-bottom: var(--gap-s);
border-bottom: 2px solid var(--green);
}
}
&.about-info,
&.about-img {
position: relative;
background: none;
border: 2px solid var(--green);
@media screen and (min-width: 920px) {
min-width: 340px;
}
}
&.about-img {
@media screen and (max-width: 919px) {
display: none;
}
}
&.about-intro {
display: grid;
grid-gap: var(--gap) var(--gap);
@media screen and (min-width: 1095px) {
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
grid-template-rows: minmax(min-content, max-content);
}
> p:first-child {
position: relative;
&:after {
content: '';
position: absolute;
left: 0;
bottom: -20px;
display: inline-block;
width: 100%;
height: 2px;
background: var(--green);
@media screen and (min-width: 1390px) {
bottom: unset;
left: unset;
top: 0;
right: -20px;
width: 2px;
height: 100%;
}
}
}
> p:last-child {
@media screen and (max-width: 919px) {
margin-top: var(--gap-s);
}
}
}
&:not(:last-child) {
@media screen and (min-width: 920px) {
margin-right: var(--gap);
}
}
.about-image {
position: absolute;
top: 0;
right: 0;
width: auto;
height: 100%;
max-width: 340px;
opacity: 0.5;
filter: drop-shadow(5px 5px 15px var(--dark-darker));
object-fit: contain;
object-position: bottom right;
}
}
}
}
.info-list {
@media screen and (max-width: 1009px) {
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
@media screen and (min-width: 1010px) {
width: 250px;
line-height: 1.4;
}
li {
padding: var(--gap-s) 0;
&:first-child {
padding-top: 0;
}
&:last-child {
padding-bottom: 0;
}
&:not(:last-child) {
border-bottom: 1px solid;
}
}
}