start responsive boot

This commit is contained in:
2020-07-14 22:24:51 +02:00
parent b6b1dafd78
commit ee476d177c
13 changed files with 122 additions and 67 deletions
@@ -1,5 +1,5 @@
.__img-hero{
// height: 400px;
height: 400px;
// width: 100vw;
// position: relative;
// left: 50%;
@@ -7,38 +7,41 @@
* @see https://www.drupal.org/project/drupal/issues/2349711
*/
.__slide{
.thumbnails{
margin: 1rem 0.5rem;
max-width: 300px;
height: auto;
width: calc(100% / 5 );
background: white;
transform: scale(1);
box-shadow: none;
transition: 0.3s transform ease, 0.3s box-shadow ease;
&:hover{
transform: scale(1.05);
transition: 0.3s all ease;
box-shadow: 0px 0px 13px 0px $color2;
}
& > .__wrap{
padding: 1rem;
}
.__media{
margin-right: 1rem;
figcaption{
.thumbnails{
margin: 1rem 0rem;
// max-width: 300px;
min-width: 250px;
height: auto;
width: calc(100% / 4 );
background: white;
transform: scale(1);
box-shadow: none;
transition: 0.3s transform ease, 0.3s box-shadow ease;
a{
display: block;
height: 100%;
}
&:hover{
transform: scale(1.05);
transition: 0.3s all ease;
box-shadow: 0px 0px 13px 0px $color2;
}
& > .__wrap{
padding: 1rem;
}
.__media{
margin-right: 1rem;
figcaption{
height: 100%;
img{
width: 100%;
height: 100%;
img{
width: 100%;
height: 100%;
object-fit: cover;
}
object-fit: cover;
}
}
.d-flex{
padding: 1rem;
}
}
.d-flex{
padding: 1rem;
}
}