Mobile CSS update - adds scrolling inertia (#38443) (#38445)

This commit is contained in:
scottb 2018-04-07 16:47:31 -07:00 committed by GitHub
parent 2895daacdb
commit 57931804ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1690,7 +1690,7 @@ code.code-large,.rst-content tt.code-large{font-size:90%}
}
@media screen and (min-width: 768px){.wy-nav-content-wrap{margin-top: 0px;margin-left: 300px;width: calc(100% - 300px);float:left;background:#fcfcfc;min-height:100%}
}
.wy-nav-content{padding:1.618em 3.236em;height:100%;margin:auto;overflow-x: hidden;overflow-y: scroll;position: fixed;width: inherit;padding-bottom: 50px}
.wy-nav-content{padding:1.618em 3.236em;height:100%;margin:auto;overflow-x: hidden;overflow-y: scroll;position: fixed;width: inherit;padding-bottom: 50px;-webkit-overflow-scrolling: touch}
.wy-body-mask{position:fixed;width:100%;height:100%;background:rgba(0,0,0,0.2);display:none;z-index:499}
.wy-body-mask.on{display:block}
footer{color:gray}
@ -1715,7 +1715,7 @@ footer span.commit code,footer span.commit .rst-content tt,.rst-content footer s
.wy-side-nav-search{width:auto}
.wy-menu.wy-menu-vertical{width:auto}
.wy-nav-content-wrap{margin-left:0;top:15px;}
.wy-nav-content-wrap .wy-nav-content{padding:1.618em}
.wy-nav-content-wrap .wy-nav-content{padding:1.618em;padding-bottom: 100px}
.wy-nav-content-wrap.shift{position:fixed;min-width:100%;left:85%;top:0;height:100%;overflow:hidden}
}
@media screen and (min-width: 1100px){.wy-nav-content-wrap{background:rgba(0,0,0,0.05)}