-
Notifications
You must be signed in to change notification settings - Fork 0
/
textbookreader.css
109 lines (93 loc) · 1.67 KB
/
textbookreader.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
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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
color: #eee;
}
button {
cursor: pointer;
padding: 2px 5px;
color: #ccc;
background: transparent;
border: none;
outline: none;
}
body {
font-family: "Lato", sans-serif;
background-color: #c1816a;
}
main {
width: 100%;
min-height: 90vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
}
main h3 {
text-align: center;
width: 100%;
word-spacing: 0.5rem;
font-size: 2rem;
color: #bbbbbb;
}
.pdf-viewer {
background-color: #5910ac;
background-color: #fff;
margin: auto;
}
.hidden {
display: none;
}
footer {
position: sticky;
bottom: 0;
height: 10vh;
background-color: #000000;
}
.pagination {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
color: #eee;
font-size: 1.4rem;
}
.pagination span {
font-size: 1.1rem;
margin: 0 10px;
}
.pagination button {
font-size: 1.5rem;
}
button:active > * {
color: #8d8d8d;
}
footer ul {
list-style-type: none;
width: 100%;
height: 100%;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
}
footer ul li:first-child {
margin-left: 20px;
}
footer ul li:last-child {
margin-right: 20px;
}
#zoomValue {
display: inline-block;
font-size: 0.9rem;
width: 60px;
vertical-align: center;
}
#openPDF {
font-size: 1.2rem;
padding: 2px 5px;
font-weight: 700;
color: #eee;
}