non-playground doc page first draft
Reviewed By: danielbuechele Differential Revision: D6968540 fbshipit-source-id: c5d408adb1d11c429d72a0f180ce3154ae0922a6
This commit is contained in:
committed by
Facebook Github Bot
parent
c3de8016c0
commit
7e3136c347
@@ -4,4 +4,4 @@ title: "Litho"
|
|||||||
hasPlayground: false
|
hasPlayground: false
|
||||||
---
|
---
|
||||||
|
|
||||||
## Litho
|
## Litho
|
37
website/src/templates/index.css
Normal file
37
website/src/templates/index.css
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
.doc-block .markdown {
|
||||||
|
padding-top: 50px;
|
||||||
|
padding-bottom: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.doc-block .overview {
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.doc-block h1 {
|
||||||
|
color: #1C1E21;
|
||||||
|
font-size: 48px;
|
||||||
|
font-weight: 300;
|
||||||
|
line-height: 110%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.doc-block h2 {
|
||||||
|
color: #1C1E21;
|
||||||
|
font-size: 28px;
|
||||||
|
font-weight: 400;
|
||||||
|
line-height: 120%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.doc-block h3 {
|
||||||
|
color: #1C1E21;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 700;
|
||||||
|
line-height: 200%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.doc-block p {
|
||||||
|
color: #1C1E21;
|
||||||
|
line-height: 180%;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
@@ -13,17 +13,22 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Page from '../components/Page';
|
import Page from '../components/Page';
|
||||||
import Padded from '../components/Padded';
|
import Padded from '../components/Padded';
|
||||||
import {Icon} from 'antd';
|
import {Row, Col} from 'antd';
|
||||||
import Link from 'gatsby-link';
|
import Link from 'gatsby-link';
|
||||||
|
import './index.css';
|
||||||
|
|
||||||
export default ({pathContext}) => {
|
export default ({pathContext}) => {
|
||||||
return (
|
return (
|
||||||
<Page withSpacing>
|
<Page className="doc-block">
|
||||||
<Padded>
|
<Padded>
|
||||||
<Link to="/docs">
|
<Row>
|
||||||
<Icon type="left-circle-o" /> back to overview
|
<Col xl={16} lg={16} md={24} sm={24} xs={24}>
|
||||||
|
<div className="markdown" dangerouslySetInnerHTML={{__html: pathContext.html}} />
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
|
<Link to="/docs" className="overview">
|
||||||
|
BACK TO OVERVIEW
|
||||||
</Link>
|
</Link>
|
||||||
<div dangerouslySetInnerHTML={{__html: pathContext.html}} />
|
|
||||||
</Padded>
|
</Padded>
|
||||||
</Page>
|
</Page>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user