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.

51 lines
1.3 KiB

#main {
height: 100%; }
.section {
display: flex;
flex-direction: column-reverse;
align-items: center;
height: 100%;
max-height: calc(100% - var(--gap) * 2); }
@media screen and (min-width: 768px) {
.section {
flex-direction: row;
max-height: calc(100% - var(--gap) * 4); } }
.section .article {
flex: 3;
width: 100%; }
@media screen and (min-width: 768px) {
.section .article {
flex: 1; } }
.section .media {
flex: 2;
width: 100%;
height: 100%; }
@media screen and (max-width: 990px) {
.section .media {
position: relative;
display: flex;
align-items: center;
margin-right: -30%; } }
@media screen and (min-width: 768px) {
.section .media {
flex: 1; } }
.section .media-image {
width: 100%; }
@media screen and (max-width: 990px) {
.section .media-image {
height: 100%;
object-fit: cover;
object-position: left;
padding: 60px 0; } }
@media screen and (min-width: 768px) {
.section .media-image {
position: absolute;
height: 100%;
max-height: calc(100% - var(--gap) * 4);
margin-bottom: 0;
object-fit: none;
object-position: left center; } }
/*# sourceMappingURL=main.css.map */