style.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. .chapter_list {
  2. display: flex;
  3. }
  4. .chapter_list .grid {
  5. width: 400px;
  6. max-width: 100%;
  7. }
  8. .chapter_list .list {
  9. width: 200px;
  10. }
  11. .chapter_list .list .res_more {
  12. display: none;
  13. }
  14. .chapter_list .show {
  15. display: block;
  16. }
  17. .chapter_list .hidden {
  18. display: none;
  19. }
  20. .chapter_list .list .resource .item {
  21. display: none;
  22. }
  23. .chapter_list ul {
  24. background-color: antiquewhite;
  25. border-left: 1px solid brown;
  26. border-right: 1px solid brown;
  27. padding: 0;
  28. }
  29. .chapter_list ul li {
  30. display: flex;
  31. justify-content: space-between;
  32. padding: 8px;
  33. white-space: nowrap;
  34. overflow-x: hidden;
  35. }
  36. .chapter_list ul li:hover {
  37. background-color: darkorange;
  38. }
  39. .chapter_list .resource {
  40. display: flex;
  41. margin-top: auto;
  42. margin-bottom: auto;
  43. }
  44. .chapter_list .title .title_1 {
  45. font-weight: 700;
  46. font-size: 110%;
  47. }
  48. .chapter_list .title .title_2 {
  49. font-size: 80%;
  50. color: var(--main-color1);
  51. }
  52. .selected .title_2 {
  53. font-size: 80%;
  54. color: unset;
  55. }
  56. .chapter_list .title div:lang(pali) {
  57. font-size: 80%;
  58. }
  59. .chapter_list .selected {
  60. background-color: chocolate;
  61. color: whitesmoke;
  62. }
  63. .chapter_list .level_1 {
  64. background: linear-gradient(45deg, brown 20%, transparent 90%);
  65. color: whitesmoke;
  66. }
  67. .progress_circle {
  68. transform-origin: center;
  69. transform: rotateZ(-90deg);
  70. }
  71. .progress_color {
  72. stroke: mediumseagreen;
  73. }
  74. .progress_bg {
  75. stroke: lightgrey;
  76. }
  77. .chapter_head {
  78. border-bottom: 1px solid var(--border-line-color);
  79. }
  80. .chapter_head .title {
  81. text-align: center;
  82. }
  83. .chapter_head .title .title_1 {
  84. font-size: 120%;
  85. padding: 1em 0 0.5em 0;
  86. font-weight: 700;
  87. }
  88. .chapter_head .title .title_1 {
  89. font-size: 120%;
  90. padding: 1em 0 0.5em 0;
  91. font-weight: 700;
  92. }
  93. .chapter_head .title .title_2 {
  94. padding: 0 0 0.5em 0;
  95. }
  96. .progress .item {
  97. display: flex;
  98. }