-
Notifications
You must be signed in to change notification settings - Fork 0
/
dictionary.css
78 lines (65 loc) · 1.03 KB
/
dictionary.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
@charset "utf-8";
@namespace d url(http://www.apple.com/DTDs/DictionaryService-1.0.rng);
* {
color: #000;
font-size: inherit;
font-weight: inherit;
line-height: inherit;
border: 0;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, 'Helvetica Neue', sans-serif;
font-size: 16px;
line-height: 1.4em;
padding: 1em;
}
.entry {
display: block;
margin-bottom: 1.5em;
}
h1, h2 {
font-weight: 300;
line-height: 1em;
margin-bottom: 0.25em;
}
h1 {
font-size: 200%;
}
h2 {
font-size: 150%;
margin-top: 0.75em;
}
ul {
margin: 0.75em 0 0.75em 2em;
}
p em {
color: #666;
font-style: normal;
font-weight: 300;
padding-right: 0.4em;
}
.pronunciation {
position: relative;
top: -0.075em;
color: #666;
font-size: 75%;
margin-left: 0.25em;
}
.pronunciation::before {
content: "[";
}
.pronunciation::after {
content: "]";
}
.part-of-speech {
color: #666;
font-weight: 300;
margin-top: -0.5em;
margin-bottom: 0.75em;
}
.element ~ .element {
display: block;
margin-left: 2em;
}