| /* UploadTorrent.css */ |
| .container { |
| min-height: 100vh; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| padding: 10px; |
| } |
| |
| .card { |
| width: 100%; |
| max-width: 1000px;; |
| min-width: 800px; /* 最小宽度 800px(确保不会太窄) */ |
| margin: 0 auto; |
| padding: 20px; |
| background-color: #fff; |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); |
| border-radius: 8px; |
| } |
| |
| .title { |
| text-align: center; |
| font-size: 1.5rem; |
| font-weight: bold; |
| color: #ff8c00; |
| margin-bottom: 20px; |
| padding-bottom: 10px; |
| border-bottom: 2px solid #ffe0b2; |
| } |
| |
| .form { |
| display: flex; |
| flex-direction: column; |
| gap: 15px; |
| } |
| |
| .uploadArea { |
| text-align: center; |
| padding: 20px; |
| border: 2px dashed #ffe0b2; |
| border-radius: 8px; |
| cursor: pointer; |
| transition: border-color 0.3s; |
| } |
| |
| .uploadArea:hover { |
| border-color: #ff8c00; |
| } |
| |
| .uploadIcon { |
| color: #ffe0b2; |
| font-size: 2rem; |
| } |
| |
| .uploadText { |
| margin-top: 10px; |
| font-size: 0.8rem; |
| color: #666; |
| } |
| |
| .hiddenInput { |
| display: none; |
| } |
| |
| .input { |
| width: 100%; |
| text-align: center; |
| } |
| |
| .textArea { |
| width: 100%; |
| text-align: center; |
| } |
| |
| .select { |
| width: 100%; |
| } |
| |
| .submitButton { |
| width: 100%; |
| background-color: #ff8c00; |
| border-color: #ff8c00; |
| } |
| |
| .submitButton:hover { |
| background-color: #ff7f00; |
| border-color: #ff7f00; |
| } |
| |
| .successMessage { |
| text-align: center; |
| color: green; |
| font-weight: bold; |
| margin-top: 10px; |
| } |