style.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  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 {
  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: pre-wrap;
  159. display: -webkit-box;
  160. -webkit-box-orient: vertical;
  161. -webkit-line-clamp: 3;
  162. overflow: hidden;
  163. }
  164. .chapter_list .title .title_1 {
  165. color: var(--link-color);
  166. font-weight: 700;
  167. font-size: 110%;
  168. }
  169. .chapter_list .title .title_1:hover {
  170. color: var(--link-hover-color);
  171. cursor: pointer;
  172. }
  173. .chapter_list .title .title_2 {
  174. font-size: 80%;
  175. color: var(--main-color1);
  176. }
  177. .selected .title_2 {
  178. font-size: 80%;
  179. color: unset;
  180. }
  181. .chapter_list .title {
  182. text-transform: capitalize;
  183. }
  184. .chapter_list .title div:lang(pali) {
  185. font-size: 80%;
  186. }
  187. .chapter_list .selected {
  188. background-color: chocolate;
  189. color: whitesmoke;
  190. }
  191. /*書標題特殊樣式*/
  192. .chapter_list .level_1 {
  193. color: whitesmoke;
  194. }
  195. .book_view .level_1 {
  196. background: linear-gradient(45deg, #e89650 20%, transparent 90%);
  197. }
  198. /*当前选择書標題特殊樣式*/
  199. li.level_1.selected {
  200. /*height: 250px;*/
  201. background: linear-gradient(45deg, #e89650 20%, transparent 90%);
  202. }
  203. .progress_circle {
  204. transform-origin: center;
  205. transform: rotateZ(-90deg);
  206. }
  207. .progress_color {
  208. stroke: mediumseagreen;
  209. }
  210. .progress_bg {
  211. stroke: lightgrey;
  212. }
  213. .chapter_head {
  214. border-bottom: 1px solid var(--border-line-color);
  215. }
  216. .chapter_head .title {
  217. text-align: center;
  218. }
  219. .chapter_head .title .title_1 {
  220. color: var(--main-color);
  221. font-size: 120%;
  222. padding: 1em 0 0.5em 0;
  223. font-weight: 700;
  224. }
  225. .chapter_head .title .title_2 {
  226. padding: 0 0 0.5em 0;
  227. }
  228. .progress .item {
  229. display: flex;
  230. margin: 5px;
  231. }
  232. .progress .item .lang {
  233. line-height: 30px;
  234. padding-left: 10px;
  235. }
  236. .chapter_head .res {
  237. border-top: 1px solid var(--border-line-color);
  238. }
  239. .chapter_head .res h2 {
  240. padding: 0 5px;
  241. font-size: 100%;
  242. font-weight: 700;
  243. }
  244. .chapter_head_tool_bar .chapter_back_button {
  245. display: none;
  246. }
  247. .chapter_head_tool_bar .chapter_close_button {
  248. display: inline-block;
  249. }
  250. .chapter_head_tool_bar {
  251. display: flex;
  252. justify-content: space-between;
  253. }
  254. .book_view .grid {
  255. width: 100%;
  256. }
  257. .book_view ul {
  258. border-right: unset;
  259. }
  260. .book_view ul li {
  261. width: 180px;
  262. height: 120px;
  263. margin: 1em;
  264. border: 10px solid wheat;
  265. }
  266. .book_view ul {
  267. display: flex;
  268. flex-flow: wrap;
  269. }
  270. .chapter_list .more_info{
  271. display:none;
  272. }
  273. .head_bar{
  274. display:flex;
  275. }
  276. .book_view .list li {
  277. width: 180px;
  278. height: unset;
  279. margin: unset;
  280. border: unset;
  281. }