mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
Default CSS: avoid padding and color if monobackgroundcolor not given.
This makes the default more austere, while putting the padded, colored code elements within easy reach.
This commit is contained in:
@@ -81,16 +81,12 @@
|
||||
}
|
||||
code {
|
||||
font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace;
|
||||
background-color: #f0f0f0;
|
||||
font-size: 85%;
|
||||
margin: 0;
|
||||
padding: .2em .4em;
|
||||
}
|
||||
pre {
|
||||
margin: 1.7em 0;
|
||||
line-height: 1.5em;
|
||||
padding: 1em;
|
||||
background-color: #f0f0f0;
|
||||
overflow: auto;
|
||||
}
|
||||
pre code {
|
||||
|
||||
Reference in New Issue
Block a user