first 2 lectures
This commit is contained in:
1 parent
2cf84f4efd
commit
98a7c96117
289 files changed
+14886
No files matched your search
@@ -0,0 +1,72 @@
|
||||
.story {
|
||||
&__pictures {
|
||||
background-color: $color-primary;
|
||||
grid-column: full-start / col-end 4;
|
||||
background-image: linear-gradient(rgba($color-primary, .5), rgba($color-primary, .5)), url(../img/back.jpg);
|
||||
background-size: cover;
|
||||
|
||||
display: grid;
|
||||
grid-template-rows: repeat(6, 1fr);
|
||||
grid-template-columns: repeat(6, 1fr);
|
||||
align-items: center;
|
||||
|
||||
@media only screen and (max-width: $bp-medium) {
|
||||
grid-column: 1 / -1;
|
||||
padding: 6rem;
|
||||
}
|
||||
}
|
||||
|
||||
&__img--1 {
|
||||
width: 100%;
|
||||
grid-row: 2 / 6;
|
||||
grid-column: 2 / 6;
|
||||
box-shadow: 0 2rem 5rem rgba(#000, .1);
|
||||
|
||||
@media only screen and (max-width: $bp-medium) {
|
||||
grid-column: 1 / 5;
|
||||
grid-row: 1 / -1;
|
||||
}
|
||||
}
|
||||
|
||||
&__img--2 {
|
||||
width: 115%;
|
||||
grid-row: 4 / 6;
|
||||
grid-column: 4 / 7;
|
||||
z-index: 20;
|
||||
box-shadow: 0 2rem 5rem rgba(#000, .2);
|
||||
|
||||
@media only screen and (max-width: $bp-medium) {
|
||||
grid-row: 1 / -1;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&__content {
|
||||
background-color: $color-grey-light-1;
|
||||
grid-column: col-start 5 / full-end;
|
||||
|
||||
padding: 6rem 8vw;
|
||||
|
||||
/*
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
*/
|
||||
|
||||
display: grid;
|
||||
align-content: center;
|
||||
justify-items: start;
|
||||
|
||||
@media only screen and (max-width: $bp-medium) {
|
||||
grid-column: 1 / -1;
|
||||
grid-row: 5 / 6;
|
||||
}
|
||||
}
|
||||
|
||||
&__text {
|
||||
font-size: 1.5rem;
|
||||
font-style: italic;
|
||||
margin-bottom: 4rem;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user