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

+2 -4
View File
@@ -1,5 +1,3 @@
@import "../variables";
.kazimir__image {
--kazimir-caption-margin: 20px;
@@ -17,7 +15,7 @@
}
figure {
margin: 0 0 $single-margin;
margin: 0 0 var(--single-margin);
}
figcaption {
@@ -31,7 +29,7 @@
}
}
@media screen and (max-width: $mobile-width) {
@media screen and (max-width: var(--mobile-width)) {
.kazimir__image {
--kazimir-caption-margin: 10px;
}
+2 -4
View File
@@ -1,12 +1,10 @@
@import "../variables";
.kazimir__video {
width: 100%;
height: 0;
position: relative;
padding-bottom: $embed-video-ratio;
padding-bottom: var(--embed-video-ratio);
margin-bottom: $single-margin;
margin-bottom: var(--single-margin);
iframe {
width: 100%;