article style update
This commit is contained in:
1 parent
7656f44b0b
commit
bed0548909
2 files changed
+5
-15
No files matched your search
@@ -8,7 +8,7 @@ export interface IPageProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const Page: React.FC<IPageProps> = props => (
|
export const Page: React.FC<IPageProps> = props => (
|
||||||
<div className={'Article Article--cloud'}>
|
<div className={'Article'}>
|
||||||
<div className={'Article-Body'}>
|
<div className={'Article-Body'}>
|
||||||
<Html
|
<Html
|
||||||
html={props.children}
|
html={props.children}
|
||||||
|
|||||||
@@ -2,20 +2,17 @@
|
|||||||
--article-line-height: 1.5em;
|
--article-line-height: 1.5em;
|
||||||
--article-quote-padding: var(--half-margin);
|
--article-quote-padding: var(--half-margin);
|
||||||
--article-quote-font-size: 1.25em;
|
--article-quote-font-size: 1.25em;
|
||||||
--article-head-margin-bottom: var(--small-margin);
|
|
||||||
|
|
||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
|
|
||||||
margin-bottom: var(--post-margin);
|
margin-bottom: var(--post-margin);
|
||||||
|
|
||||||
&-Head {
|
&-Head {
|
||||||
margin-bottom: 1.25em;
|
margin-bottom: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin-bottom: var(--article-head-margin-bottom);
|
margin-bottom: var(--size-s);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
&-Body {
|
&-Body {
|
||||||
--text-margin: 10px;
|
--text-margin: 10px;
|
||||||
@@ -78,13 +75,6 @@
|
|||||||
background: var(--dark-color);
|
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)) {
|
@media (max-width: var(--mobile-width)) {
|
||||||
|
|||||||
Reference in new issue
Block a user