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%;
|
|
|
|
|
2016-08-22 13:21:08 -04:00
|
|
|
$project-width: 220px;
|
|
|
|
$project-height: 208px;
|
2016-06-15 09:34:15 -04:00
|
|
|
|
|
|
|
$gallery-width: 200px;
|
|
|
|
$gallery-height: 118px;
|
|
|
|
|
|
|
|
.flex-row {
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 12px;
|
2016-08-22 13:21:08 -04:00
|
|
|
width: $cols12;
|
2016-08-24 10:23:26 -04:00
|
|
|
justify-content: flex-start;
|
2016-08-23 10:11:18 -04:00
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
|
|
|
|
.thumbnail {
|
2016-08-24 10:23:26 -04:00
|
|
|
margin: 6px;
|
2016-08-22 13:21:08 -04:00
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
&.project {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 0 3px $box-shadow-gray;
|
|
|
|
background-color: $ui-white;
|
|
|
|
width: $project-width;
|
|
|
|
height: $project-height;
|
2016-05-10 00:54:46 -04:00
|
|
|
|
2016-08-22 13:21:08 -04:00
|
|
|
.thumbnail-image {
|
|
|
|
margin: 8px auto;
|
|
|
|
width: 204px;
|
|
|
|
height: 152px;
|
2016-08-08 08:38:32 -04:00
|
|
|
|
|
|
|
img {
|
2016-08-22 13:21:08 -04:00
|
|
|
margin: 0 auto;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
width: 204px;
|
|
|
|
height: 152px;
|
2016-08-08 08:38:32 -04:00
|
|
|
}
|
|
|
|
}
|
2016-08-22 13:21:08 -04:00
|
|
|
}
|
2016-08-08 08:38:32 -04:00
|
|
|
|
2016-08-22 13:21:08 -04:00
|
|
|
&.gallery {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 0 3px $box-shadow-gray;
|
|
|
|
background-color: $ui-white;
|
|
|
|
width: $project-width;
|
|
|
|
height: 164px;
|
|
|
|
|
|
|
|
.thumbnail-image {
|
|
|
|
margin: 8px auto;
|
|
|
|
width: 204px;
|
|
|
|
height: 120px;
|
2016-08-08 08:38:32 -04:00
|
|
|
|
|
|
|
img {
|
2016-08-22 13:21:08 -04:00
|
|
|
border: 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
width: 204px;
|
|
|
|
height: 120px;
|
2016-08-08 08:38:32 -04:00
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-22 13:21:08 -04:00
|
|
|
.thumbnail-info {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 204px;
|
|
|
|
|
|
|
|
.creator-image {
|
|
|
|
float: left;
|
2016-05-10 00:54:46 -04:00
|
|
|
|
2016-08-08 08:38:32 -04:00
|
|
|
img {
|
2016-08-22 13:21:08 -04:00
|
|
|
margin-right: 8px;
|
|
|
|
border-radius: 4px;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2016-08-08 08:38:32 -04:00
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
}
|
2016-08-12 16:30:18 -04:00
|
|
|
|
2016-08-22 13:21:08 -04:00
|
|
|
.thumbnail-title {
|
|
|
|
float: left;
|
|
|
|
max-width: 164px;
|
2016-08-12 16:30:18 -04:00
|
|
|
|
2016-08-22 13:21:08 -04:00
|
|
|
.thumbnail-creator a {
|
|
|
|
color: $type-gray;
|
2016-08-12 16:30:18 -04:00
|
|
|
}
|
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.column {
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2016-08-22 13:21:08 -04:00
|
|
|
//4 columns
|
|
|
|
@media only screen and (max-width: $mobile - 1) {
|
|
|
|
.flex-row {
|
|
|
|
width: $cols4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//6 columns
|
|
|
|
@media only screen and (min-width: $mobile) and (max-width: $tablet - 1) {
|
|
|
|
.flex-row {
|
|
|
|
width: $cols6;
|
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
}
|
2016-06-15 09:34:15 -04:00
|
|
|
|
2016-08-22 13:21:08 -04:00
|
|
|
// 8 columns
|
|
|
|
@media only screen and (min-width: $tablet) and (max-width: $desktop - 1) {
|
2016-06-15 09:34:15 -04:00
|
|
|
.flex-row {
|
2016-08-22 13:21:08 -04:00
|
|
|
width: $cols9;
|
2016-06-15 09:34:15 -04:00
|
|
|
}
|
|
|
|
}
|
2016-05-10 00:54:46 -04:00
|
|
|
}
|