scss variables converted to css variables

This commit is contained in:
tmshv committed 2018-05-23 10:22:28 +03:00
1 parent 6410409d47
commit c9bec06fef
31 files changed
+237 -313

No files matched your search

+3 -9
View File
@@ -1,14 +1,8 @@
@import "../variables";
$img-max-width: 500px;
$double-margin-half: $double-margin / 2;
$percentage: 25%;
.gallery-item {
box-sizing: padding-box;
padding: 0;
margin: 0 $single-margin $double-margin;
margin: 0 var(--single-margin) var(--double-margin);
a.invisible {
border-bottom: none;
@@ -16,8 +10,8 @@ $percentage: 25%;
}
}
@media screen and (max-width: $mobile-width) {
@media screen and (max-width: var(--mobile-width)) {
.gallery-item {
margin: 0 0 $double-margin;
margin: 0 0 var(--double-margin);
}
}