summaryrefslogtreecommitdiff
path: root/themes/epub3.scss
blob: 851d40b50cda1da1221391243b2647ac0ce2907c (plain) (blame)
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
/*
 * Magenta Stripe Media - EPUB3 Stylesheet
 * Charlotte Koch <charlotte@magentastripe.com>
 */

/* ***** EB GARAMOND FONT ***** */

@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: normal;
  src: url(../fonts/EBGaramond08-Regular.ttf);
}

@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: normal;
  src: url(../fonts/EBGaramond08-Italic.ttf);
}


/* ***** NAUTICAL FONT ***** */

@font-face {
  font-family: "Nautical";
  font-style: normal;
  font-weight: normal;
  src: url(../fonts/Nautical.ttf);
}


/* ***** BODY ***** */

body {
  font-family: "EB Garamond", serif;
}

/*
 * Default stylesheet contains 1em margin on the top of every paragraph;
 * this should remove it.
 */
body p {
  margin: 0em;
  text-indent: 2em;
  line-height: 2.0;
}

hr.thematicbreak {
  /* XXX try to insert the appropriate dingbat here */
  text-align: center;
}