_markdown.scss 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. .cu-markdown {
  2. position: relative;
  3. z-index: 1;
  4. &.selectable {
  5. cursor: auto;
  6. user-select: text;
  7. }
  8. inline {
  9. display: inline-block;
  10. }
  11. .list {
  12. .list-item {
  13. line-height: 1.8;
  14. .list {
  15. margin-left: 1.28571em;
  16. .ui-title {
  17. transform: scale(0.6);
  18. &:before {
  19. content: '\e716';
  20. }
  21. }
  22. }
  23. }
  24. .list-item-p {
  25. position: relative;
  26. padding-left: 1.5em;
  27. .list-item-t {
  28. display: block;
  29. width: 1.3em;
  30. text-align: center;
  31. position: absolute;
  32. left: 0;
  33. }
  34. }
  35. }
  36. .md-table + .md-table {
  37. margin-top: 30rpx;
  38. }
  39. }
  40. .paragraph {
  41. margin: 0 0 40rpx;
  42. line-height: 1.8;
  43. }
  44. .blockquote {
  45. @extend .paragraph;
  46. padding: 20rpx 30rpx;
  47. border-left-style: solid;
  48. border-left-width: 10rpx;
  49. border-color: var(--ui-Border);
  50. background: none repeat scroll 0 0 rgba(102, 128, 153, 0.05);
  51. .paragraph {
  52. margin-bottom: 30rpx;
  53. }
  54. .paragraph:last-child {
  55. margin-bottom: 0;
  56. }
  57. }