Commit 71ce551b authored by Ingo Heimbach's avatar Ingo Heimbach

Optimized code display for HTML output

parent 0bbcc5e2
...@@ -292,17 +292,12 @@ pre { ...@@ -292,17 +292,12 @@ pre {
font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
font-size: 12px; font-size: 12px;
color: #333333; color: #333333;
-webkit-border-radius: 3px; border: 1px solid #ccc;
-moz-border-radius: 3px;
border-radius: 3px;
} }
code { code {
padding: 2px 4px; padding: 2px 4px;
color: #d14;
white-space: nowrap; white-space: nowrap;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
} }
pre { pre {
...@@ -315,12 +310,7 @@ pre { ...@@ -315,12 +310,7 @@ pre {
word-wrap: break-word; word-wrap: break-word;
white-space: pre; white-space: pre;
white-space: pre-wrap; white-space: pre-wrap;
background-color: #f5f5f5; background-color: #ffffff;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
} }
pre.prettyprint { pre.prettyprint {
...@@ -968,6 +958,9 @@ ul.auto-toc { ...@@ -968,6 +958,9 @@ ul.auto-toc {
pre.code, pre.code,
code { code {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
background-color: #f0f0f0 background-color: #f0f0f0
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment