Mobile CSS update - adds scrolling inertia (#38443)

pull/38446/head
scottb 7 years ago committed by GitHub
parent a8953fcac4
commit d1d15dd025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)}

Loading…
Cancel
Save