prosemirror.scss 846 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .ProseMirror, .ProseMirror-static {
  2. outline: 0;
  3. border: 0;
  4. font-size: 20px;
  5. line-height: 1.5;
  6. word-break: break-word;
  7. font-family: '微软雅黑';
  8. ::selection {
  9. background-color: rgba(27, 110, 232, 0.3);
  10. color: inherit;
  11. }
  12. p + p {
  13. margin-top: 5px;
  14. }
  15. ul {
  16. list-style-type: disc;
  17. padding-inline-start: 20px;
  18. li {
  19. list-style-type: disc;
  20. }
  21. }
  22. ol {
  23. list-style-type: decimal;
  24. padding-inline-start: 20px;
  25. li {
  26. list-style-type: decimal;
  27. }
  28. }
  29. code {
  30. background-color: #eee;
  31. padding: 1px 3px;
  32. margin: 0 1px;
  33. border-radius: 2px;
  34. font-family: inherit;
  35. }
  36. blockquote {
  37. overflow: hidden;
  38. padding-right: 1.2em;
  39. padding-left: 1.2em;
  40. margin-left: 0;
  41. margin-right: 0;
  42. font-style: italic;
  43. border-left: 5px solid #ccc;
  44. }
  45. }