author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 06 Aug 2016 00:07:09 +0300 | |
changeset 81 | 129d6a9579b9 |
parent 79 | a0f224c26f08 |
child 83 | 41a9c64f3fb7 |
permissions | -rw-r--r-- |
iframe { overflow: hidden; } .document { max-width: 800px; margin: .5em auto; padding-left: 190px; padding-right: 10px; overflow: hidden; } #sidebar { position: fixed; } iframe { border: none; } #sidebar, iframe { top: 0; left: 0; width: 180px; height: 100%; } @media (max-width: 780px) { .document { margin: 5px 10px 1em 10px; padding: 0; } #sidebar { position: inherit; } #sidebar, iframe { width: 100%; height: 7em; } }