3 * Everything besides the menu.
8 @include min-screen($W_BOOK_TEXT_MAX) {
9 justify-content: center;
12 @include min-screen($S_MENU) {
14 @include size(margin-left, $W_MENU);
23 #picture-viewer #big-pane {
24 @include size(margin-left, $W_NONUMBERS_TINY);
26 @include min-screen($S_NONUMBERS_TINY_MAX) {
27 @include size(margin-left, $W_NONUMBERS);
30 @include min-screen($S_NUMBERS) {
31 @include size(margin-left, 44px);
35 @include min-screen($S_MENU) {
36 #picture-viewer #big-pane {
37 @include size(margin-left, $W_MENU);
52 * This is where the text lives
53 * together with line numbers, themes and stuff.
56 @mixin left-without-numbers {
57 @include size(padding-left, $W_NONUMBERS_TINY);
58 @include min-screen($S_NONUMBERS_TINY_MAX) {
59 @include size(padding-left, $W_NONUMBERS);
63 @mixin right-without-themes {
64 @include size(padding-right, $W_NOTHEMES_TINY);
65 @include min-screen($S_NOTHEMES_TINY_MAX) {
66 @include size(padding-right, $W_NOTHEMES_SMALL);
68 @include min-screen($S_NOTHEMES_SMALL_MAX) {
69 @include size(padding-right, $W_NOTHEMES);
73 #main-text, #other-text {
74 @include left-without-numbers;
75 @include right-without-themes;
76 @include size(min-width, $W_BOOK_TEXT_MIN);
78 /* make room for line numbers */
79 @include min-screen($S_NUMBERS) {
80 @include size(padding-left, $W_NUMBERS);
83 /* make room for themes */
84 @include min-screen($S_THEMES) {
85 @include size(padding-right, $W_THEMES);
89 .always-hide-line-numbers {
90 /* Cancel making room for line numbers. */
91 #main-text, #other-text {
92 @include left-without-numbers;
96 @include min-screen($S_THEMES) {
98 /* Cancel making room for themes. */
99 #main-text, #other-text {
100 @include right-without-themes;
110 #main-text, #other-text {
111 @include right-without-themes;
113 @include min-screen($S_THEMES_WOTHER) {
114 @include size(padding-right, $W_THEMES);
124 @include size(max-width, $W_BOOK_TEXT_MAX);
125 @include size(margin, 20px auto 30px);
129 @include min-screen($S_SMALL_TEXT_MAX) {
140 @include min-screen($S_SMALL_TEXT_MAX_WOTHER) {