From 631bda4e1853dc1bda65b381126a46bc70878427 Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Fri, 3 Mar 2017 19:21:19 +0100 Subject: [PATCH] CSS: Add highlighting for inline keywords Signed-off-by: Tomas Krizek --- _sass/jekyll-theme-hacker.scss | 9 +++++++++ index.md | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/_sass/jekyll-theme-hacker.scss b/_sass/jekyll-theme-hacker.scss index 3cc3d62..36ee0e6 100644 --- a/_sass/jekyll-theme-hacker.scss +++ b/_sass/jekyll-theme-hacker.scss @@ -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; diff --git a/index.md b/index.md index aa80142..8ee80b6 100644 --- a/index.md +++ b/index.md @@ -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).