4 @include size(margin, 1px);
5 @include size(padding, 8px 10px);
12 @include size(margin-right, 15px);
13 @include size(margin-bottom, 5px);
15 @include min-screen($S_BOOK_SHORT_FULL) {
23 @include size(height, 193px / 2);
24 @include size(width, 139px / 2);
26 @include min-screen($S_BOOK_SHORT_MEDIUM) {
27 @include size(height, 193px);
28 @include size(width, 139px);
34 /* Original design fits 6 boxes horizontally in 975px (162.5px each),
35 * but we really want to fit 2 boxes on a 320px mobile screen. */
37 @include size(width, 160px);
38 display: inline-block;
41 @include min-screen(350px) {
42 @include size(width, 162.5px);
45 .book-mini-box-inner {
47 @include size(height, 271px);
48 @include size(margin, 1px);
49 @include size(padding, 8px 9px);
52 @include min-screen(350px) {
53 @include size(padding, 8px 10px);
61 @include size(height, 193px);
62 @include size(width, 139px);
63 @include size(margin-bottom, 18px);
69 @include size(font-size, 10px);
70 text-transform: uppercase;
72 @include size(top, -20px);
78 @include size(font-size, 11px);
83 text-overflow: ellipsis;
87 @include size(font-size, 14px);
100 @include min-screen($S_BOOK_SHORT_FULL) {
101 display: inline-block;
117 @include min-screen($S_BOOK_SHORT_FULL) {
118 @include size(width, $W_BOOK_SHORT_FULL);
124 @include size(min-height, 197.5px);
133 @media screen and (min-width: 62.5em) {
134 @include size(width, 975px);
139 @include size(min-height, 244px);
141 @include size(margin-left, 0);
142 @include size(margin-right, 0);
144 .book-left-column { /* FIXME */
145 @media screen and (min-width: 62.5em) {
147 @include size(width, 536px);
153 @include size(margin-top, 5px);
156 @include min-screen($S_BOOK_SHORT_FULL) {
157 // Show full title on the work's page.
161 @include size(min-height, 170px);
163 .book-box-head .title {
165 @include size(min-height, 57.6px);
173 @media screen and (min-width: 62.5em) {
174 @include size(width, 382px);
178 #theme-list-wrapper {
179 @include min-screen($S_BOOK_SHORT_MEDIUM) {
180 @include size(margin-left, 154px);
181 @include size(width, 300px);
186 @include size(margin-top, 10px);
187 @include size(margin-bottom, 10px);
192 @include size(margin-top, 16px);
194 @include size(margin-left, -10px);
195 @include size(margin-right, -10px);
198 @media screen and (min-width: 62.5em) {
199 @include size(width, 415px);
201 @include size(margin-top, -8px);
206 @include size(font-size, 11px);
208 @include size(margin-top, 25px);
210 @include size(margin-left, 15px);
214 @include size(font-size, 11px);
218 @include min-screen($S_BOOK_SHORT_FULL) {
221 @include size(width, 145px);
222 @include size(margin-top, 50px);
223 @include size(margin-right, 0);
224 @include size(margin-bottom, 0);
225 @include size(margin-left, 5px);
228 @include min-screen(1000px) {
229 @include size(margin-top, 50px);
234 @include min-screen($S_BOOK_SHORT_FULL) {
235 @include size(margin-left, 15px);
236 @include size(width, 220px);
243 @media screen and (min-width: 50em) {
244 .picture.book-wide-box .right-column {
246 @include size(width, 415px);
248 @include size(margin-left, 550px);
255 @include size(margin-bottom, 10px);
256 @include min-screen($S_BOOK_SHORT_FULL) {
258 @include size(height, 170px);
265 @include min-screen($S_BOOK_SHORT_FULL) {
271 @include size(padding-top, 14px);
272 @include size(margin-bottom, 10px);
274 @include min-screen($S_BOOK_SHORT_FULL) {
275 @include size(min-height, 70px);
282 @include size(font-size, 11px);
284 @include size(line-height, 13.2px);
285 @include size(max-height, 26.4px);
288 @include min-screen($S_BOOK_SHORT_FULL) {
289 @include size(max-width, 264px);
293 @include size(font-size, 24px);
295 @include size(margin-top, 7.2px);
296 @include size(margin-bottom, 12px);
298 @include min-screen($S_BOOK_SHORT_FULL) {
300 @include size(height, 57.6px);
307 @include size(font-size, 11px);
311 @include min-screen($S_BOOK_SHORT_FULL) {
313 @include size(max-height, 57.6px);
319 @include size(margin-top, 6px);
320 @include size(margin-bottom, 6px);
322 @include min-screen($S_BOOK_SHORT_FULL) {
331 @include size(margin-left, 4.4px);
332 @include size(margin-right, 5.5px);
342 @include size(font-size, 11px);
349 @include min-screen($S_BOOK_SHORT_MEDIUM) {
351 @include size(margin-left, 139px + 15px);
358 @include min-screen($S_BOOK_SHORT_FULL) {
359 display: inline-block;
365 @include min-screen($S_BOOK_SHORT_FULL) {
366 @include size(width, 126.5px);
374 content: url("/static/img/read.png");
375 @include size(font-size, 25px);
376 @include size(margin-right, 3.71px);
377 vertical-align: middle;
385 @include min-screen($S_BOOK_SHORT_FULL) {
386 @include size(width, 93.5px);
397 content: url("/static/img/download.png");
398 @include size(font-size, 25px);
399 @include size(margin-right, 3.71px);
400 vertical-align: middle;
414 @include min-screen($S_BOOK_SHORT_FULL) {
422 @include size(padding-left, 19px);
424 @include min-screen($S_BOOK_SHORT_FULL) {
428 @include size(width, 180px);
429 @include size(padding-top, 38px);
430 @include size(padding-bottom, 9px);
431 @include size(padding-left, 19px);
432 @include size(padding-right, 19px);
438 @include size(top, -16px);
439 @include size(left, -19px);
444 @include size(margin-top, 16px);
448 content: url("/static/img/download.png");
449 @include size(font-size, 25px);
450 @include size(margin-right, 3.71px);
451 vertical-align: middle;
456 @include min-screen($S_BOOK_SHORT_FULL) {
457 @include size(margin-top, 0);
460 @include size(margin-top, 16px);
469 &:hover .book-box-formats,
470 &.hover .book-box-formats {
475 .book-box-audiobook {
476 @include min-screen($S_BOOK_SHORT_FULL) {
477 @include size(width, 77px);
481 content: url("/static/img/listen.png");
482 @include size(font-size, 25px);
483 @include size(margin-right, 3.71px);
484 vertical-align: middle;
495 @include size(font-size, 22.5px);
496 @include size(margin-right, 11.25px);
500 button::-moz-focus-inner {
506 font-family: inherit;
527 #book-detail .see-also {
529 @include size(height, 32px);
531 @include size(padding-top, 19px);
532 @include size(padding-left, 10px);
534 @include size(font-size, 11px);
538 @media screen and (min-width: 33em) {
539 @include size(padding-left, 19px);