Skip to content

Commit

Permalink
Added syntax coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
Rackover committed Mar 4, 2021
1 parent 532e900 commit b32214d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/layout/default.pug
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ html
head
title #{website.name}
link(rel="stylesheet", href="/res/css/font-awesome-all.css")
link(rel="stylesheet", href="/res/css/highlight-js.min.css")
block head
link(rel="stylesheet", href=website.links.css)
link(rel="icon", type="image/png", href=website.links.favicon)
Expand Down
1 change: 1 addition & 0 deletions public/res/css/highlight-js.min.css

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

12 changes: 12 additions & 0 deletions public/res/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,21 @@ body{
}

.content pre code{
color:inherit;
background-color: inherit;
border-radius:inherit;
}

.cm-comment{
font-family: monospace;
}

.content pre:not(.hljs) code{
color: #AA0000;
padding:15px;
display:block;
background-color: #FFE6E68C;
border-radius:4px;
}

.content table td, .content table tr, .content table th{
Expand Down

0 comments on commit b32214d

Please sign in to comment.