2
0

style.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. #main_tag {
  2. font-size: 150%;
  3. text-align: center;
  4. margin: 5em 0;
  5. transition: all 600ms ease;
  6. text-transform: capitalize;
  7. }
  8. #main_tag span {
  9. margin: 2px;
  10. padding: 2px 12px;
  11. font-weight: 500;
  12. transition-duration: 0.2s;
  13. cursor: pointer;
  14. font-size: 120%;
  15. border: unset;
  16. border-radius: 0;
  17. border-bottom: 2px solid var(--nocolor);
  18. display: inline-block;
  19. }
  20. #main_tag span:hover {
  21. background-color: unset;
  22. color: unset;
  23. border-color: var(--link-hover-color);
  24. }
  25. #main_tag .select {
  26. border-bottom: 2px solid var(--link-color);
  27. }
  28. #tag_selected {
  29. margin: 1em 0;
  30. }
  31. tag {
  32. background-color: var(--btn-color);
  33. margin: 2px;
  34. padding: 2px 12px;
  35. border-radius: 5px;
  36. cursor: pointer;
  37. }
  38. tag:hover{
  39. background-color: var(--border-line-color);
  40. }
  41. .tag-delete {
  42. margin-left: 6px;
  43. color: #f93e3e;
  44. cursor: pointer;
  45. }
  46. .tag-delete:hover {
  47. color: red;
  48. font-weight: 700;
  49. }
  50. .tag_others {
  51. margin: 10px 0;
  52. }
  53. .canon-tag {
  54. background-color: #46a6d2;
  55. border: 0;
  56. border-radius: 6px;
  57. color: white;
  58. font-weight: 400;
  59. }
  60. .canon-tag:hover {
  61. background-color: var(--link-hover-color);
  62. }
  63. .sutta_row {
  64. display: grid;
  65. align-items: center;
  66. grid-template-columns: 100px 200px 100px auto;
  67. width: 100%;
  68. border-bottom: 1px solid var(--border-line-color);
  69. }
  70. .sutta_row div {
  71. padding: 10px;
  72. /*display: flex;*/
  73. justify-items: center;
  74. }
  75. .sutta_row:hover {
  76. background-color: var(--drop-bg-color);
  77. }
  78. .c_level_1 {
  79. padding-top: 15px;
  80. padding-bottom: 15px;
  81. background-color: var(--main-color1);
  82. }
  83. .c_level_1 .chapter_title {
  84. font-size: 120%;
  85. font-weight: 700;
  86. }
  87. #book_list {
  88. display: flex;
  89. flex-wrap: wrap;
  90. }
  91. .chapter_list {
  92. display: none;
  93. }
  94. .chapter_book {
  95. display: block;
  96. }
  97. .chapter_progress {
  98. display: block;
  99. }
  100. .parent_chapter {
  101. width: 350px;
  102. }
  103. .parent_chapter .chapter_book,
  104. .parent_chapter .chapter_progress {
  105. display: none;
  106. }
  107. #select_bar {
  108. display: flex;
  109. justify-content: space-between;
  110. }
  111. .chapter_list {
  112. display: flex;
  113. }
  114. .chapter_list > div{
  115. max-height: calc(100vh - 100px);
  116. overflow-y: scroll;
  117. }
  118. .chapter_list .grid {
  119. width: 400px;
  120. max-width: 100%;
  121. }
  122. .chapter_list .list {
  123. width: 200px;
  124. }
  125. .chapter_list .list .chapter_head_tool_bar {
  126. display: none;
  127. }
  128. .chapter_list .list .res_more {
  129. display: none;
  130. }
  131. .chapter_list .show {
  132. display: block;
  133. }
  134. .chapter_list .hidden {
  135. display: none;
  136. }
  137. .chapter_list .list .resource .item {
  138. display: none;
  139. }
  140. .chapter_list ul {
  141. padding: 0;
  142. }
  143. .chapter_list ul li .main {
  144. display: flex;
  145. justify-content: space-between;
  146. padding: 8px;
  147. white-space: nowrap;
  148. overflow-x: hidden;
  149. border-bottom: 1px solid var(--border-line-color);
  150. }
  151. .chapter_list ul li:hover {
  152. /*background-color: darkorange;*/
  153. /*cursor: pointer;*/
  154. }
  155. .chapter_list .resource {
  156. margin-top: auto;
  157. margin-bottom: auto;
  158. white-space: normal;
  159. display: -webkit-box;
  160. -webkit-box-orient: vertical;
  161. -webkit-line-clamp: 3;
  162. overflow: hidden;
  163. word-break: break-word;
  164. word-wrap: break-word;
  165. }
  166. .chapter_list .title .title_1 {
  167. color: var(--link-color);
  168. font-weight: 700;
  169. font-size: 110%;
  170. width: 637px;
  171. white-space: normal;
  172. }
  173. .chapter_list .title .title_1:hover {
  174. color: var(--link-hover-color);
  175. cursor: pointer;
  176. }
  177. .chapter_list .title .title_2 {
  178. font-size: 80%;
  179. color: var(--main-color1);
  180. }
  181. .subchapter {
  182. margin-left: 1.5em;
  183. padding-left: 0.5em;
  184. display: none;
  185. border-left: 2px solid gray;
  186. }
  187. .selected .title_2 {
  188. font-size: 80%;
  189. color: unset;
  190. }
  191. .chapter_list .title {
  192. text-transform: capitalize;
  193. }
  194. .chapter_list .title div:lang(pali) {
  195. font-size: 80%;
  196. }
  197. .chapter_list .selected {
  198. background-color: var(--btn-color);
  199. }
  200. /*書標題特殊樣式*/
  201. .chapter_list .level_1 {
  202. color: whitesmoke;
  203. }
  204. .book_view .level_1 {
  205. background: linear-gradient(45deg, #e89650 20%, transparent 90%);
  206. }
  207. /*当前选择書標題特殊樣式*/
  208. li.level_1.selected {
  209. /*height: 250px;*/
  210. background: linear-gradient(45deg, #e89650 20%, transparent 90%);
  211. }
  212. .progress_circle {
  213. transform-origin: center;
  214. transform: rotateZ(-90deg);
  215. }
  216. .progress_color {
  217. stroke: mediumseagreen;
  218. }
  219. .progress_bg {
  220. stroke: lightgrey;
  221. }
  222. .chapter_head {
  223. border-bottom: 1px solid var(--border-line-color);
  224. }
  225. .chapter_head .title {
  226. text-align: center;
  227. }
  228. .chapter_head .title .title_1 {
  229. color: var(--main-color);
  230. font-size: 120%;
  231. padding: 1em 0 0.5em 0;
  232. font-weight: 700;
  233. }
  234. .chapter_head .title .title_2 {
  235. padding: 0 0 0.5em 0;
  236. }
  237. .progress .item {
  238. display: flex;
  239. margin: 5px;
  240. }
  241. .progress .item .lang {
  242. line-height: 30px;
  243. padding-left: 10px;
  244. }
  245. .chapter_head .res {
  246. border-top: 1px solid var(--border-line-color);
  247. }
  248. .chapter_head .res h2 {
  249. padding: 0 5px;
  250. font-size: 100%;
  251. font-weight: 700;
  252. }
  253. .chapter_head_tool_bar .chapter_back_button {
  254. display: none;
  255. }
  256. .chapter_head_tool_bar .chapter_close_button {
  257. display: inline-block;
  258. }
  259. .chapter_head_tool_bar {
  260. display: flex;
  261. justify-content: space-between;
  262. }
  263. .book_view .grid {
  264. width: 100%;
  265. }
  266. .book_view ul {
  267. border-right: unset;
  268. }
  269. .book_view ul li {
  270. width: 180px;
  271. height: 120px;
  272. margin: 1em;
  273. border: 10px solid wheat;
  274. }
  275. .book_view ul {
  276. display: flex;
  277. flex-flow: wrap;
  278. }
  279. .chapter_list .more_info{
  280. display:none;
  281. }
  282. .head_bar{
  283. display:flex;
  284. }
  285. .book_view .list li {
  286. width: 180px;
  287. height: unset;
  288. margin: unset;
  289. border: unset;
  290. }