-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
65 lines (55 loc) · 1.33 KB
/
style.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
@import url(https://fonts.googleapis.com/css?family=Raleway:700);
body {
/* center the page horizontally */
margin: 0px auto;
/* pad the sides just a bit to keep text off the edges */
padding: 0 10px;
/* the width of an iPhone SE should be enough */
max-width: 640px;
/* just use the stystem-standard sans-serif font */
font-family: sans-serif;
font-size: 14px;
/* make things breathe! */
line-height: 1.5;
/* use dark grey text to prevent high-contrast edge shimmer */
color: #222;
/* use light grey background to prevent high-contrast edge shimmer */
background-color: #efefef;
}
header {
text-align: center;
line-height: 1.0;
/* separate header from body just a bit */
margin-bottom: 3.5ex;
}
aside {
font-size: 18px;
}
p, ul, ol, dl {
/* use proportional spacing above and below, regardless of font size */
margin: 0 1em;
}
.name {
font-weight:700;
font-family: 'Raleway', sans-serif;
font-size: 8em;
text-transform: uppercase;
}
.name.ba:hover {
color: #d33682;
}
/* also change the color in the pronunciation guide */
.name.ba:hover ~ .pronunciation > .ba {
color: #d33682;
}
.name.rag:hover {
color: #268bd2;
}
/* also change the color in the pronunciation guide */
.name.rag:hover ~ .pronunciation > .rag {
color: #268bd2;
}
.pronunciation {
margin-top: -1ex;
font-size: 2em;
}