forked from coolwanglu/pdf2htmlEX
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.css
More file actions
136 lines (136 loc) · 2.63 KB
/
Copy pathbase.css
File metadata and controls
136 lines (136 loc) · 2.63 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
/* Base CSS */
/* Copyright 2012 Lu Wang <coolwanglu@gmail.com> */
#pdf-outline { /* PDF Outline */
position:absolute;
top:0;
left:0;
bottom:0;
width:193px;
overflow:auto;
margin:0px;
padding:0 0 0 7px;
background-color:#707070;
display:none;
}
#pdf-outline.opened {
display:block;
}
#pdf-outline ul {
margin-left:13px;
margin-right:3px;
padding-left:3px;
}
#pdf-outline li {
list-style-type:disc;
list-style-position:outside;
}
#pdf-outline a {
font-size:13px;
color:#e8e8e8;
}
#pdf-outline a:visited {
color:#e8e8e8;
}
#pdf-outline a:hover{
color:#e8e8e8;
}
#pdf-outline a:active{
color:#e8e8e8;
}
#pdf-main { /* PDF container */
position:absolute;
top:0;
left:0px;
bottom:0;
right:0;
overflow:auto;
background-color:#808080;
/* margin & border-width have to be 0,
* otherwise pdf2htmlEX may not calculate the coordinates correctly
*/
margin:0;
border-width:0;
}
#pdf-outline.opened + #pdf-main {
left:200px;
}
/*
* The followings are base classes, which are meant to be override by PDF specific classes
* So do not increase the specificity
*/
.d { /* page decoration */
position:relative;
margin: 13px auto;
border-width: 0;
box-shadow: 1px 1px 3px 1px #333;
overflow: hidden;
}
.p { /* page */
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background-color:white;
overflow: hidden;
/* margin & border-width have to be 0,
* otherwise pdf2htmlEX may not calculate the coordinates correctly
*/
margin:0;
border-width:0;
}
.b { /* content of a page */
position:absolute;
border-width:0;
top:0;
left:0;
width:100%;
height:100%;
overflow:hidden;
display:block;
transform-origin:0% 0%;
-ms-transform-origin:0% 0%;
-moz-transform-origin:0% 0%;
-webkit-transform-origin:0% 0%;
-o-transform-origin:0% 0%;
}
.l { /* text line */
position:absolute;
white-space:pre;
font-size:1px;
transform-origin:0% 100%;
-ms-transform-origin:0% 100%;
-moz-transform-origin:0% 100%;
-webkit-transform-origin:0% 100%;
-o-transform-origin:0% 100%;
}
span {
position:relative;
vertical-align: baseline;
/* _<id> for spaces may need display:inline, which will override this */
display:inline-block;
}
._ { /* text shift */
color:transparent;
z-index:-1;
}
::selection{
background: rgba(127,255,255,1);
}
::-moz-selection{
background: rgba(127,255,255,1);
}
.j { /* info for Javascript */
display:none;
}
.a {
}
.Cd { /* css drawing */
position:absolute;
transform-origin:0% 100%;
-ms-transform-origin:0% 100%;
-moz-transform-origin:0% 100%;
-webkit-transform-origin:0% 100%;
-o-transform-origin:0% 100%;
}
/* Base CSS END */