[yelp-xsl] Hide sidebar by default at 720px
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] Hide sidebar by default at 720px
- Date: Tue, 29 Dec 2020 16:06:13 +0000 (UTC)
commit e141af8348f67d5b46fcb383769e4e10a2435d79
Author: Shaun McCance <shaunm redhat com>
Date: Tue Dec 29 11:05:54 2020 -0500
Hide sidebar by default at 720px
xslt/common/css/core.css.tmpl | 5 +++++
1 file changed, 5 insertions(+)
---
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; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]