Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2e96a50

Browse files
committed
add css for code blocks
1 parent5b21e17 commit2e96a50

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
tabletrtd: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(#FAFAFA50%,#FDFDFD50%);
575+
background-position:0px10px;
576+
background-repeat: repeat;
577+
background-size:3em3em;
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
.highlightpre {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)

[8]ページ先頭

©2009-2025 Movatter.jp