style.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  8. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  9. min-height: 100vh;
  10. padding: 20px;
  11. }
  12. .container {
  13. max-width: 800px;
  14. margin: 0 auto;
  15. background: white;
  16. border-radius: 10px;
  17. padding: 30px;
  18. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  19. }
  20. h1 {
  21. text-align: center;
  22. color: #333;
  23. margin-bottom: 30px;
  24. font-size: 2.5em;
  25. }
  26. .form-group {
  27. margin-bottom: 20px;
  28. }
  29. label {
  30. display: block;
  31. margin-bottom: 5px;
  32. font-weight: 600;
  33. color: #555;
  34. }
  35. input[type="text"],
  36. input[type="url"] {
  37. width: 100%;
  38. padding: 12px;
  39. border: 2px solid #ddd;
  40. border-radius: 5px;
  41. font-size: 16px;
  42. transition: border-color 0.3s;
  43. }
  44. input[type="text"]:focus,
  45. input[type="url"]:focus {
  46. outline: none;
  47. border-color: #667eea;
  48. }
  49. /* URL列表文本框 */
  50. .url-list {
  51. width: 100%;
  52. height: 120px;
  53. padding: 12px;
  54. border: 2px solid #ddd;
  55. border-radius: 5px;
  56. font-size: 12px;
  57. font-family: 'Courier New', monospace;
  58. background-color: #f8f9fa;
  59. resize: vertical;
  60. color: #555;
  61. }
  62. .url-list:focus {
  63. outline: none;
  64. border-color: #667eea;
  65. }
  66. .button-group {
  67. display: flex;
  68. gap: 10px;
  69. margin-bottom: 30px;
  70. flex-wrap: wrap;
  71. }
  72. .btn {
  73. padding: 12px 24px;
  74. border: none;
  75. border-radius: 5px;
  76. font-size: 16px;
  77. cursor: pointer;
  78. transition: all 0.3s;
  79. font-weight: 600;
  80. }
  81. .btn-primary {
  82. background: #667eea;
  83. color: white;
  84. }
  85. .btn-primary:hover {
  86. background: #5a6fd8;
  87. transform: translateY(-2px);
  88. }
  89. .btn-secondary {
  90. background: #764ba2;
  91. color: white;
  92. }
  93. .btn-secondary:hover {
  94. background: #6a4190;
  95. transform: translateY(-2px);
  96. }
  97. .btn-danger {
  98. background: #e74c3c;
  99. color: white;
  100. }
  101. .btn-danger:hover {
  102. background: #c0392b;
  103. transform: translateY(-2px);
  104. }
  105. .btn-info {
  106. background: #17a2b8;
  107. color: white;
  108. }
  109. .btn-info:hover {
  110. background: #138496;
  111. transform: translateY(-2px);
  112. }
  113. .btn-warning {
  114. background: #ffc107;
  115. color: #212529;
  116. }
  117. .btn-warning:hover {
  118. background: #e0a800;
  119. transform: translateY(-2px);
  120. }
  121. .btn-success {
  122. background: #28a745;
  123. color: white;
  124. }
  125. .btn-success:hover {
  126. background: #218838;
  127. transform: translateY(-2px);
  128. }
  129. .output-section h3 {
  130. color: #333;
  131. margin-bottom: 10px;
  132. }
  133. .output-area {
  134. background: #f8f9fa;
  135. border: 1px solid #e9ecef;
  136. border-radius: 5px;
  137. padding: 15px;
  138. min-height: 150px;
  139. max-height: 400px;
  140. overflow-y: auto;
  141. font-family: 'Courier New', monospace;
  142. white-space: pre-wrap;
  143. word-wrap: break-word;
  144. }
  145. .output-area.success {
  146. border-left: 4px solid #28a745;
  147. }
  148. .output-area.error {
  149. border-left: 4px solid #dc3545;
  150. }
  151. .loading {
  152. opacity: 0.7;
  153. pointer-events: none;
  154. }
  155. @media (max-width: 600px) {
  156. .container {
  157. padding: 20px;
  158. }
  159. .button-group {
  160. flex-direction: column;
  161. }
  162. .btn {
  163. width: 100%;
  164. }
  165. }
  166. .form-row {
  167. display: flex;
  168. gap: 15px;
  169. }
  170. .form-row .form-group {
  171. flex: 1;
  172. }