From 5c2b18120b4b5f855ae8731872a117d16f029591 Mon Sep 17 00:00:00 2001 From: Jon Knapp Date: Thu, 4 Dec 2014 10:02:22 -0800 Subject: [PATCH] Added simple webkit-scrollbar CSS --- github-dark.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/github-dark.css b/github-dark.css index e28c8d919..f41930e2e 100644 --- a/github-dark.css +++ b/github-dark.css @@ -1611,6 +1611,19 @@ pre, .markdown-format pre, .markdown-body pre, .markdown-format .highlight pre, .markdown-body .highlight pre, body.blog pre, #facebox pre, .blob-code-context, .blob-num-context, .blob-expanded, .terminal, .copyable-terminal, + /* == Scrollbar == */ + body::-webkit-scrollbar { + width:1em; + } + body::-webkit-scrollbar-track { + background-color: #222; + } + body::-webkit-scrollbar-thumb { + background-color: #333; + border: 1px solid #444; + border-radius: 3px; + } + /*[[syntax-theme]]*/ /* grunt build - remove to end of file */