app.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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. white-space: nowrap;
  34. }
  35. .markdown-body blockquote, .markdown-body dl, .markdown-body ol, .markdown-body p, .markdown-body pre, .markdown-body table, .markdown-body ul, .markdown-body details {
  36. margin-bottom: 10px;
  37. }
  38. .CodeMirror {
  39. font-size: 13px
  40. }
  41. .mditor {
  42. height: 400px;
  43. width: auto;
  44. }
  45. /*非固定行高模式*/
  46. .no-fix-height {
  47. margin-top: 20px;
  48. }
  49. .no-fix-height .mditor {
  50. height: initial;
  51. padding-top: 0;
  52. border: 0;
  53. }
  54. .no-fix-height .mditor .body {
  55. height: initial;
  56. box-shadow: unset;
  57. }
  58. .no-fix-height .mditor .viewer {
  59. height: initial;
  60. padding-bottom: 20px;
  61. }
  62. .no-fix-height .mditor .head {
  63. display: none;
  64. }
  65. .no-fix-height #input-container {
  66. margin: 0 10px;
  67. }
  68. .no-fix-height #input-container h5.card-header {
  69. padding: .4rem 1.25rem;
  70. }
  71. h5.card-header:empty {
  72. padding: 0 !important;
  73. border-bottom: 0 !important;
  74. }
  75. button {
  76. margin-bottom: 8px;
  77. }
  78. td blockquote, td dl, td ol, td p, td pre, td table, td ul, td button, td pre {
  79. margin-bottom: 0 !important;
  80. }
  81. .input-container .form-group {
  82. margin-bottom: 0;
  83. }
  84. img {
  85. -webkit-animation-name: image-load-in;
  86. animation-name: image-load-in;
  87. -webkit-animation-duration: .6s;
  88. animation-duration: .6s
  89. }
  90. @-webkit-keyframes image-load-in {
  91. 0% {
  92. -webkit-filter: blur(8px);
  93. filter: blur(8px);
  94. opacity: 0
  95. }
  96. 100% {
  97. -webkit-filter: blur(0);
  98. filter: blur(0);
  99. opacity: 1
  100. }
  101. }
  102. @keyframes image-load-in {
  103. 0% {
  104. -webkit-filter: blur(8px);
  105. filter: blur(8px);
  106. opacity: 0
  107. }
  108. 100% {
  109. -webkit-filter: blur(0);
  110. filter: blur(0);
  111. opacity: 1
  112. }
  113. }
  114. .custom-file {
  115. margin-bottom: 8px;
  116. }
  117. summary:focus {
  118. outline: none;
  119. }
  120. details {
  121. border: 1px solid rgba(0,0,0,.125);
  122. border-radius: 4px;
  123. padding: .5em .5em 0;
  124. }
  125. summary {
  126. /*font-weight: bold;*/
  127. margin: -.5em -.5em 0;
  128. padding: .5em;
  129. background-color: rgba(0,0,0,.03);
  130. }
  131. details[open] {
  132. padding: .5em;
  133. }
  134. details[open]>summary {
  135. border-bottom: 1px solid rgba(0,0,0,.125);
  136. margin-bottom: .5em;
  137. }
  138. .actions-result {
  139. display: inline-block;
  140. font-weight: 400;
  141. color: #212529;
  142. text-align: center;
  143. vertical-align: middle;
  144. padding: .375rem .75rem;
  145. font-size: 1rem;
  146. line-height: 1.5;
  147. margin-bottom: 8px;
  148. }
  149. .hide{
  150. display: none;
  151. }
  152. .single-input-action-btn{
  153. border-top-right-radius: 0.25rem!important;
  154. border-bottom-right-radius: 0.25rem!important;
  155. }