summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@redhat.com>2020-12-29 11:05:54 -0500
committerShaun McCance <shaunm@redhat.com>2020-12-29 11:05:54 -0500
commite141af8348f67d5b46fcb383769e4e10a2435d79 (patch)
treee62f08edc87c943568fc0cae9f8ccb695d4d6924
parentdf34ef05ebe8942604628e6ecf892fc5f7db19c1 (diff)
downloadyelp-xsl-e141af8348f67d5b46fcb383769e4e10a2435d79.tar.gz
Hide sidebar by default at 720px
-rw-r--r--xslt/common/css/core.css.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/xslt/common/css/core.css.tmpl b/xslt/common/css/core.css.tmpl
index daede214..9a0c4108 100644
--- a/xslt/common/css/core.css.tmpl
+++ b/xslt/common/css/core.css.tmpl
@@ -42,6 +42,11 @@ aside.sidebar {
padding: 20px 10px;
background: {{$color.bg.gray}}
}
+@media only screen and (max-width: 720px) {
+ aside.sidebar {
+ display: none;
+ }
+}
aside.sidebar-right { order: 3; }
aside.sidebar section { margin-top: 0; }
aside.sidebar * { margin-bottom: 20px; }