修正prism css

This commit is contained in:
结发受长生 2019-05-11 01:10:51 +08:00
parent a0a5800024
commit ed816bb30a
2 changed files with 3 additions and 4 deletions

View File

@ -170,9 +170,7 @@
margin-top: 10px; margin-top: 10px;
padding: 5px 15px; padding: 5px 15px;
overflow-x: auto; overflow-x: auto;
color: #657b83;
border: 1px solid #ccc; border: 1px solid #ccc;
text-shadow: 0 1px #444;
font-family: Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace; font-family: Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace;
code{ code{
font-size: 14px; font-size: 14px;

View File

@ -29,6 +29,7 @@
.article-entry .highlight { .article-entry .highlight {
border-radius: 4px; border-radius: 4px;
background-color: #2a2a2a;
pre { pre {
border: none; border: none;
margin: 0; margin: 0;
@ -50,7 +51,7 @@
} }
} }
&.code { &.code {
background-color: #363636; background-color: #2a2a2a;
padding: 10px; padding: 10px;
} }
} }
@ -122,7 +123,7 @@
text-decoration: underline; text-decoration: underline;
} }
pre .comment { pre .comment {
color: #75715e; color: #368022;
} }
pre .keyword, pre .keyword,
pre .function .keyword, pre .function .keyword,