2
0

reader.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. ::-webkit-scrollbar {
  2. width: 8px;
  3. height: 8px;
  4. /*display: none;*/
  5. }
  6. /*::-webkit-scrollbar-track {
  7. -webkit-border-radius: 10px;
  8. border-radius: 10px;
  9. background: rgba(85, 85, 85, 0.1);
  10. }*/
  11. ::-webkit-scrollbar-thumb {
  12. -webkit-border-radius: 10px;
  13. border-radius: 10px;
  14. background: rgba(85, 85, 85, 0);
  15. }
  16. :hover::-webkit-scrollbar-thumb {
  17. -webkit-border-radius: 10px;
  18. border-radius: 10px;
  19. background: rgba(85, 85, 85, 0.4);
  20. }
  21. .reader_body {
  22. display: flex;
  23. flex-direction: column;
  24. margin: 0;
  25. padding: 0;
  26. background-color: white;
  27. color: #252525;
  28. }
  29. .reader_toolbar {
  30. height: 2.5em;
  31. width: 100%;
  32. top: 0;
  33. left: 0;
  34. margin: 0;
  35. padding: 0 10px;
  36. position: fixed;
  37. border-bottom: 1px solid #989797;
  38. background-color: #eaeaea;
  39. display: -webkit-flex;
  40. display: -moz-flex;
  41. display: flex;
  42. -webkit-align-items: center;
  43. -moz-align-items: center;
  44. align-items: center;
  45. -webkit-justify-content: space-between;
  46. -moz-justify-content: space-between;
  47. justify-content: space-between;
  48. z-index: 2;
  49. }
  50. #main_text_view {
  51. padding-left: 21em;
  52. padding-right: 20em;
  53. padding-top: 2.5em;
  54. font-family: "Noto Sans", "Noto Sans SC", "Noto Sans TC","Noto Sans Tai Tham", "ATaiThamKHNewV3-Normal", Arial, Verdana;
  55. }
  56. button,
  57. input[type="button"],
  58. input[type="submit"] {
  59. font-weight: 500;
  60. font-size: 90%;
  61. background-color: rgba(255, 0, 0, 0);
  62. color: #757af7;
  63. border: 1px solid #ff000000;
  64. border-radius: 4px;
  65. margin: 2px;
  66. padding: 2px 12px;
  67. -webkit-transition-duration: 0.2s;
  68. -moz-transition-duration: 0.2s;
  69. transition-duration: 0.2s;
  70. cursor: pointer;
  71. display: -webkit-inline-flex;
  72. display: -moz-inline-flex;
  73. display: inline-flex;
  74. -webkit-align-items: center;
  75. -moz-align-items: center;
  76. align-items: center;
  77. -webkit-flex-wrap: nowrap;
  78. -moz-flex-wrap: nowrap;
  79. flex-wrap: nowrap;
  80. -webkit-justify-content: center;
  81. -moz-justify-content: center;
  82. justify-content: center;
  83. }
  84. button:hover,
  85. input[type="button"]:hover,
  86. input[type="submit"]:hover {
  87. background-color: #ff000000;
  88. color: white;
  89. }
  90. button:disabled,
  91. input[type="button"]:disabled,
  92. input[type="submit"]:disabled {
  93. color: #878787;
  94. border-color: #878787;
  95. }
  96. .par_div {
  97. margin: 1em 5px 1em 15px;
  98. }
  99. .text_level_0 {
  100. }
  101. .text_level_1 {
  102. font-size: 200%;
  103. font-weight: 700;
  104. text-align: center;
  105. }
  106. .text_level_2 {
  107. text-align: center;
  108. font-size: 140%;
  109. font-weight: 700;
  110. }
  111. .text_level_3 {
  112. text-align: center;
  113. font-size: 120%;
  114. font-weight: 700;
  115. }
  116. .text_level_4 {
  117. font-size: 110%;
  118. font-weight: 700;
  119. }
  120. .text_level_5 {
  121. font-weight: 700;
  122. }
  123. .text_level_6 {
  124. font-weight: 500;
  125. }
  126. .text_level_7 {
  127. font-weight: 500;
  128. }
  129. .text_level_8 {
  130. line-height: 130%;
  131. }
  132. .comments_text_div {
  133. margin: 2px 1em;
  134. background-color: #fff1d2;
  135. padding: 4px;
  136. border-left: 4px solid#eda710;
  137. display: -webkit-flex;
  138. display: -moz-flex;
  139. display: flex;
  140. -webkit-align-items: center;
  141. -moz-align-items: center;
  142. align-items: center;
  143. -webkit-justify-content: space-between;
  144. -moz-justify-content: space-between;
  145. justify-content: space-between;
  146. }
  147. .comments_text {
  148. font-size: 80%;
  149. }
  150. #new_comm_text {
  151. width: 100%;
  152. height: 5em;
  153. }
  154. /* 下拉按钮样式 */
  155. .case_dropbtn {
  156. }
  157. .case_dropdown .case_dropbtn {
  158. display: flex;
  159. cursor: pointer;
  160. margin: 0px;
  161. }
  162. /* 容器 <div> - 需要定位下拉内容 */
  163. .case_dropdown {
  164. padding: 0;
  165. cursor: pointer;
  166. min-width: 3em;
  167. display: inline-block;
  168. }
  169. /* 下拉内容 (默认隐藏) */
  170. .case_dropdown-content {
  171. margin: 0.3em;
  172. display: none;
  173. position: absolute;
  174. background-color: white;
  175. min-width: 8em;
  176. max-width: 30em;
  177. margin: -1px 0px;
  178. box-shadow: 0px 3px 13px 0px black;
  179. color: black;
  180. z-index: 200;
  181. }
  182. .case_dropdown-title {
  183. padding: 0.1em 0.1em;
  184. display: block;
  185. text-align: left;
  186. background-color: #fdfdbf;
  187. font-size: 80%;
  188. cursor: default;
  189. font-weight: 500;
  190. }
  191. /* 下拉菜单的链接 */
  192. .case_dropdown-content a {
  193. /*padding: 0.3em 0.4em;*/
  194. line-height: 160%;
  195. text-decoration: none;
  196. display: block;
  197. cursor: pointer;
  198. text-align: left;
  199. }
  200. /* 鼠标移上去后修改下拉菜单链接颜色 */
  201. .case_dropdown-content a:hover {
  202. background-color: blue;
  203. color: white;
  204. }
  205. /* 在鼠标移上去后显示下拉菜单 */
  206. .case_dropdown:hover .case_dropdown-content {
  207. display: block;
  208. }
  209. /* 当下拉内容显示后修改下拉按钮的背景颜色 */
  210. .case_dropdown:hover .case_dropbtn {
  211. opacity: 0.4;
  212. }
  213. /*下拉菜单结束*/
  214. #tool_bar_comments {
  215. display: none;
  216. }
  217. #tool_bar_dighest {
  218. display: none;
  219. }
  220. .full_screen_window {
  221. height: 100%;
  222. width: 100%;
  223. top: 0;
  224. left: 0;
  225. margin: 0;
  226. padding: 0;
  227. position: fixed;
  228. background-color: white;
  229. }
  230. .full_screen_window .win_caption {
  231. height: 2em;
  232. border-bottom: 1px solid #989797;
  233. background-color: #eaeaea;
  234. display: -webkit-flex;
  235. display: -moz-flex;
  236. display: flex;
  237. -webkit-align-items: center;
  238. -moz-align-items: center;
  239. align-items: center;
  240. -webkit-justify-content: space-between;
  241. -moz-justify-content: space-between;
  242. justify-content: space-between;
  243. }
  244. #dighest_edit_div {
  245. display: none;
  246. }
  247. #leftmenuinner {
  248. background-color: white;
  249. position: fixed;
  250. display: block;
  251. top: 0;
  252. left: 0;
  253. padding: 0;
  254. height: 100%;
  255. width: 100%;
  256. max-width: 20em;
  257. z-index: 15;
  258. -webkit-transition-duration: 0.4s;
  259. transition-duration: 0.4s;
  260. border-right: 1px solid gray;
  261. }
  262. .viewswitch_on {
  263. -webkit-transform: translateX(0em);
  264. -moz-transform: translateX(0em);
  265. transform: translateX(0em);
  266. box-shadow: 5px 0 20px 5px var(--shadow-color);
  267. }
  268. .viewswitch_off {
  269. -webkit-transform: translateX(0em);
  270. -moz-transform: translateX(0em);
  271. transform: translateX(0em);
  272. box-shadow: 5px 0 20px 5px var(--shadow-color);
  273. }
  274. .common-tab {
  275. text-align: center;
  276. width: auto;
  277. position: relative;
  278. height: 100%;
  279. display: -webkit-flex;
  280. display: -moz-flex;
  281. display: flex;
  282. margin: 15px 15px 0 15px;
  283. align-items: flex-end;
  284. font-weight: 500;
  285. z-index: 11;
  286. }
  287. .common-tab_li {
  288. margin: 0;
  289. padding: 8px 10px;
  290. display: inline-block;
  291. cursor: pointer;
  292. border: 1px solid gray;
  293. border-bottom: 0px;
  294. }
  295. .common-tab_li_act {
  296. color: var(--tool-color);
  297. margin: 0;
  298. padding: 8px 10px;
  299. display: inline-block;
  300. cursor: pointer;
  301. box-shadow: 0 1px 0 0 black;
  302. background-color: gray;
  303. border: 1px solid black;
  304. border-bottom: 0px;
  305. border-top-right-radius: 4px;
  306. border-top-left-radius: 4px;
  307. }
  308. .blackscreen {
  309. position: fixed;
  310. left: 0;
  311. top: 0;
  312. width: 100%;
  313. height: 100%;
  314. background-color: rgba(25, 25, 25, 0.6);
  315. display: none;
  316. z-index: 14;
  317. }
  318. .toc_item {
  319. padding: 0.3em 0.6em;
  320. line-height: 1.4em;
  321. border-radius: 2px;
  322. -webkit-transition-duration: 0.2s;
  323. transition-duration: 0.2s;
  324. cursor: pointer;
  325. display: -webkit-box;
  326. display: -moz-box;
  327. display: box;
  328. word-break: keep-all;
  329. overflow: hidden;
  330. white-space: nowrap;
  331. border-bottom: 1px solid #989797;
  332. }
  333. .level_2 {
  334. padding-left: 10px;
  335. }
  336. .level_3 {
  337. padding-left: 20px;
  338. }
  339. .level_4 {
  340. padding-left: 30px;
  341. }
  342. .level_4 {
  343. padding-left: 40px;
  344. }
  345. pb {
  346. width: 1em;
  347. height: 1em;
  348. background-color: blue;
  349. display: inline-block;
  350. }
  351. .tooltip {
  352. background-color: yellow;
  353. position: relative;
  354. display: inline;
  355. cursor: help;
  356. }
  357. .tooltip .tooltiptext {
  358. visibility: hidden;
  359. position: absolute;
  360. width: 100px;
  361. background-color: #555;
  362. color: #fff;
  363. text-align: center;
  364. padding: 5px 0;
  365. border-radius: 6px;
  366. z-index: 1;
  367. opacity: 0;
  368. transition: opacity 0.6s;
  369. }
  370. .tooltip .tooltiptext {
  371. width: 120px;
  372. top: 100%;
  373. left: 50%;
  374. margin-left: -60px; /* 使用一半宽度 (120/2 = 60) 来居中提示工具 */
  375. }
  376. .tooltip .tooltiptext::after {
  377. content: " ";
  378. position: absolute;
  379. bottom: 100%;
  380. /* 提示工具头部 */
  381. left: 50%;
  382. margin-left: -5px;
  383. border-width: 5px;
  384. border-style: solid;
  385. border-color: transparent transparent black transparent;
  386. }
  387. .tooltip:hover {
  388. color: #757af7;
  389. }
  390. .tooltip:hover .tooltiptext {
  391. visibility: visible;
  392. opacity: 1;
  393. }
  394. #tool_bar_title {
  395. font-family: "Noto Serif";
  396. font-weight: bold;
  397. }
  398. #tool_bar_fix {
  399. display: none;
  400. }
  401. #left_menu_hide {
  402. display: none;
  403. }
  404. #toc_content > div {
  405. padding: 4px 8px;
  406. }
  407. #toc_content > div > a {
  408. width: 100%;
  409. display: inline-block;
  410. color: black;
  411. text-decoration: none;
  412. }
  413. #toc_content > div:hover {
  414. background-color: #f1f1f1;
  415. }
  416. #para_nav_next_a,
  417. #para_nav_prev_a {
  418. display: none;
  419. }