/
styles.css
86 lines (72 loc) · 1.45 KB
/
styles.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
/**
* Colors:
* Red - #df0000
* Gold - #816e5d
* Black - #000507
*/
/* Overall document and type */
html,
body {
margin: 0;
padding: 0;
}
html {
background: #eee;
color: #000507;
font: normal 400 125%/1.1 "herb", cursive;
}
h1 {
font-family: "givry", cursive;
font-weight: 400;
}
.credits {
font-family: "felt-tip-roman", cursive;
}
/* Book page and layout */
.page {
background: url(images/paper.gif);
-moz-box-shadow: 0 0.5em 2em rgba(0, 0, 0, 0.35);
-webkit-box-shadow: 0 0.5em 2em rgba(0, 0, 0, 0.35);
box-shadow: 0 0.5em 2em rgba(0, 0, 0, 0.35);
margin: 2em auto 4em;
padding: 6em;
width: 38em;
}
.content {
-moz-column-count: 2;
-webkit-column-count: 2;
column-count: 2;
-moz-column-gap: 2em;
-webkit-column-gap: 2em;
column-gap: 2em;
}
.page h1 {
font-size: 2.5em;
margin: 0 0 0.5em;
}
.page p {
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
margin: 0;
text-align: justify;
}
/* Rubrication of headlines and first letters */
.page h1 {
color: #df0000;
text-shadow: 1px 1px 0 #000507, 0 1px 0 #000507, 1px 0 0 #000507;
}
.page p:first-letter {
background: url(images/rubrication.png) no-repeat center center;
background-size: contain;
color: #df0000;
float: left;
font: normal 400 6em/1 "givry", cursive;
padding-right: 0.1em;
text-align: center;
text-shadow: 1px 1px 0 #000507, 0 1px 0 #000507, 1px 0 0 #000507;
width: 0.75em;
}
.page p:first-line {
color: #df0000;
}