Calibre OPDS (and HTML) PHP Server : web-based light alternative to Calibre content server / Calibre2OPDS to serve ebooks (epub, mobi, pdf, ...) http://blog.slucas.fr/en/oss/calibre-opds-php-server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

274 lines
5.1KB

  1. body {
  2. margin: 0;
  3. padding: 0;
  4. background: #000;
  5. -webkit-user-select: none;
  6. -webkit-text-size-adjust: none;
  7. }
  8. #components {
  9. display: none;
  10. }
  11. #reader, #readerBg {
  12. position: absolute;
  13. width: 100%;
  14. height: 100%;
  15. }
  16. #reader div pre {
  17. white-space: normal;
  18. font: normal 100% serif;
  19. }
  20. /* from smallest and outermost to largest and innermost */
  21. .dummyPage {
  22. position: absolute;
  23. left: 0;
  24. top: 20px;
  25. bottom: 20px;
  26. right: 15px;
  27. background-color: #FCF6F0;
  28. -webkit-box-shadow: 2px 2px 4px #754;
  29. -moz-box-shadow: 2px 2px 4px #754;
  30. box-shadow: 2px 2px 4px #754;
  31. -webkit-border-top-left-radius: 26px 6px;
  32. -webkit-border-bottom-left-radius: 26px 6px;
  33. -moz-border-top-left-radius: 26px 6px;
  34. -moz-border-bottom-left-radius: 26px 6px;
  35. border-top-left-radius: 26px 6px;
  36. border-bottom-left-radius: 26px 6px;
  37. }
  38. .dummyPage + .dummyPage {
  39. top: 16px;
  40. bottom: 16px;
  41. right: 16px;
  42. -webkit-box-shadow: 1px 0 2px #A99;
  43. -moz-box-shadow: 1px 0 2px #A99;
  44. box-shadow: 1px 0 2px #A99;
  45. }
  46. .dummyPage + .dummyPage + .dummyPage {
  47. top: 13px;
  48. bottom: 13px;
  49. right: 18px;
  50. background-color: #FFF9F4;
  51. }
  52. .dummyPage + .dummyPage + .dummyPage + .dummyPage {
  53. top: 10px;
  54. bottom: 10px;
  55. right: 21px;
  56. }
  57. .dummyPage + .dummyPage + .dummyPage + .dummyPage + .dummyPage {
  58. top: 8px;
  59. bottom: 8px;
  60. right: 25px;
  61. }
  62. .jacket {
  63. position: absolute;
  64. top: 1px;
  65. bottom: 1px;
  66. right: 3px;
  67. left: 65%;
  68. -webkit-box-shadow: -3px 0 3px #311;
  69. -moz-box-shadow: -3px 0 3px #311;
  70. box-shadow: -3px 0 3px #311;
  71. -webkit-border-top-right-radius: 3px;
  72. -webkit-border-bottom-right-radius: 3px;
  73. -moz-border-top-right-radius: 3px;
  74. -moz-border-bottom-right-radius: 3px;
  75. border-top-right-radius: 3px;
  76. border-bottom-right-radius: 3px;
  77. background-color: #F7F7F7;
  78. background: -webkit-linear-gradient(0deg, #DDD, #FFF);
  79. background: -moz-linear-gradient(0deg , #DDD, #FFF);
  80. background: linear-gradient(90deg, #DDD, #FFF);
  81. }
  82. .board {
  83. position: absolute;
  84. top: 1px;
  85. bottom: 1px;
  86. width: 90%;
  87. background-color: #974;
  88. border: 1px solid #852;
  89. }
  90. .runner {
  91. color: #542;
  92. text-transform: uppercase;
  93. font-size: 82%;
  94. }
  95. .pageNumber, .bookTitle, .chapterTitle {
  96. padding: 3% 2%;
  97. }
  98. .bookTitle, .chapterTitle {
  99. position: absolute;
  100. top: 1%;
  101. left: 6%;
  102. cursor: pointer;
  103. padding: 0;
  104. }
  105. .chapterTitle {
  106. top: auto;
  107. bottom: 1%;
  108. right: 20%;
  109. }
  110. .pageNumber {
  111. position: absolute;
  112. bottom: 1%;
  113. right: 8%;
  114. padding-right: 0;
  115. }
  116. #readerBg {
  117. background-color: #000;
  118. }
  119. #toc ul.root {
  120. position: absolute;
  121. top: 50px;
  122. left: 8%;
  123. max-height: 75%;
  124. max-width: 80%;
  125. background: #E0D3C0;
  126. -webkit-box-shadow: 1px 2px 2px #652;
  127. -moz-box-shadow: 1px 2px 2px #652;
  128. -webkit-border-radius: 10px;
  129. -moz-border-radius: 10px;
  130. border-radius: 10px;
  131. overflow-y: auto;
  132. color: #432;
  133. font: 11pt Georgia, serif;
  134. text-shadow: 1px 1px #EEE6D0;
  135. border: 1px solid #EED;
  136. z-index: 9;
  137. }
  138. .tocArrow {
  139. position: absolute;
  140. top: 40px;
  141. left: 16%;
  142. width: 20px;
  143. height: 20px;
  144. -webkit-transform: rotateZ(45deg);
  145. background: #E0D3C0;
  146. z-index: 8;
  147. }
  148. #toc li {
  149. list-style: none;
  150. line-height: 220%;
  151. padding-left: 1em;
  152. padding-right: 2em;
  153. border-bottom: 2px groove #FFF6E9;
  154. cursor: pointer;
  155. }
  156. #toc li span {
  157. display: block;
  158. }
  159. #toc ul li:last-child {
  160. border-bottom: none;
  161. }
  162. #toc ul {
  163. margin: 0;
  164. padding: 0;
  165. }
  166. #toc ul.root {
  167. border-top: none;
  168. }
  169. /* Overrides to core elements */
  170. div.monelem_container {
  171. background: none;
  172. width: auto;
  173. }
  174. div.monelem_page {
  175. top: 6px;
  176. bottom: 6px;
  177. right: 4px;
  178. border-color: #CBA;
  179. outline: none;
  180. -webkit-box-shadow: 1px 0 1px #CBA;
  181. -moz-box-shadow: 1px 0 1px #CBA;
  182. box-shadow: 1px 0 2px #CBA;
  183. -webkit-border-top-left-radius: 26px 4px;
  184. -webkit-border-bottom-left-radius: 26px 4px;
  185. -moz-border-top-left-radius: 26px 4px;
  186. -moz-border-bottom-left-radius: 26px 4px;
  187. border-top-left-radius: 26px 4px;
  188. border-bottom-left-radius: 26px 4px;
  189. background-color: #FFFFFE;
  190. background-image: -webkit-linear-gradient(0deg, #EDEAE8 0px, #FFFFFE 24px);
  191. background-image: -moz-linear-gradient(0deg, #EDEAE8 0px, #FFFFFE 24px);
  192. background-image: linear-gradient(90deg, #EDEAE8 0px, #FFFFFE 24px);
  193. }
  194. div.monelem_sheaf {
  195. left: 6%;
  196. right: 8%;
  197. top: 8%;
  198. bottom: 8%;
  199. }
  200. /* Overriding magnifier button display */
  201. div.monelem_controls_magnifier_button {
  202. color: #632;
  203. padding: 2%;
  204. top: 1%;
  205. right: 6%;
  206. }
  207. /* Overriding table of contents display */
  208. div.monelem_controls_contents_container {
  209. background: #E0D3C0;
  210. border: 1px solid #EED;
  211. font: 11pt Georgia, serif;
  212. color: #432;
  213. text-shadow: 1px 1px #FFF6E0;
  214. }
  215. div.monelem_controls_contents_chapter {
  216. border-bottom: 2px groove #FFF6E9;
  217. }
  218. li.monelem_controls_contents_chapter_active {
  219. text-shadow: -1px -1px #876;
  220. background: #BA9;
  221. }
  222. /* Overriding the scrubber display */
  223. div.monelem_controls_scrubber_container {
  224. left: 5.5%;
  225. right: 9%;
  226. bottom: 2%;
  227. background: #FFFEFC;
  228. }
  229. div.monelem_controls_scrubber_track {
  230. border-color: #432;
  231. }
  232. div.monelem_controls_scrubber_needle {
  233. border-color: #432;
  234. background: #E0D3C0;
  235. }
  236. div.monelem_controls_scrubber_trail {
  237. background: #E0D3C0;
  238. }