app.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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. .input-container .form-group {
  78. margin-bottom: 0;
  79. }
  80. img {
  81. -webkit-animation-name: image-load-in;
  82. animation-name: image-load-in;
  83. -webkit-animation-duration: .6s;
  84. animation-duration: .6s
  85. }
  86. @-webkit-keyframes image-load-in {
  87. 0% {
  88. -webkit-filter: blur(8px);
  89. filter: blur(8px);
  90. opacity: 0
  91. }
  92. 100% {
  93. -webkit-filter: blur(0);
  94. filter: blur(0);
  95. opacity: 1
  96. }
  97. }
  98. @keyframes image-load-in {
  99. 0% {
  100. -webkit-filter: blur(8px);
  101. filter: blur(8px);
  102. opacity: 0
  103. }
  104. 100% {
  105. -webkit-filter: blur(0);
  106. filter: blur(0);
  107. opacity: 1
  108. }
  109. }
  110. .custom-file {
  111. margin-bottom: 8px;
  112. }