style.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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 > div{
  112. max-height: calc(100vh - 100px);
  113. overflow-y: scroll;
  114. }
  115. .chapter_list .grid {
  116. width: 400px;
  117. max-width: 100%;
  118. }
  119. .chapter_list .list {
  120. width: 200px;
  121. }
  122. .chapter_list .list .chapter_head_tool_bar {
  123. display: none;
  124. }
  125. .chapter_list .list .res_more {
  126. display: none;
  127. }
  128. .chapter_list .show {
  129. display: block;
  130. }
  131. .chapter_list .hidden {
  132. display: none;
  133. }
  134. .chapter_list .list .resource .item {
  135. display: none;
  136. }
  137. .chapter_list ul {
  138. background-color: antiquewhite;
  139. border-left: 1px solid brown;
  140. border-right: 1px solid brown;
  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. }
  150. .chapter_list ul li:hover {
  151. background-color: darkorange;
  152. cursor: pointer;
  153. }
  154. .chapter_list .resource {
  155. display: flex;
  156. margin-top: auto;
  157. margin-bottom: auto;
  158. }
  159. .chapter_list .title .title_1 {
  160. color: var(--main-color);
  161. font-weight: 700;
  162. font-size: 110%;
  163. }
  164. .chapter_list .title .title_2 {
  165. font-size: 80%;
  166. color: var(--main-color1);
  167. }
  168. .selected .title_2 {
  169. font-size: 80%;
  170. color: unset;
  171. }
  172. .chapter_list .title {
  173. text-transform: capitalize;
  174. }
  175. .chapter_list .title div:lang(pali) {
  176. font-size: 80%;
  177. }
  178. .chapter_list .selected {
  179. background-color: chocolate;
  180. color: whitesmoke;
  181. }
  182. /*書標題特殊樣式*/
  183. .chapter_list .level_1 {
  184. color: whitesmoke;
  185. }
  186. .book_view .level_1 {
  187. background: linear-gradient(45deg, #e89650 20%, transparent 90%);
  188. }
  189. /*当前选择書標題特殊樣式*/
  190. li.level_1.selected {
  191. /*height: 250px;*/
  192. background: linear-gradient(45deg, #e89650 20%, transparent 90%);
  193. }
  194. .progress_circle {
  195. transform-origin: center;
  196. transform: rotateZ(-90deg);
  197. }
  198. .progress_color {
  199. stroke: mediumseagreen;
  200. }
  201. .progress_bg {
  202. stroke: lightgrey;
  203. }
  204. .chapter_head {
  205. border-bottom: 1px solid var(--border-line-color);
  206. }
  207. .chapter_head .title {
  208. text-align: center;
  209. }
  210. .chapter_head .title .title_1 {
  211. color: var(--main-color);
  212. font-size: 120%;
  213. padding: 1em 0 0.5em 0;
  214. font-weight: 700;
  215. }
  216. .chapter_head .title .title_2 {
  217. padding: 0 0 0.5em 0;
  218. }
  219. .progress .item {
  220. display: flex;
  221. margin: 5px;
  222. }
  223. .progress .item .lang {
  224. line-height: 30px;
  225. padding-left: 10px;
  226. }
  227. .chapter_head .res {
  228. border-top: 1px solid var(--border-line-color);
  229. }
  230. .chapter_head .res h2 {
  231. padding: 0 5px;
  232. font-size: 100%;
  233. font-weight: 700;
  234. }
  235. .chapter_head_tool_bar .chapter_back_button {
  236. display: none;
  237. }
  238. .chapter_head_tool_bar .chapter_close_button {
  239. display: inline-block;
  240. }
  241. .chapter_head_tool_bar {
  242. display: flex;
  243. justify-content: space-between;
  244. }
  245. .book_view .grid {
  246. width: 100%;
  247. }
  248. .book_view ul {
  249. border-right: unset;
  250. }
  251. .book_view ul li {
  252. width: 180px;
  253. height: 250px;
  254. margin: 1em;
  255. border: 10px solid wheat;
  256. }
  257. .book_view ul {
  258. display: flex;
  259. flex-flow: wrap;
  260. }