Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e96a50

Browse files
committed
add css for code blocks
1 parent 5b21e17 commit 2e96a50

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

css/main.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,3 +564,16 @@ table tr th :last-child,
564564
table tr td :last-child {
565565
margin-bottom: 0;
566566
}
567+
568+
/* --- Code blocks --- */
569+
570+
pre {
571+
font-size: 16px;
572+
line-height: 1.5em;
573+
background: #FAFAFA;
574+
background-image: linear-gradient(#FAFAFA 50%, #FDFDFD 50%);
575+
background-position: 0px 10px;
576+
background-repeat: repeat;
577+
background-size: 3em 3em;
578+
border-left: 7px solid #444;
579+
}

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)