From 69c2df57f662f53c56b2f3555d0937e241b8d02b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 23 Mar 2022 15:36:19 +0300 Subject: hide the sidebar separator on wide screens --- assets/css/jekyll-theme/utils.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'assets') diff --git a/assets/css/jekyll-theme/utils.css b/assets/css/jekyll-theme/utils.css index 8903282..f7c4d6f 100644 --- a/assets/css/jekyll-theme/utils.css +++ b/assets/css/jekyll-theme/utils.css @@ -13,3 +13,12 @@ html * { max-height: 1000000px; } +/* If the screen is wide enough to have the sidebar stacked horizontally, + * hide the separator bar. */ +@media (min-width: 992px) { + /* 992px is the -md- width. The sidebar is stacked horizontally on -md- or + * wider. */ + .sidebar-sep { + display: none; + } +} -- cgit v1.2.3