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

+9 -11
View File
@@ -1,5 +1,3 @@
@import "../variables";
.Article {
--article-line-height: 1.75em;
--article-quote-padding: var(--half-margin);
@@ -8,7 +6,7 @@
hyphens: auto;
margin-bottom: $post-margin;
margin-bottom: var(--post-margin);
&-Head {
margin-bottom: 1.25em;
@@ -29,8 +27,8 @@
--text-margin: 10px;
ul, ol {
margin-left: $half-margin;
margin-bottom: $single-margin;
margin-left: var(--half-margin);
margin-bottom: var(--single-margin);
li {
margin-bottom: var(--half-margin);
@@ -54,8 +52,8 @@
blockquote {
background-color: hsl(215, 10%, 96%);
padding: var(--article-quote-padding);
margin: $single-margin 0;
font-family: $title-font;
margin: var(--single-margin) 0;
font-family: var(--title-font);
font-style: italic;
font-weight: normal;
font-size: var(--article-quote-font-size);
@@ -63,13 +61,13 @@
border-radius: var(--block-border-radius);
cite {
margin-top: $single-margin;
margin-top: var(--single-margin);
display: block;
color: #aaa;
font-size: initial;
font-family: $text-font;
font-family: var(--text-font);
text-align: right;
margin-right: $single-margin;
margin-right: var(--single-margin);
}
p {
@@ -93,7 +91,7 @@
}
}
@media (max-width: $mobile-width) {
@media (max-width: var(--mobile-width)) {
.Article {
--article-line-height: 1.5em;
--article-quote-padding: .5em;