novel-info.module.scss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .novel-wrap {
  2. @apply bg-cover bg-center overflow-hidden relative;
  3. @apply before:absolute before:inset-0 before:bg-white before:bg-opacity-60 before:backdrop-blur;
  4. }
  5. .novel-container {
  6. @apply container relative;
  7. }
  8. .crumbs {
  9. @apply flex items-center my-4;
  10. svg {
  11. @apply w-5 h-5;
  12. }
  13. a,
  14. span {
  15. @apply mr-1;
  16. }
  17. }
  18. .novel-info {
  19. @apply flex pb-5;
  20. .novel-info-cover {
  21. @apply w-24 flex-shrink-0 mr-4 self-start md:w-32 lg:w-56 lg:mr-10;
  22. }
  23. .nove-info-body {
  24. @apply w-0 flex-1 flex flex-col justify-between;
  25. h1 {
  26. @apply w-full text-xl font-bold md:text-3xl lg:text-4xl;
  27. small {
  28. @apply text-xs inline-block align-middle px-2 py-0.5 bg-primary text-white rounded ml-2;
  29. }
  30. }
  31. h2 {
  32. @apply text-sm flex items-center whitespace-nowrap flex-wrap py-2 lg:text-xl;
  33. a,
  34. strong {
  35. @apply flex items-center mr-2 font-bold lg:mr-4;
  36. }
  37. svg {
  38. @apply w-4 h-4 mr-1 md:w-5 md:h-5 lg:w-8 lg:h-8;
  39. }
  40. }
  41. .btns {
  42. @apply flex;
  43. }
  44. .button {
  45. @apply block bg-primary text-white px-4 py-2 rounded-md uppercase lg:text-lg;
  46. }
  47. }
  48. }