mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +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 **/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue