ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=4d7ca42918c85347d0d4f1ad806b1a7dcd62b3ad

commit 4d7ca42918c85347d0d4f1ad806b1a7dcd62b3ad
Author: Andy Williams <a...@andywilliams.me>
Date:   Tue Oct 24 16:48:24 2017 +0100

    don't lose sidebars on mobile
---
 public_html/lib/tpl/e/css/modifications.css | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/public_html/lib/tpl/e/css/modifications.css 
b/public_html/lib/tpl/e/css/modifications.css
index 632e406a..7804ac08 100644
--- a/public_html/lib/tpl/e/css/modifications.css
+++ b/public_html/lib/tpl/e/css/modifications.css
@@ -84,9 +84,17 @@ h1, h2, h3, h4, h5, h6,
    display: block;
 }
 
-@media screen and (max-width: 993px) {
+@media (min-width: 768px) and (max-width: 993px) {
    .bs-sidebar {
-      display: none;
+      margin-top: 50px;
+   }
+}
+
+@media screen and (max-width: 768px) {
+   .bs-sidebar {
+      width: 100%;
+      margin: 15px 0;
+      padding: 0;
    }
 }
 

-- 


Reply via email to