mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
Improve display of pre in markdown content
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -5,7 +5,7 @@
|
||||
color:@page-color-2;
|
||||
}
|
||||
.book .book-body .page-wrapper .page-inner section.normal {
|
||||
padding: 25px;
|
||||
padding: 25px 0px;
|
||||
padding-top: 15px;
|
||||
color:@page-color;
|
||||
|
||||
@@ -278,27 +278,14 @@
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.highlight pre {
|
||||
color: hsl(204, 40%, 80%);
|
||||
background-color: hsl(204, 30%, 10%);
|
||||
border: 1px solid hsl(204, 30%, 10%);
|
||||
font-size: 16px;
|
||||
line-height: 1.5em;
|
||||
overflow: auto;
|
||||
padding: 20px;
|
||||
margin: 0 -20px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
pre {
|
||||
color: hsl(204, 40%, 80%);
|
||||
background-color: hsl(204, 30%, 10%);
|
||||
border: 1px solid hsl(204, 30%, 10%);
|
||||
font-size: 16px;
|
||||
font-size: inherit;
|
||||
line-height: 1.5em;
|
||||
overflow: auto;
|
||||
padding: 20px;
|
||||
margin: 0 -20px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user