style structure refactoring: + style/components, style.scss main file; moving gallery-item.scss -> ./components

This commit is contained in:
tmshv committed 2016-02-22 00:09:32 +03:00
1 parent 477b9916f2
commit d693615eaa
2 files changed
+1

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
@import "variables";
$img-max-width: 500px;
.gallery-item {
width: calc(33% - #{$single-margin});
margin-bottom: $single-margin;
img {
width: 100%;
max-width: $img-max-width;
}
}
@media screen and (max-width: $mobile-width) {
.gallery-item {
margin: 0 0 1em;
}
}