diff --git a/_sass/_base.scss b/_sass/_base.scss index a1423ac..d8e192b 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -87,15 +87,6 @@ a { background: rgba(255,255,255,.10); } -/* scroll to top */ -#scroll-to-top { - position: fixed; - bottom: 20px; - right: 20px; - z-index: 99; - font-size: 40px; -} - /* feature include tweaks */ .feature-alert p:last-of-type { margin-bottom: 0; } @media (min-width: 768px) { diff --git a/_sass/_custom.scss b/_sass/_custom.scss index 14bf9d2..f1df108 100644 --- a/_sass/_custom.scss +++ b/_sass/_custom.scss @@ -1217,6 +1217,7 @@ blockquote { html { overflow-x: hidden; + max-width: 100vw; } *, @@ -1234,12 +1235,8 @@ object { height: auto; } -@media (max-width: 768px) { - body { - overflow-x: hidden; - max-width: 100vw; - min-width: 0; - } +main * { + max-width: 100%; } figure { @@ -1270,6 +1267,7 @@ figure { ============================================================================ */ #scroll-to-top { + display: none; position: fixed; bottom: 4.5rem; right: 1rem;