From 86c236f361b6fd24eb2b496ab96a70c14fcdabd9 Mon Sep 17 00:00:00 2001 From: Yufan Lou Date: Tue, 18 Oct 2016 01:24:00 -0400 Subject: [PATCH] Make .pkg-nav position fixed Convenient to have the nav follow window. --- assets/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/style.css b/assets/style.css index 0ecbecd1..627fd741 100644 --- a/assets/style.css +++ b/assets/style.css @@ -171,6 +171,7 @@ pre { padding: 20px; margin: 20px 20px 20px 40px; border-left: 1px solid #eeeeee; + position: fixed; } .pkg-nav h2 { @@ -319,4 +320,4 @@ Not really any of those on the website though AFAIK. :not(pre) > code::before, :not(pre) > code::after { letter-spacing: -0.2em; content: "\00a0"; -} \ No newline at end of file +}