| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- //
- // Mobile overrides
- //
- ._mobile {
- font-size: 100%;
- background: $contentBackground;
- // Layout
- body { -ms-overflow-style: -ms-autohiding-scrollbar; }
- ._app, ._content { overflow: visible; }
- ._container, ._sidebar {
- margin: 0;
- padding-top: $headerHeight;
- }
- ._content {
- position: static;
- height: auto;
- margin: 0;
- padding: .75rem 1rem 2rem;
- &:before { content: none; }
- }
- ._booting:before, ._content-loading:before { font-size: 3rem; }
- ._header, ._footer {
- position: fixed;
- width: 100%;
- }
- ._header, ._list, ._footer {
- width: 100%;
- border-right: 0;
- box-shadow: none;
- }
- ._settings { position: static; }
- ._settings ._sidebar { padding-bottom: $headerHeight; }
- ._settings-tabs { display: block; }
- // Header
- ._header-btn { width: 2.5rem; }
- ._header-btn[hidden] { display: block; }
- ._search {
- padding-right: .125rem;
- padding-left: .125rem;
- &:before { left: .5rem; }
- }
- ._search-tag { left: .5rem; }
- // Sidebar
- ._sidebar {
- position: static;
- min-height: 100%;
- overflow: visible;
- }
- ._list-item {
- white-space: normal;
- word-wrap: break-word;
- overflow-wrap: break-word;
- box-shadow: none;
- }
- ._list-result {
- padding-left: 2.375rem;
- &:before {
- position: absolute;
- top: .25rem;
- left: .75rem;
- }
- }
- // Notice
- ._notice {
- position: fixed;
- left: 0;
- padding: 0 .5rem;
- }
- ._notice-text { font-size: .75em; }
- // Notification
- ._notif { position: fixed; }
- // Table of contents
- ._toc {
- float: none;
- max-width: none;
- margin-left: 0;
- }
- }
- //
- // Fix viewport on Windows Phone
- //
- @-ms-viewport { width: device-width; }
- @media (orientation: portrait) and (min-device-width: 720px) and (max-device-width: 768px),
- (orientation: landscape) and (device-width: 1280px) and (max-device-height: 768px) {
- @-ms-viewport { width: 50%; }
- }
- //
- // Header buttons
- //
- ._forward-btn {
- margin-right: -.5rem;
- > svg { margin-left: -.375rem; }
- }
- //
- // Intro
- //
- ._mobile-intro {
- > ._intro-list { padding-left: 1.5rem; }
- ._intro-hide {
- position: static;
- float: none;
- display: block;
- margin-top: .75rem;
- text-align: center;
- }
- }
|