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

Commit 8ab4a4e

Browse files
author
Cayle Sharrock
committed
Make template Jekyll 3.0 compatible
1 parent caf5cc0 commit 8ab4a4e

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

‎_config.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ safe: false
77

88
### site serving configuration ###
99
exclude: [CNAME, README.md, .gitignore]
10-
permalink: / ## disables post output
10+
permalink: /:title ## disables post output
1111
timezone: null
1212
lsi: false
1313
markdown: kramdown
14-
highlighter: pygments
1514

1615

1716
### content configuration ###

‎_includes/css/base.css‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -267,26 +267,26 @@
267267
================================================== */
268268

269269

270-
.highlighttable {
270+
.highlight {
271271
color: #f8f8f2;
272272
table-layout: fixed;
273273
white-space: nowrap;
274274
width:90%;
275275
}
276276

277-
.highlighttable pre, .highlighttable code { display:block; margin:0; padding:0; background: none; overflow:auto; word-wrap: normal; }
277+
.highlight pre, .highlight code { display:block; margin:0; padding:0; background: none; overflow:auto; word-wrap: normal; }
278278

279279
.highlight, .linenodiv {
280280
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIHWPQ1dU1BgABzQC7XXMTYQAAAABJRU5ErkJggg==);
281281
display:block;
282282
padding: 10px;
283283
margin-bottom:20px;
284284
}
285-
.linenodiv, .lineno { color: #ccc; }
285+
.gutter, .lineno { color: #ccc; }
286286

287-
td.linenos { width: 40px; }
287+
td.gl { width: 40px; }
288288

289-
.linenodiv {
289+
.gutter {
290290
border-right: none;
291291
padding: 10px;
292292
text-align: right;

‎_includes/css/main.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ html { box-sizing: border-box; }
3131
code, pre { font-family: Monaco, Menlo, Consolas, "Courier New", monospace; }
3232

3333
/* spesifically inline code */
34-
code {
34+
code,pre {
3535
background: rgba(255,255,255,0.2);
3636
display: inline;
3737
word-wrap: break-word;
@@ -47,7 +47,7 @@ pre {
4747
word-wrap: break-word;
4848
}
4949

50-
.highlighttable { margin:20px 5%; }
50+
.highlight { margin:20px 5%; }
5151

5252

5353
/* ----- base elements ----- */

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /