style.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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. border: 1px solid #fe897c;
  37. }
  38. .tag-delete {
  39. margin-left: 6px;
  40. color: #f93e3e;
  41. cursor: pointer;
  42. }
  43. .tag-delete:hover {
  44. color: red;
  45. font-weight: 700;
  46. }
  47. .tag_others {
  48. margin: 10px 0;
  49. }
  50. .canon-tag {
  51. background-color: #46a6d2;
  52. border: 0;
  53. border-radius: 6px;
  54. color: white;
  55. font-weight: 400;
  56. }
  57. .canon-tag:hover {
  58. background-color: var(--link-hover-color);
  59. }
  60. .sutta_row {
  61. display: grid;
  62. align-items: center;
  63. grid-template-columns: 100px 200px 100px auto;
  64. width: 100%;
  65. border-bottom: 1px solid var(--border-line-color);
  66. }
  67. .sutta_row div {
  68. padding: 10px;
  69. /*display: flex;*/
  70. justify-items: center;
  71. }
  72. .sutta_row:hover {
  73. background-color: var(--drop-bg-color);
  74. }
  75. .c_level_1 {
  76. padding-top: 15px;
  77. padding-bottom: 15px;
  78. background-color: var(--main-color1);
  79. }
  80. .c_level_1 .chapter_title {
  81. font-size: 120%;
  82. font-weight: 700;
  83. }
  84. #book_list {
  85. display: flex;
  86. flex-wrap: wrap;
  87. }
  88. .chapter_list {
  89. display: none;
  90. }
  91. .chapter_book {
  92. display: block;
  93. }
  94. .chapter_progress {
  95. display: block;
  96. }
  97. .parent_chapter {
  98. width: 350px;
  99. }
  100. .parent_chapter .chapter_book,
  101. .parent_chapter .chapter_progress {
  102. display: none;
  103. }
  104. #select_bar {
  105. display: flex;
  106. justify-content: space-between;
  107. }
  108. .chapter_list {
  109. display: flex;
  110. }
  111. .chapter_list .grid {
  112. width: 400px;
  113. max-width: 100%;
  114. }
  115. .chapter_list .list {
  116. width: 200px;
  117. }
  118. .chapter_list .list .chapter_head_tool_bar {
  119. display: none;
  120. }
  121. .chapter_list .list .res_more {
  122. display: none;
  123. }
  124. .chapter_list .show {
  125. display: block;
  126. }
  127. .chapter_list .hidden {
  128. display: none;
  129. }
  130. .chapter_list .list .resource .item {
  131. display: none;
  132. }
  133. .chapter_list ul {
  134. background-color: antiquewhite;
  135. border-left: 1px solid brown;
  136. border-right: 1px solid brown;
  137. padding: 0;
  138. }
  139. .chapter_list ul li {
  140. display: flex;
  141. justify-content: space-between;
  142. padding: 8px;
  143. white-space: nowrap;
  144. overflow-x: hidden;
  145. }
  146. .chapter_list ul li:hover {
  147. background-color: darkorange;
  148. cursor: pointer;
  149. }
  150. .chapter_list .resource {
  151. display: flex;
  152. margin-top: auto;
  153. margin-bottom: auto;
  154. }
  155. .chapter_list .title .title_1 {
  156. color: var(--main-color);
  157. font-weight: 700;
  158. font-size: 110%;
  159. }
  160. .chapter_list .title .title_2 {
  161. font-size: 80%;
  162. color: var(--main-color1);
  163. }
  164. .selected .title_2 {
  165. font-size: 80%;
  166. color: unset;
  167. }
  168. .chapter_list .title {
  169. text-transform: capitalize;
  170. }
  171. .chapter_list .title div:lang(pali) {
  172. font-size: 80%;
  173. }
  174. .chapter_list .selected {
  175. background-color: chocolate;
  176. color: whitesmoke;
  177. }
  178. /*書標題特殊樣式*/
  179. .chapter_list .level_1 {
  180. color: whitesmoke;
  181. }
  182. .book_view .level_1 {
  183. background: linear-gradient(45deg, #e89650 20%, transparent 90%);
  184. }
  185. /*当前选择書標題特殊樣式*/
  186. li.level_1.selected {
  187. height: 250px;
  188. background: linear-gradient(45deg, #e89650 20%, transparent 90%);
  189. }
  190. .progress_circle {
  191. transform-origin: center;
  192. transform: rotateZ(-90deg);
  193. }
  194. .progress_color {
  195. stroke: mediumseagreen;
  196. }
  197. .progress_bg {
  198. stroke: lightgrey;
  199. }
  200. .chapter_head {
  201. border-bottom: 1px solid var(--border-line-color);
  202. }
  203. .chapter_head .title {
  204. text-align: center;
  205. }
  206. .chapter_head .title .title_1 {
  207. color: var(--main-color);
  208. font-size: 120%;
  209. padding: 1em 0 0.5em 0;
  210. font-weight: 700;
  211. }
  212. .chapter_head .title .title_2 {
  213. padding: 0 0 0.5em 0;
  214. }
  215. .progress .item {
  216. display: flex;
  217. margin: 5px;
  218. }
  219. .progress .item .lang {
  220. line-height: 30px;
  221. padding-left: 10px;
  222. }
  223. .chapter_head .res {
  224. border-top: 1px solid var(--border-line-color);
  225. }
  226. .chapter_head .res h2 {
  227. padding: 0 5px;
  228. font-size: 100%;
  229. font-weight: 700;
  230. }
  231. .chapter_head_tool_bar .chapter_back_button {
  232. display: none;
  233. }
  234. .chapter_head_tool_bar .chapter_close_button {
  235. display: inline-block;
  236. }
  237. .chapter_head_tool_bar {
  238. display: flex;
  239. justify-content: space-between;
  240. }
  241. .book_view .grid {
  242. width: 100%;
  243. }
  244. .book_view ul {
  245. border-right: unset;
  246. }
  247. .book_view ul li {
  248. width: 180px;
  249. height: 250px;
  250. margin: 1em;
  251. border: 10px solid wheat;
  252. }
  253. .book_view ul {
  254. display: flex;
  255. flex-flow: wrap;
  256. }