3 * Everything besides the menu.
10 @include min-screen($W_BOOK_TEXT_MAX) {
11 justify-content: center;
14 @include min-screen($S_MENU) {
16 @include size(margin-left, $W_MENU);
25 #picture-viewer #big-pane {
26 @include size(margin-left, $W_NONUMBERS_TINY);
28 @include min-screen($S_NONUMBERS_TINY_MAX) {
29 @include size(margin-left, $W_NONUMBERS);
32 @include min-screen($S_NUMBERS) {
33 @include size(margin-left, 44px);
37 @include min-screen($S_MENU) {
38 #picture-viewer #big-pane {
39 @include size(margin-left, $W_MENU);
54 * This is where the text lives
55 * together with line numbers, themes and stuff.
58 @mixin left-without-numbers {
59 @include size(padding-left, $W_NONUMBERS_TINY);
60 @include min-screen($S_NONUMBERS_TINY_MAX) {
61 @include size(padding-left, $W_NONUMBERS);
65 @mixin right-without-themes {
66 @include size(padding-right, $W_NOTHEMES_TINY);
67 @include min-screen($S_NOTHEMES_TINY_MAX) {
68 @include size(padding-right, $W_NOTHEMES_SMALL);
70 @include min-screen($S_NOTHEMES_SMALL_MAX) {
71 @include size(padding-right, $W_NOTHEMES);
75 #main-text, #other-text {
76 @include left-without-numbers;
77 @include right-without-themes;
78 @include size(min-width, $W_BOOK_TEXT_MIN);
80 /* make room for line numbers */
81 @include min-screen($S_NUMBERS) {
82 @include size(padding-left, $W_NUMBERS);
85 /* make room for themes */
86 @include min-screen($S_THEMES) {
87 @include size(padding-right, $W_THEMES);
91 .always-hide-line-numbers {
92 /* Cancel making room for line numbers. */
93 #main-text, #other-text {
94 @include left-without-numbers;
98 @include min-screen($S_THEMES) {
100 /* Cancel making room for themes. */
101 #main-text, #other-text {
102 @include right-without-themes;
108 #main-text, #other-text {
109 @include right-without-themes;
111 @include min-screen($S_THEMES_WOTHER) {
112 @include size(padding-right, $W_THEMES);
122 @include size(max-width, $W_BOOK_TEXT_MAX);
123 @include size(margin, 20px auto);
127 @include min-screen($S_SMALL_TEXT_MAX) {
138 @include min-screen($S_SMALL_TEXT_MAX_WOTHER) {