markdown.less 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. .markdown-body {
  2. table {
  3. width: 100%;
  4. border-collapse: collapse;
  5. border-spacing: 0;
  6. margin-bottom: 20px;
  7. font-size: 14px;
  8. line-height: 1.42857143;
  9. color: #333;
  10. border: solid 1px #ddd;
  11. th {
  12. padding: 8px;
  13. line-height: 1.42857143;
  14. vertical-align: top;
  15. border-top: 1px solid #ddd;
  16. border-right: 1px solid #ddd;
  17. word-break: break-all;
  18. }
  19. td {
  20. padding: 8px;
  21. line-height: 1.42857143;
  22. vertical-align: top;
  23. border-top: 1px solid #ddd;
  24. border-right: 1px solid #ddd;
  25. word-break: break-all;
  26. }
  27. th {
  28. text-align: left;
  29. }
  30. th {
  31. background-color: #f9f9f9;
  32. }
  33. tr:nth-child(2n) {
  34. // background-color: #f9f9f9;
  35. }
  36. }
  37. .think {
  38. padding-left: 20px;
  39. border-left: solid 2px #999;
  40. color: #666;
  41. font-size: 12px;
  42. }
  43. .think-title {
  44. font-size: 14px;
  45. color: #333;
  46. }
  47. img, video {
  48. max-width: 100%;
  49. }
  50. pre {
  51. padding: 0;
  52. background: none;
  53. border: none;
  54. }
  55. }