aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/assets/css
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-23 15:36:19 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-23 15:36:19 +0300
commit69c2df57f662f53c56b2f3555d0937e241b8d02b (patch)
tree1c2f1173d0d3f8421245283e5d738e34346eb6f7 /assets/css
parentseparate content from sidebar automatically (diff)
downloadjekyll-theme-69c2df57f662f53c56b2f3555d0937e241b8d02b.tar.gz
jekyll-theme-69c2df57f662f53c56b2f3555d0937e241b8d02b.zip
hide the sidebar separator on wide screens
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/jekyll-theme/utils.css9
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;
+ }
+}