diff --git a/v2/lib/theme/Docs/index.js b/v2/lib/theme/Docs/index.js
index cb6881797d..538545e706 100644
--- a/v2/lib/theme/Docs/index.js
+++ b/v2/lib/theme/Docs/index.js
@@ -33,9 +33,14 @@ export default class Docs extends React.Component {
docsSidebars={docsSidebars}
metadata={metadata}
/>
-
- {this.props.children}
-
+
+
{this.props.children}
+
+
+
diff --git a/v2/lib/theme/Docs/styles.css b/v2/lib/theme/Docs/styles.css
index fbc2185b31..fc9df832e2 100644
--- a/v2/lib/theme/Docs/styles.css
+++ b/v2/lib/theme/Docs/styles.css
@@ -1,13 +1,20 @@
.mainContainer {
display: flex;
flex-direction: row;
- margin-bottom: 30px;
margin-left: auto;
margin-right: auto;
- margin-top: 40px;
justify-content: space-between;
}
-.docContent {
+.docContainer {
flex-grow: 1;
+ padding: 0 40px;
+}
+
+.docContent {
+ margin-bottom: 48px;
+}
+
+.paginatorContainer {
+ margin: 48px 0;
}
diff --git a/v2/lib/theme/DocsPaginator/index.js b/v2/lib/theme/DocsPaginator/index.js
index d220c52df2..13b6a5a0c3 100644
--- a/v2/lib/theme/DocsPaginator/index.js
+++ b/v2/lib/theme/DocsPaginator/index.js
@@ -1,23 +1,45 @@
import React from 'react';
import {Link} from 'react-router-dom';
+import styles from './styles.css';
+
export default class DocsPaginator extends React.Component {
render() {
const {docsMetadatas, metadata} = this.props;
return (
-
- {metadata.previous &&
- docsMetadatas[metadata.previous] && (
-
-
← {metadata.previous_title}
-
- )}
- {metadata.next &&
- docsMetadatas[metadata.next] && (
-
-
{metadata.next_title} →
-
- )}
+
+
+ {metadata.previous &&
+ docsMetadatas[metadata.previous] && (
+
+
{' '}
+
{metadata.previous_title}
+
+ )}
+
+
+ {metadata.next &&
+ docsMetadatas[metadata.next] && (
+
+
{metadata.next_title}{' '}
+
+
+ )}
+
);
}
diff --git a/v2/lib/theme/DocsPaginator/styles.css b/v2/lib/theme/DocsPaginator/styles.css
new file mode 100644
index 0000000000..a555199051
--- /dev/null
+++ b/v2/lib/theme/DocsPaginator/styles.css
@@ -0,0 +1,39 @@
+.paginatorContainer {
+ display: flex;
+ flex-direction: row;
+ justify-content: space-between;
+}
+
+.paginatorRightContainer {
+ text-align: right;
+}
+
+.paginatorLink {
+ background-color: #f2f3f5;
+ color: #000;
+ border-radius: 30px;
+ display: inline-block;
+ height: 1.5em;
+ text-decoration: none;
+ transition: 0.3s all ease-in-out;
+ padding: 12px 24px;
+}
+
+.paginatorLink:hover {
+ background-color: #00a388;
+ color: #fff;
+}
+
+.arrow {
+ fill: none;
+ height: 1.5em;
+ stroke: currentColor;
+ stroke-linejoin: round;
+ stroke-linecap: round;
+ stroke-width: 2;
+ width: 1.5em;
+}
+
+.label {
+ vertical-align: super;
+}
diff --git a/v2/lib/theme/Sidebar/styles.css b/v2/lib/theme/Sidebar/styles.css
index 36fc0f129a..61e43322a9 100644
--- a/v2/lib/theme/Sidebar/styles.css
+++ b/v2/lib/theme/Sidebar/styles.css
@@ -32,10 +32,10 @@
display: block;
padding: 8px 0;
text-decoration: none;
- transition: color .3s;
+ transition: color 0.3s;
}
.sidebarLink:hover,
.sidebarLinkActive {
- color: #2e8555;
+ color: #00a388;
}