1
0

app.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. .container {
  2. margin: 45px auto;
  3. max-width: 880px;
  4. min-height: calc(100vh - 70px);
  5. }
  6. .footer {
  7. height: 50px;
  8. text-align: center;
  9. color: gray;
  10. background-color: #efefef;
  11. line-height: 50px; /*设置line-height与父级元素的height相等, 以实现垂直居中*/
  12. margin: 0 auto;
  13. }
  14. .footer hr {
  15. margin-bottom: 0.5rem;
  16. }
  17. .footer a:visited {
  18. color: #9B59B6;
  19. }
  20. .footer a {
  21. color: #2980B9;
  22. text-decoration: none;
  23. cursor: pointer;
  24. }
  25. #input-container {
  26. margin-top: 20px;
  27. }
  28. #title {
  29. text-align: center;
  30. position: absolute;
  31. left: 50%;
  32. transform: translateX(-50%)
  33. }
  34. .markdown-body blockquote, .markdown-body dl, .markdown-body ol, .markdown-body p, .markdown-body pre, .markdown-body table, .markdown-body ul {
  35. margin-bottom: 10px;
  36. }
  37. .CodeMirror {
  38. font-size: 13px
  39. }
  40. .mditor {
  41. height: 400px;
  42. width: auto;
  43. }
  44. /*非固定行高模式*/
  45. .no-fix-height {
  46. margin-top: 20px;
  47. }
  48. .no-fix-height .mditor {
  49. height: initial;
  50. padding-top: 0;
  51. border: 0;
  52. }
  53. .no-fix-height .mditor .body {
  54. height: initial;
  55. box-shadow: unset;
  56. }
  57. .no-fix-height .mditor .viewer {
  58. height: initial;
  59. padding-bottom: 20px;
  60. }
  61. .no-fix-height .mditor .head {
  62. display: none;
  63. }
  64. .no-fix-height #input-container {
  65. margin: 0 10px;
  66. }
  67. .no-fix-height #input-container h5.card-header {
  68. padding: .4rem 1.25rem;
  69. }
  70. h5.card-header:empty {
  71. padding: 0 !important;
  72. border-bottom: 0 !important;
  73. }
  74. button {
  75. margin-bottom: 8px;
  76. }
  77. td blockquote, td dl, td ol, td p, td pre, td table, td ul, td button, td pre {
  78. margin-bottom: 0 !important;
  79. }
  80. .input-container .form-group {
  81. margin-bottom: 0;
  82. }
  83. img {
  84. -webkit-animation-name: image-load-in;
  85. animation-name: image-load-in;
  86. -webkit-animation-duration: .6s;
  87. animation-duration: .6s
  88. }
  89. @-webkit-keyframes image-load-in {
  90. 0% {
  91. -webkit-filter: blur(8px);
  92. filter: blur(8px);
  93. opacity: 0
  94. }
  95. 100% {
  96. -webkit-filter: blur(0);
  97. filter: blur(0);
  98. opacity: 1
  99. }
  100. }
  101. @keyframes image-load-in {
  102. 0% {
  103. -webkit-filter: blur(8px);
  104. filter: blur(8px);
  105. opacity: 0
  106. }
  107. 100% {
  108. -webkit-filter: blur(0);
  109. filter: blur(0);
  110. opacity: 1
  111. }
  112. }
  113. .custom-file {
  114. margin-bottom: 8px;
  115. }