prosemirror.scss 829 B

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