mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 23:57:22 +02:00
Rearrange custom.css line
This commit is contained in:
parent
2ad9b00929
commit
0dce734a1d
2 changed files with 9 additions and 5 deletions
|
@ -1 +1,5 @@
|
||||||
/* your custom css */
|
/* your custom css */
|
||||||
|
|
||||||
|
* {
|
||||||
|
border: 1px solid red;
|
||||||
|
}
|
|
@ -39,15 +39,15 @@ class Head extends React.Component {
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css"
|
href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css"
|
||||||
/>}
|
/>}
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href={this.props.config.baseUrl + "css/main.css"}
|
||||||
|
/>
|
||||||
{this.props.config.customCssFileName &&
|
{this.props.config.customCssFileName &&
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href={this.props.config.baseUrl + "css/" + this.props.config.customCssFileName}
|
href={this.props.config.baseUrl + "css/" + this.props.config.customCssFileName}
|
||||||
/>}
|
/>}
|
||||||
<link
|
|
||||||
rel="stylesheet"
|
|
||||||
href={this.props.config.baseUrl + "css/main.css"}
|
|
||||||
/>
|
|
||||||
<script async defer src="https://buttons.github.io/buttons.js" />
|
<script async defer src="https://buttons.github.io/buttons.js" />
|
||||||
</head>
|
</head>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue