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

Skip to content

Commit 8a6f631

Browse files
Cayle SharrockCarreau
Cayle Sharrock
authored andcommitted
Make template Jekyll 3.0 compatible
1 parent c619bb9 commit 8a6f631

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

_config.yml

+1-2
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

+5-5
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

+2-2
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)