-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathbook.css
274 lines (242 loc) · 5.22 KB
/
book.css
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
body {
padding: 0;
margin: 0;
overflow: hidden;
background-color: #eae6e0;
}
a {
text-decoration: none;
}
div#container {
width: 912px; /* (page.width * 2) */
height: 656px; /* page.height + 20 */
display: none;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
border: 0;
padding: 0;
/* -webkit-box-shadow: 2px 0 2px #000; */
}
div#backgroundDiv {
width: 952px;
height: 686px;
margin: auto;
position: absolute;
top: 50%;
bottom: 50%;
left: 0;
right: 0;
z-index: -1;
text-align: center;
/* background-image:
url('images/tl.png'), url('images/tml.png'), url('images/tcl.png'), url('images/tcr.png'), url('images/tmr.png'), url('images/tr.png'),
url('images/sl.png'), url('images/sr.png'),
url('images/bl.png'), url('images/bml.png'), url('images/bcl.png'), url('images/bcr.png'), url('images/bmr.png'), url('images/br.png');
background-size: 56px 50px, 365px 50px, 55px 50px, 55px 50px, 365px 50px, 56px 50px,
56px 586px, 56px 586px,
56px 50px, 365px 50px, 55px 50px, 55px 50px, 365px 50px, 56px 50px;
background-repeat: no-repeat;
background-position: top left, top 56px, top 421px, top 476px, top 531px, top right,
50px left, 50px right,
bottom left, bottom 56px, bottom 421px, bottom 476px, bottom 531px, bottom right;
background-color: #faf6f0; */
}
div#background canvas {
margin: auto;
}
div.page {
float: left;
margin: 0;
}
div#leftpage {
/* this is a hack. the positioning needs work. */
margin-left: 1.25em;
/* background-image: -webkit-gradient(linear, right top, left top, from(rgb(239, 235, 230)), color-stop(0.05, rgb(250, 246, 240))); */
}
div#rightpage {
/* this is a hack tied to the above left-page hack. the positioning needs work. */
margin-left: 0.25em;
/* background-image: -webkit-gradient(linear, left top, right top, from(rgb(239, 235, 230)), color-stop(0.05, rgb(250, 246, 240))); */
}
div.content {
padding: 0.5em;
overflow: hidden;
font-family: Georgia, Serif;
text-align: justify;
text-justify: newspaper;
}
div.content pre {
line-height: 100%;
}
div.content * {
line-height: 150%;
font-size: 1em;
}
div.header {
font-size: 80%;
vertical-align: middle;
position: relative;
margin-top: 1em;
height: 1em;
}
div.header h1 {
font-size: 120%;
font-weight: normal;
font-style: italic;
font-variant: small-caps;
text-transform: lowercase;
display: inline;
}
div.header span.pagenum {
display: inline;
}
div.header span.discoverable a {
text-decoration: none;
color: #aaaaaa;
}
div.header span.discoverable {
display: none;
}
div.right.header {
text-align: right;
right: 0;
}
div.right.header span.pagenum {
margin-right: 0.75em;
}
div.left.header span.pagenum {
margin-left: 0.75em;
}
div.page:hover span.discoverable,
div.page:hover span.discoverable a {
display: block;
position: absolute;
font-size: 400%;
top: 100px;
background-color: rgba(0,0,0,0.5);
line-height: 75%;
padding-top: 50px;
border-radius: 20px;
-webkit-border-radius: 20px;
}
div.page:hover div.left span.discoverable,
div.page:hover div.left span.discoverable a {
left: 28px;
}
div.page:hover div.right span.discoverable,
div.page:hover div.right span.discoverable a {
right: 31px;
}
div.page:hover span.discoverable a:hover {
color: #000000;
}
span.discoverable {
float: right;
}
div.footer {
display: none;
}
div.footer {
font-size: 80%;
vertical-align: middle;
position: relative;
bottom: 0;
}
div.footer h1 {
font-size: 120%;
font-weight: normal;
display: inline;
font-variant: small-caps;
text-transform: lowercase;
}
div.left {
margin-right: 1em;
margin-left: 1.5em;
padding: 0.5em;
}
div.left.content {
padding-top: 0.5em;
}
div.left.footer {
text-align: left;
left: 0;
}
div.right {
margin-left: 1em;
margin-right: 1.5em;
padding: 0.5em;
}
div.right.content {
padding-top: 0.5em;
}
div.right.footer {
text-align: right;
right: 0px;
}
div#selector {
background-color: rgba(55, 46, 74, 0.8);
position: absolute;
top: 20px;
height: 630px;
width: 720px;
left: 50%;
margin-left: -360px;
border-radius: 50px;
-webkit-border-radius: 50px;
}
div#selector #selectorContainer {
width: 100%;
height: 520px;
width: 740px;
margin: 20px 40px 0;
}
div#selector .selection {
margin-right: 20px;
margin-bottom: 20px;
border-radius: 20px;
-webkit-border-radius: 20px;
float: left;
width: 145px;
height: 145px;
background-color: rgba(240, 230, 255, 0.3);
text-align: center;
font-size: 90%;
}
div#selector .selection:hover {
background-color: rgba(240, 230, 255, 0.6);
}
div#selector .selection img {
height: 80px;
margin: 20px auto 0;
}
div#spinner {
background-color: rgba(55, 46, 74, 0.8);
position: absolute;
width: 100px;
height: 100px;
top: 100px;
left: 50%;
margin-left: -50px;
display: none;
border-radius: 20px;
-webkit-border-radius: 20px;
}
div#spinner img {
margin: 34px;
}
div#contents {
position: absolute;
left: 0;
top: 0;
height: 100%;
background-color: #eeeeff;
padding: 20px;
z-index: 100000;
}
div#contents a {
display: block;
}