aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/assets/css
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-04-05 13:57:04 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-04-05 14:17:46 +0200
commitbe4c13aacdfffdb72b4a3a980c3be7957a19cf7d (patch)
tree0d603fcdc33d74a33dc65e56e62e55f7e0d6b3e9 /assets/css
parent_layouts: add nosidebar layout (diff)
downloadjekyll-theme-be4c13aacdfffdb72b4a3a980c3be7957a19cf7d.tar.gz
jekyll-theme-be4c13aacdfffdb72b4a3a980c3be7957a19cf7d.zip
shell: style scrollbars
Diffstat (limited to '')
-rw-r--r--assets/css/jekyll-theme/shell.css18
1 files changed, 18 insertions, 0 deletions
diff --git a/assets/css/jekyll-theme/shell.css b/assets/css/jekyll-theme/shell.css
index 215d610..e68543b 100644
--- a/assets/css/jekyll-theme/shell.css
+++ b/assets/css/jekyll-theme/shell.css
@@ -50,3 +50,21 @@
.shell-out {
border-width: 0 0 thin 0;
}
+
+/* Scrollbars. */
+/* Firefox: */
+.shell * {
+ scrollbar-width: thin;
+ scrollbar-color: #ccc #f0f0f0;
+}
+/* Chrome: */
+.shell *::-webkit-scrollbar {
+ width: 4px;
+ height: 4px;
+}
+.shell *::-webkit-scrollbar-track {
+ background: #f0f0f0;
+}
+.shell *::-webkit-scrollbar-thumb {
+ background: #ccc;
+}