Skip to content

Commit

Permalink
CSS: Add highlighting for inline keywords
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Krizek <tomas.krizek@mailbox.org>
  • Loading branch information
Tomas Krizek committed Mar 3, 2017
1 parent 864379d commit 631bda4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions _sass/jekyll-theme-hacker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,15 @@ pre {
overflow-y: hidden;
}

code.highlighter-rouge {
background: rgba(0,0,0,0.9);
border: 1px solid rgba(255, 255, 255, 0.15);
padding: 0px 3px;
margin: 0px -3px;
color: #aa759f;
border-radius: 2px;
}

table {
width: 100%;
margin: 0 0 20px 0;
Expand Down
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: default
---

Text can be **bold**, _italic_, or ~~strikethrough~~.
Text can be **bold**, _italic_, ~~strikethrough~~ or `keyword`.

[Link to another page](another-page).

Expand Down

0 comments on commit 631bda4

Please sign in to comment.