mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-16 17:52:29 +02:00
fix(v2): keep up with infima updates
This commit is contained in:
parent
9aa66ddac6
commit
2191fd662c
7 changed files with 13 additions and 26 deletions
|
@ -30,12 +30,12 @@ function DocBody(props) {
|
||||||
{language && <meta name="docsearch:language" content={language} />}
|
{language && <meta name="docsearch:language" content={language} />}
|
||||||
{version && <meta name="docsearch:version" content={version} />}
|
{version && <meta name="docsearch:version" content={version} />}
|
||||||
</Head>
|
</Head>
|
||||||
<div className="container margin-bottom--xl">
|
<div className="container margin-bottom--lg">
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col col--8 col--offset-2">
|
<div className="col col--8 col--offset-2">
|
||||||
<h1 className="margin-vert--xl">{metadata.title}</h1>
|
<h1 className="margin-vert--lg">{metadata.title}</h1>
|
||||||
<DocContents />
|
<DocContents />
|
||||||
<div className="margin-vert--xl">
|
<div className="margin-vert--lg">
|
||||||
<DocsPaginator />
|
<DocsPaginator />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -9,7 +9,7 @@ import React from 'react';
|
||||||
|
|
||||||
function Footer() {
|
function Footer() {
|
||||||
return (
|
return (
|
||||||
<footer className="footer footer--dark">
|
<footer className="footer">
|
||||||
<div className="container">
|
<div className="container">
|
||||||
<div className="row footer__links">
|
<div className="row footer__links">
|
||||||
<div className="col">
|
<div className="col">
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-top: var(--navbar-height);
|
padding-top: var(--ifm-navbar-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--color-primary: #25c2a0 !important;
|
--ifm-color-primary: #25c2a0 !important;
|
||||||
--color-primary-dark: #21ad8e !important;
|
--ifm-color-primary-dark: #21ad8e !important;
|
||||||
--color-primary-darker: #1d977d !important;
|
--ifm-color-primary-darker: #1d977d !important;
|
||||||
--color-primary-darkerer: #0c4236 !important;
|
--ifm-color-primary-darkerer: #0c4236 !important;
|
||||||
--color-primary-light: #55dfc1 !important;
|
--ifm-color-primary-light: #55dfc1 !important;
|
||||||
--color-primary-lighter: #55dfc1 !important;
|
--ifm-color-primary-lighter: #55dfc1 !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,6 @@
|
||||||
position: fixed;
|
position: fixed;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
top: var(--navbar-height);
|
top: var(--ifm-navbar-height);
|
||||||
width: 20rem;
|
width: 20rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
import React, {useEffect} from 'react';
|
import React, {useEffect} from 'react';
|
||||||
import canny from '../../scripts/canny';
|
import canny from '../../scripts/canny';
|
||||||
|
|
||||||
import styles from './styles.module.css';
|
|
||||||
|
|
||||||
const BOARD_TOKEN = '054e0e53-d951-b14c-7e74-9eb8f9ed2f91';
|
const BOARD_TOKEN = '054e0e53-d951-b14c-7e74-9eb8f9ed2f91';
|
||||||
|
|
||||||
function Feedback() {
|
function Feedback() {
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
/**
|
|
||||||
* Copyright (c) 2017-present, Facebook, Inc.
|
|
||||||
*
|
|
||||||
* This source code is licensed under the MIT license found in the
|
|
||||||
* LICENSE file in the root directory of this source tree.
|
|
||||||
*/
|
|
||||||
|
|
||||||
.feedbackPage {
|
|
||||||
margin: 64px auto;
|
|
||||||
max-width: 1024px;
|
|
||||||
}
|
|
|
@ -10,7 +10,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.sectionAlt {
|
.sectionAlt {
|
||||||
background-color: #f5f6f7;
|
background-color: var(--ifm-color-emphasis-inverse-alpha-30);
|
||||||
}
|
}
|
||||||
|
|
||||||
.sectionInner {
|
.sectionInner {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue