Skip to content

Commit

Permalink
tried Vimux#162
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ivanov <[email protected]>
  • Loading branch information
contributorpw committed Jan 5, 2020
1 parent 91fe119 commit 95c4592
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ baseurl = "/"
title = "Mainroad"
languageCode = "en-us"
paginate = "10" # Number of posts per page
theme = "mainroad"
theme = "Mainroad"
disqusShortname = "" # Enable comments by entering your Disqus shortname
googleAnalytics = "" # Enable Google Analytics by entering your tracking id

Expand All @@ -20,6 +20,8 @@ googleAnalytics = "" # Enable Google Analytics by entering your tracking id
authorbox = true
post_navigation = true
post_meta = ["date", "categories"] # Order of post meta information
customCSS = ["/css/github.css","/css/custom.css"]
customJS = ["/js/highlight.pack.js"]

[Params.sidebar]
home = "right" # Configure layout for home page
Expand Down
6 changes: 6 additions & 0 deletions exampleSite/static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/* code style matching */

.hljs {
padding: 0;
background: #f0f3f3;
}
100 changes: 100 additions & 0 deletions exampleSite/static/css/github.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
/*
github.com style (c) Vasily Polovnyov <[email protected]>
*/

.hljs {
display: block;
overflow-x: auto;
padding: 0;
color: #333;
/* background: #f8f8f8; */
background: #f0f3f3;
}

.hljs-comment,
.hljs-quote {
color: #998;
font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
color: #333;
font-weight: bold;
}

.hljs-number,
.hljs-literal,
.hljs-variable,
.hljs-template-variable,
.hljs-tag .hljs-attr {
color: #008080;
}

.hljs-string,
.hljs-doctag {
color: #d14;
}

.hljs-title,
.hljs-section,
.hljs-selector-id {
color: #900;
font-weight: bold;
}

.hljs-subst {
font-weight: normal;
}

.hljs-type,
.hljs-class .hljs-title {
color: #458;
font-weight: bold;
}

.hljs-tag,
.hljs-name,
.hljs-attribute {
color: #000080;
font-weight: normal;
}

.hljs-regexp,
.hljs-link {
color: #009926;
}

.hljs-symbol,
.hljs-bullet {
color: #990073;
}

.hljs-built_in,
.hljs-builtin-name {
color: #0086b3;
}

.hljs-meta {
color: #999;
font-weight: bold;
}

.hljs-deletion {
background: #fdd;
}

.hljs-addition {
background: #dfd;
}

.hljs-emphasis {
font-style: italic;
}

.hljs-strong {
font-weight: bold;
}
4 changes: 4 additions & 0 deletions exampleSite/static/js/highlight.pack.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 95c4592

Please sign in to comment.