-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbook.css
More file actions
59 lines (52 loc) · 1.2 KB
/
book.css
File metadata and controls
59 lines (52 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* Perceptual Anchor: Paper texture and warm tones */
:root {
--bg-color: #f4f1ea;
--text-color: #2d2a26;
--paper-shadow: 0 12px 24px rgba(0,0,0,0.2);
}
.theme-dark {
--bg-color: #1a1a1a;
--text-color: #e0e0e0;
--paper-shadow: 0 12px 24px rgba(0,0,0,0.6);
}
body.theme-paper {
background-color: var(--bg-color);
color: var(--text-color);
}
/* The Book UI Container */
#book-container {
width: 900px;
height: 600px;
margin: 0 auto;
visibility: visible !important;
display: block !important;
}
/* Page Wrapper for StPageFlip */
.page {
background-color: white;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
border: 1px solid #ddd; /* Subtle page edge */
}
/* The actual PDF render */
.page-canvas {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
display: block;
box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
/* Hide navigation during "Loading" */
.hidden { display: none !important; }
/* Mobile-First Adjustments */
@media (max-width: 768px) {
#book-container {
width: 100vw !important;
height: 80vh !important;
}
}