add css for code blocks

This commit is contained in:
Dean Attali 2016-07-28 18:18:01 -07:00
parent 1fd1e4f28a
commit bfc22eafc9
2 changed files with 14 additions and 1 deletions

View File

@ -584,3 +584,16 @@ table tr th :last-child,
table tr td :last-child { table tr td :last-child {
margin-bottom: 0; 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;
}

View File

@ -1,4 +1,4 @@
.highlight { background: #ffffff; } /* .highlight { background: #ffffff; } Dean commented out */
.highlight pre { background-color: #fff; font-size: 16px } .highlight pre { background-color: #fff; font-size: 16px }
.highlight .c { color: #999988; font-style: italic } /* Comment */ .highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */