app.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .container {
  2. margin: 45px auto;
  3. max-width: 880px;
  4. }
  5. #input-container {
  6. margin-top: 20px;
  7. }
  8. #title {
  9. text-align: center;
  10. position: absolute;
  11. left: 50%;
  12. transform: translateX(-50%)
  13. }
  14. .markdown-body blockquote, .markdown-body dl, .markdown-body ol, .markdown-body p, .markdown-body pre, .markdown-body table, .markdown-body ul {
  15. margin-bottom: 10px;
  16. }
  17. .CodeMirror {
  18. font-size: 13px
  19. }
  20. .mditor {
  21. height: 400px;
  22. width: auto;
  23. }
  24. /*非固定行高模式*/
  25. .no-fix-height {
  26. margin-top: 20px;
  27. }
  28. .no-fix-height .mditor {
  29. height: initial;
  30. padding-top: 0;
  31. border: 0;
  32. }
  33. .no-fix-height .mditor .body {
  34. height: initial;
  35. box-shadow: unset;
  36. }
  37. .no-fix-height .mditor .viewer {
  38. height: initial;
  39. padding-bottom: 20px;
  40. }
  41. .no-fix-height .mditor .head {
  42. display: none;
  43. }
  44. .no-fix-height #input-container {
  45. margin: 0 10px;
  46. }
  47. .no-fix-height #input-container h5.card-header{
  48. padding: .4rem 1.25rem;
  49. }
  50. h5.card-header:empty{
  51. padding: 0 !important;
  52. border-bottom: 0 !important;
  53. }
  54. button{
  55. margin-bottom: 8px;
  56. }