mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-14 08:42:31 +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} />}
|
||||
{version && <meta name="docsearch:version" content={version} />}
|
||||
</Head>
|
||||
<div className="container margin-bottom--xl">
|
||||
<div className="container margin-bottom--lg">
|
||||
<div className="row">
|
||||
<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 />
|
||||
<div className="margin-vert--xl">
|
||||
<div className="margin-vert--lg">
|
||||
<DocsPaginator />
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@ import React from 'react';
|
|||
|
||||
function Footer() {
|
||||
return (
|
||||
<footer className="footer footer--dark">
|
||||
<footer className="footer">
|
||||
<div className="container">
|
||||
<div className="row footer__links">
|
||||
<div className="col">
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
body {
|
||||
margin: 0;
|
||||
padding-top: var(--navbar-height);
|
||||
padding-top: var(--ifm-navbar-height);
|
||||
}
|
||||
|
||||
:root {
|
||||
--color-primary: #25c2a0 !important;
|
||||
--color-primary-dark: #21ad8e !important;
|
||||
--color-primary-darker: #1d977d !important;
|
||||
--color-primary-darkerer: #0c4236 !important;
|
||||
--color-primary-light: #55dfc1 !important;
|
||||
--color-primary-lighter: #55dfc1 !important;
|
||||
--ifm-color-primary: #25c2a0 !important;
|
||||
--ifm-color-primary-dark: #21ad8e !important;
|
||||
--ifm-color-primary-darker: #1d977d !important;
|
||||
--ifm-color-primary-darkerer: #0c4236 !important;
|
||||
--ifm-color-primary-light: #55dfc1 !important;
|
||||
--ifm-color-primary-lighter: #55dfc1 !important;
|
||||
}
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
position: fixed;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
top: var(--navbar-height);
|
||||
top: var(--ifm-navbar-height);
|
||||
width: 20rem;
|
||||
}
|
||||
|
|
|
@ -8,8 +8,6 @@
|
|||
import React, {useEffect} from 'react';
|
||||
import canny from '../../scripts/canny';
|
||||
|
||||
import styles from './styles.module.css';
|
||||
|
||||
const BOARD_TOKEN = '054e0e53-d951-b14c-7e74-9eb8f9ed2f91';
|
||||
|
||||
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 {
|
||||
background-color: #f5f6f7;
|
||||
background-color: var(--ifm-color-emphasis-inverse-alpha-30);
|
||||
}
|
||||
|
||||
.sectionInner {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue