summaryrefslogtreecommitdiff
path: root/css/read.css
blob: 50da780505be04924e3e309bc24b25853e09915f (plain)
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
.loading {
	position : absolute;
	color : #999;
	top : 0px;
	left : 0px;
	height : 100%;
	width : 100%;
	z-index : 32;
	text-align : center;
	background : white;
	padding : 16px;
	font-size : 18px;
	display : table;
}
.loading > div {
	display : table-cell;
	vertical-align : middle;
}
.notice {
	width : 120px;
	padding-left : 5px;
}
.header {
	top : 5px;
	left : 0px;
	width : 100%;
	height : 24px;
}
.footer {
	bottom : 5px;
	left : 0px;
	width : 100%;
	height : 24px;
}
.header, .footer {
	position : absolute;
	font-size : 13px;
	display : table;
	padding-left : 10px;
	padding-right : 10px;
	color : #999;

	table-layout : fixed;
}
.header > *, .footer > * {
	display : table-cell;
	vertical-align : middle;

	overflow : hidden;
	text-overflow: ellipsis;
	white-space : nowrap;
}
.header .title {
	margin-left : 16px;
}
.footer .location {
	cursor : pointer;
	text-align : right;
}
.toolbar {
	text-align : right;
}
.toolbar > * {
	margin-left : 10px;
	cursor : pointer;
}
#reader {
	position : absolute;
	top : 32px;
	bottom : 32px;
	left : 96px;
	right : 96px;
}

@media (max-width: 992px) {
	.toolbar {
		width : 128px;
	}
}

@media (max-width: 801px) {
	#reader {
		left : 64px;
		right : 64px;
	}
}

@media (max-width: 767px) {
	#reader {
		left : 48px;
		right : 48px;
	}
	.toolbar {
		width : 96px;
	}
}

@media (max-width: 576px) {
	#reader {
		left : 32px;
		right : 32px;
	}
	.toolbar {
		width : 96px;
	}
}

.chapter {
	cursor : pointer;
}

.toc_list, .search_results, .dict_result {
	max-height : 300px;
	height : auto;
	overflow : auto;
}

.toc_list b.pull-right {
	margin-right : 16px;
}

.toc_sublist {
	margin-left : 16px;
}