add css for code blocks
This commit is contained in:
parent
1fd1e4f28a
commit
bfc22eafc9
13
css/main.css
13
css/main.css
@ -584,3 +584,16 @@ table tr th :last-child,
|
||||
table tr td :last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* --- Code blocks --- */
|
||||
|
||||
pre {
|
||||
font-size: 16px;
|
||||
line-height: 1.5em;
|
||||
background: #FAFAFA;
|
||||
background-image: linear-gradient(#FAFAFA 50%, #FDFDFD 50%);
|
||||
background-position: 0px 10px;
|
||||
background-repeat: repeat;
|
||||
background-size: 3em 3em;
|
||||
border-left: 7px solid #444;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
.highlight { background: #ffffff; }
|
||||
/* .highlight { background: #ffffff; } Dean commented out */
|
||||
.highlight pre { background-color: #fff; font-size: 16px }
|
||||
.highlight .c { color: #999988; font-style: italic } /* Comment */
|
||||
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
||||
|
Loading…
Reference in New Issue
Block a user