1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | [data-vivliostyle-layout-box] {
|
21 | position: absolute;
|
22 | left: 0;
|
23 | top: 0;
|
24 | right: 0;
|
25 | bottom: 0;
|
26 | overflow: hidden;
|
27 | z-index: -1;
|
28 | }
|
29 |
|
30 | [data-vivliostyle-debug] [data-vivliostyle-layout-box] {
|
31 | right: auto;
|
32 | bottom: auto;
|
33 | overflow: visible;
|
34 | z-index: auto;
|
35 | }
|
36 |
|
37 | [data-vivliostyle-page-container] {
|
38 | position: relative;
|
39 | overflow: hidden;
|
40 | }
|
41 |
|
42 | [data-vivliostyle-bleed-box] {
|
43 | position: absolute;
|
44 | overflow: hidden;
|
45 | max-width: 100%;
|
46 | max-height: 100%;
|
47 | box-sizing: border-box;
|
48 | }
|
49 |
|
50 | [data-vivliostyle-page-box] ~ [data-vivliostyle-page-box] {
|
51 | display: none;
|
52 | }
|
53 |
|
54 | [data-vivliostyle-toc-box] {
|
55 | position: absolute;
|
56 | left: 3px;
|
57 | top: 3px;
|
58 | overflow: scroll;
|
59 | overflow-x: hidden;
|
60 | background: rgba(248, 248, 248, 0.9);
|
61 | border-radius: 2px;
|
62 | box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
|
63 | }
|
64 |
|
65 | @media print {
|
66 | [data-vivliostyle-toc-box] {
|
67 | display: none;
|
68 | }
|
69 |
|
70 | [data-vivliostyle-outer-zoom-box],
|
71 | [data-vivliostyle-spread-container] {
|
72 | width: 100% !important;
|
73 | height: 100% !important;
|
74 | }
|
75 |
|
76 | [data-vivliostyle-spread-container],
|
77 | [data-vivliostyle-page-container] {
|
78 | -moz-transform: none !important;
|
79 | -ms-transform: none !important;
|
80 | -webkit-transform: none !important;
|
81 | transform: none !important;
|
82 | }
|
83 |
|
84 | [data-vivliostyle-page-container] {
|
85 | display: block !important;
|
86 | max-width: 100%;
|
87 | height: 100% !important;
|
88 | max-height: 100%;
|
89 | }
|
90 |
|
91 |
|
92 | |
93 |
|
94 |
|
95 |
|
96 | [data-vivliostyle-bleed-box] > div > div::before {
|
97 | display: block;
|
98 | content: "";
|
99 | padding-top: 0.015625px;
|
100 | margin-bottom: -0.015625px;
|
101 | }
|
102 |
|
103 |
|
104 | @-moz-document regexp('.*') {
|
105 | [data-vivliostyle-page-container]:nth-last-child(n + 2) {
|
106 | top: -1px;
|
107 | margin-top: 1px;
|
108 | margin-bottom: -1px;
|
109 | }
|
110 | }
|
111 | }
|