Skip to content

Commit bfc22ea

Browse files
committed
add css for code blocks
1 parent 1fd1e4f commit bfc22ea

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

css/main.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,3 +584,16 @@ table tr th :last-child,
584584
table tr td :last-child {
585585
margin-bottom: 0;
586586
}
587+
588+
/* --- Code blocks --- */
589+
590+
pre {
591+
font-size: 16px;
592+
line-height: 1.5em;
593+
background: #FAFAFA;
594+
background-image: linear-gradient(#FAFAFA 50%, #FDFDFD 50%);
595+
background-position: 0px 10px;
596+
background-repeat: repeat;
597+
background-size: 3em 3em;
598+
border-left: 7px solid #444;
599+
}

css/pygment_highlights.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.highlight { background: #ffffff; }
1+
/* .highlight { background: #ffffff; } Dean commented out */
22
.highlight pre { background-color: #fff; font-size: 16px }
33
.highlight .c { color: #999988; font-style: italic } /* Comment */
44
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */

0 commit comments

Comments
 (0)