fixed #30
This commit is contained in:
parent
bff6e053a3
commit
fe28053a18
1 changed files with 9 additions and 9 deletions
|
@ -170,7 +170,7 @@ const headerCSS = css`
|
||||||
h4,
|
h4,
|
||||||
h5,
|
h5,
|
||||||
h6 {
|
h6 {
|
||||||
margin-top: 2.5rem;
|
margin-top: -3rem;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
|
@ -197,9 +197,11 @@ const katexCSS = css`
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
// Theme that will be used throughout the website
|
/**
|
||||||
// wrapping it using css because prettier extension does not work well with styled-components
|
* Theme that will be used throughout the website
|
||||||
// https://github.com/styled-components/vscode-styled-components/issues/175
|
* wrapping it using css because prettier extension does not work well with styled-components
|
||||||
|
* https://github.com/styled-components/vscode-styled-components/issues/175
|
||||||
|
*/
|
||||||
const globalStyle = css`
|
const globalStyle = css`
|
||||||
${scrollbarCSS}
|
${scrollbarCSS}
|
||||||
${codeCSS}
|
${codeCSS}
|
||||||
|
@ -245,11 +247,9 @@ const globalStyle = css`
|
||||||
}
|
}
|
||||||
|
|
||||||
// header anchor offset to compensate for navbar
|
// header anchor offset to compensate for navbar
|
||||||
:target:before {
|
a.header-anchor {
|
||||||
content: "";
|
display: inline-block;
|
||||||
display: block;
|
margin-top: 4.2rem;
|
||||||
height: 4rem;
|
|
||||||
margin: 4rem 0 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue