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