2016-05-10 00:54:46 -04:00
|
|
|
@import "../../frameless";
|
2016-08-08 08:38:32 -04:00
|
|
|
@import "../../colors";
|
2016-05-10 00:54:46 -04:00
|
|
|
|
|
|
|
.grid {
|
2016-05-17 12:40:16 -04:00
|
|
|
display: inline-block;
|
2016-06-15 09:34:15 -04:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
$project-width: 200px;
|
|
|
|
$project-height: 150px;
|
|
|
|
|
|
|
|
$gallery-width: 200px;
|
|
|
|
$gallery-height: 118px;
|
|
|
|
|
|
|
|
.flex-row {
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 12px;
|
|
|
|
width: (96px + (4 * $project-width)) / $em;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
|
|
|
|
.thumbnail {
|
|
|
|
padding: 12px;
|
|
|
|
|
2016-08-08 08:38:32 -04:00
|
|
|
&:not(.explore) {
|
|
|
|
&.project {
|
2016-05-10 00:54:46 -04:00
|
|
|
width: $project-width;
|
2016-08-08 08:38:32 -04:00
|
|
|
|
|
|
|
img {
|
|
|
|
width: $project-width;
|
|
|
|
height: $project-height;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.gallery {
|
|
|
|
width: $gallery-width;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: $gallery-width;
|
|
|
|
height: $gallery-height;
|
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-08 08:38:32 -04:00
|
|
|
&.explore {
|
|
|
|
&.project {
|
|
|
|
box-shadow: 0 0 3px $box-shadow-gray;
|
|
|
|
background-color: $ui-white;
|
|
|
|
width: 220px;
|
|
|
|
height: 208px;
|
2016-05-10 00:54:46 -04:00
|
|
|
|
2016-08-08 08:38:32 -04:00
|
|
|
img {
|
|
|
|
width: 204px;
|
|
|
|
height: 152px;
|
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.column {
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: $tablet - 1) {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2016-06-15 09:34:15 -04:00
|
|
|
|
|
|
|
@media only screen and (max-width: $desktop - 1) {
|
|
|
|
.flex-row {
|
|
|
|
padding: 12px 0;
|
|
|
|
width: 100%;
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
}
|