diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-23 15:36:19 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-23 15:36:19 +0300 |
commit | 69c2df57f662f53c56b2f3555d0937e241b8d02b (patch) | |
tree | 1c2f1173d0d3f8421245283e5d738e34346eb6f7 /assets/css | |
parent | separate content from sidebar automatically (diff) | |
download | jekyll-theme-69c2df57f662f53c56b2f3555d0937e241b8d02b.tar.gz jekyll-theme-69c2df57f662f53c56b2f3555d0937e241b8d02b.zip |
hide the sidebar separator on wide screens
Diffstat (limited to '')
-rw-r--r-- | assets/css/jekyll-theme/utils.css | 9 |
1 files changed, 9 insertions, 0 deletions
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; + } +} |