www/rst-multi.css
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 04 Aug 2016 15:31:15 +0300
changeset 79 a0f224c26f08
child 83 41a9c64f3fb7
permissions -rw-r--r--
Move template files to separate directories.

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;
    }
}