style structure refactoring: + style/components, style.scss main file; moving gallery-item.scss -> ./components
This commit is contained in:
1 parent
477b9916f2
commit
d693615eaa
2 files changed
+1
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user