X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ab8ffbde2df33d9c699e029ba613d2b014ba44b8..2b96b3e346a68d086568c8fc57c1df455105c062:/apps/wolnelektury_core/static/scss/book_text/body.scss diff --git a/apps/wolnelektury_core/static/scss/book_text/body.scss b/apps/wolnelektury_core/static/scss/book_text/body.scss index 2454f0c78..912d55b85 100644 --- a/apps/wolnelektury_core/static/scss/book_text/body.scss +++ b/apps/wolnelektury_core/static/scss/book_text/body.scss @@ -3,9 +3,8 @@ * Everything besides the menu. */ #big-pane { - display: flex; - flex-direction: row; justify-content: left; + position: relative; @include min-screen($W_BOOK_TEXT_MAX) { justify-content: center; } @@ -21,6 +20,30 @@ } } +#picture-viewer #big-pane { + @include size(margin-left, $W_NONUMBERS_TINY); + + @include min-screen($S_NONUMBERS_TINY_MAX) { + @include size(margin-left, $W_NONUMBERS); + } + + @include min-screen($S_NUMBERS) { + @include size(margin-left, 44px); + } +} + +@include min-screen($S_MENU) { + #picture-viewer #big-pane { + @include size(margin-left, $W_MENU); + } + .menu-hidden { + #big-pane { + margin-left: 44px; + } + } +} + + /* @@ -80,6 +103,10 @@ } .with-other-text { + #big-pane { + display: flex; + flex-direction: row; + } #main-text, #other-text { @include right-without-themes;