mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
Improve code block appearance (#609)
This commit is contained in:
parent
7ea0f5a8cf
commit
327d044362
2 changed files with 7 additions and 5 deletions
|
@ -740,13 +740,15 @@ code {
|
|||
}
|
||||
|
||||
pre code {
|
||||
display:block;
|
||||
display: block;
|
||||
margin: 20px 0;
|
||||
padding:0.5em;
|
||||
border-left: 4px solid $primaryColor;
|
||||
font-family: "SFMono-Regular",source-code-pro,Menlo,Monaco,Consolas,"Roboto Mono","Droid Sans Mono","Liberation Mono",Consolas,"Courier New",Courier,monospace;
|
||||
font-size: 13px;
|
||||
overflow-x:auto;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.hljs {
|
||||
padding: 1.25rem 1.5rem;
|
||||
}
|
||||
|
||||
/** GitHub **/
|
||||
|
|
|
@ -171,7 +171,7 @@ const siteConfig = {
|
|||
translationRecruitingLink: 'https://crowdin.com/project/docusaurus',
|
||||
copyright: 'Copyright © ' + new Date().getFullYear() + ' Facebook Inc.',
|
||||
highlight: {
|
||||
theme: 'solarized-dark',
|
||||
theme: 'atom-one-dark',
|
||||
},
|
||||
scripts: ['https://buttons.github.io/buttons.js'],
|
||||
gaTrackingId: 'UA-44373548-31',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue