article style update

This commit is contained in:
tmshv committed 2020-02-21 20:16:23 +03:00
1 parent 7656f44b0b
commit bed0548909
2 files changed
+5 -15

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ export interface IPageProps {
}
export const Page: React.FC<IPageProps> = props => (
<div className={'Article Article--cloud'}>
<div className={'Article'}>
<div className={'Article-Body'}>
<Html
html={props.children}
+4 -14
View File
@@ -2,20 +2,17 @@
--article-line-height: 1.5em;
--article-quote-padding: var(--half-margin);
--article-quote-font-size: 1.25em;
--article-head-margin-bottom: var(--small-margin);
hyphens: auto;
margin-bottom: var(--post-margin);
&-Head {
margin-bottom: 1.25em;
}
h1 {
margin-bottom: var(--article-head-margin-bottom);
}
}
h1 {
margin-bottom: var(--size-s);
}
&-Body {
--text-margin: 10px;
@@ -78,13 +75,6 @@
background: var(--dark-color);
}
}
&--cloud {
h1 {
--article-head-margin-bottom: var(--single-margin);
margin-bottom: var(--article-head-margin-bottom);
}
}
}
@media (max-width: var(--mobile-width)) {