mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-22 05:22:38 -05:00
46 lines
909 B
SCSS
46 lines
909 B
SCSS
|
@import "../../frameless";
|
||
|
|
||
|
.grid {
|
||
|
display: flex;
|
||
|
padding: 12px;
|
||
|
flex-direction: row;
|
||
|
flex-wrap: wrap;
|
||
|
justify-content: space-around;
|
||
|
align-items: center;
|
||
|
|
||
|
.thumbnail {
|
||
|
padding: 12px;
|
||
|
|
||
|
&.project {
|
||
|
$project-width: 200px;
|
||
|
$project-height: 150px;
|
||
|
width: $project-width;
|
||
|
|
||
|
img {
|
||
|
width: $project-width;
|
||
|
height: $project-height;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&.gallery {
|
||
|
$gallery-width: 200px;
|
||
|
$gallery-height: 118px;
|
||
|
width: $gallery-width;
|
||
|
|
||
|
img {
|
||
|
width: $gallery-width;
|
||
|
height: $gallery-height;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&.column {
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
@media only screen and (max-width: $tablet - 1) {
|
||
|
flex-direction: column;
|
||
|
}
|
||
|
}
|