summaryrefslogtreecommitdiff
path: root/lib/epub.js/test/fixtures/alice/OPS/css/stylesheet.css
blob: 57531fecd158ceaf15e873ec44e94a70c41b5d11 (plain)
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
body {
  font-family: Georgia, serif;
  font-size: 1em;
  line-height: 1.33em;
}

/* Book Title */
h1 {
  font-size: 1.5em;
  line-height: 1.33em;
}

/* Chapter Title */
h2 {
  font-size: 1.33em;
  line-height: 1.2em;
}

/* Subtitle */
h3 {
  font-size: 1.25em;
  line-height: 1.12em;
}

/* Meta Info */
h4 {
  font-size: 1.1em;
  line-height: 1.05em;
}

/* Chapter Container */
section {
  
}

section > p {
    
}

/* Drop Cap */
section > p:first-of-type:first-letter { 
  float: left;
  font-size: 4em;
  line-height: .8;
  padding: 0 .2em;
  font-family: Georgia;
}

figure.small {
  
}

figure.full {
  
}

figure > img {
  
}

figcaption {
  
}

figcaption > p {

}

/* More specific Kindle Eink queries at: http://epubsecrets.com/media-queries-for-kindle-devices.php */

/* Amazon Kindle */
@media amzn-kf8 {

}

/* Many device available at: https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ */

/* Smartphone - Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 667px)
  and (orientation: portrait) {
  
}

/* Smartphone - Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 667px)
  and (orientation: landscape) {

}

/* Tablet - Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) {

}

/* Laptop & Desktops */
@media only screen 
  and (min-device-width: 1025px) {

}