chapter.module.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. .chapter-page {
  2. @apply w-full lg:w-0 lg:max-w-3xl flex-1 py-5 px-10 border-x border-x-gray-200 bg-white;
  3. :global(.dark) & {
  4. @apply bg-gray-800 border-x-gray-700;
  5. }
  6. }
  7. .chapter-header {
  8. @apply flex px-5 items-center relative;
  9. @apply lg:sticky;
  10. }
  11. .chapter-main {
  12. @apply flex justify-center bg-gray-100;
  13. :global(.dark) & {
  14. @apply bg-gray-900;
  15. }
  16. }
  17. .novel {
  18. @apply w-full;
  19. header {
  20. @apply mb-5;
  21. }
  22. h1 {
  23. @apply text-2xl font-bold;
  24. }
  25. p {
  26. @apply my-3;
  27. }
  28. }
  29. .toolbar {
  30. @apply fixed bottom-0 left-0 w-full bg-gray-800 z-30 text-gray-400; // hidden;
  31. @apply lg:right-0 lg:w-auto lg:left-auto lg:h-full lg:flex lg:items-center lg:justify-center;
  32. .toolbar-items {
  33. @apply flex lg:flex-col lg:w-full;
  34. }
  35. .toolbar-item {
  36. // position: relative;
  37. // display: flex;
  38. // height: 100%;
  39. // flex-basis: 100%;
  40. // cursor: pointer;
  41. // flex-direction: column;
  42. // align-items: center;
  43. // justify-content: center;
  44. // gap: 0.25rem;
  45. // border-color: currentColor;
  46. @apply flex-1 flex items-center justify-center py-5 lg:border-t lg:border-t-gray-900 lg:p-4 lg:hover:bg-gray-700 lg:last:border-b lg:last:border-b-gray-900;
  47. svg {
  48. @apply w-5 h-5 lg:w-4 lg:h-4;
  49. }
  50. }
  51. }
  52. .toolbar-display {
  53. @apply fixed bottom-0 left-0 w-full bg-gray-900 z-40 pt-4 pb-5 px-5 hidden;
  54. @apply lg:relative lg:w-96;
  55. .toolbar-display-title {
  56. @apply text-base mb-2;
  57. }
  58. .toolbar-display-label {
  59. @apply text-sm mb-2 mt-5;
  60. }
  61. // :global(.btn-group){
  62. // @apply w-full;
  63. // }
  64. }