-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.css
58 lines (49 loc) · 1.41 KB
/
common.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
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Languages
============================================ */
@font-face {
font-family: 'cwTeXFangSong';
src: url('fonts/cwTeXFangSong-zhonly.eot'); /* IE9 Compat Modes */
src: url('fonts/cwTeXFangSong-zhonly?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/cwTeXFangSong-zhonly.woff') format('woff'), /* Modern Browsers */
url('fonts/cwTeXFangSong-zhonly.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/cwTeXFangSong-zhonly.svg#cwTeXFangSong') format('svg'); /* Legacy iOS */
}
.english {
font-family: 'Vollkorn', serif;
}
.chinese {
font-family: 'cwTeXFangSong', serif;
}
/* Footer
============================================ */
.footer {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
margin-top: 33vh; /* Must be greater than or equal to half of story's height */
width: 60vw; /* Same as story's width. */
font-size: 17px;
text-align: center;
/* Uncomment for debugging. */
/*background: green;*/
}
.footer .author {
margin-top: 3vh;
font-size: 14px;
}
.footer img {
height: 4vh;
width: auto;
padding-right: 5px;
}
.footer a {
text-decoration: none;
color: white;
}
.footer a:hover {
color: #CCB162;
}