Spaces:
Running
Running
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| min-height: 100vh; | |
| padding: 20px; | |
| } | |
| .container { | |
| max-width: 1000px; | |
| margin: 0 auto; | |
| background: white; | |
| border-radius: 15px; | |
| box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); | |
| overflow: hidden; | |
| } | |
| .header { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| color: white; | |
| padding: 30px 20px; | |
| text-align: center; | |
| } | |
| .header h1 { | |
| font-size: 32px; | |
| margin-bottom: 8px; | |
| } | |
| .header p { | |
| font-size: 16px; | |
| opacity: 0.9; | |
| } | |
| .content { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 30px; | |
| padding: 30px; | |
| } | |
| .input-section, .output-section { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| } | |
| label { | |
| font-weight: 600; | |
| color: #333; | |
| margin-bottom: 8px; | |
| display: block; | |
| } | |
| textarea { | |
| padding: 15px; | |
| border: 2px solid #e0e0e0; | |
| border-radius: 8px; | |
| font-size: 14px; | |
| font-family: 'Courier New', monospace; | |
| resize: vertical; | |
| transition: border-color 0.3s; | |
| } | |
| textarea:focus { | |
| outline: none; | |
| border-color: #667eea; | |
| } | |
| .button-group { | |
| display: flex; | |
| gap: 10px; | |
| } | |
| .btn { | |
| padding: 12px 20px; | |
| border: none; | |
| border-radius: 8px; | |
| font-size: 14px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| flex: 1; | |
| } | |
| .btn-primary { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| color: white; | |
| } | |
| .btn-primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3); | |
| } | |
| .btn-secondary { | |
| background: #f0f0f0; | |
| color: #333; | |
| } | |
| .btn-secondary:hover { | |
| background: #e0e0e0; | |
| } | |
| .btn-success { | |
| background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%); | |
| color: white; | |
| width: 100%; | |
| } | |
| .btn-success:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3); | |
| } | |
| .options { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 15px; | |
| } | |
| .option-group { | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| .option-group select { | |
| padding: 10px; | |
| border: 2px solid #e0e0e0; | |
| border-radius: 8px; | |
| font-size: 14px; | |
| cursor: pointer; | |
| transition: border-color 0.3s; | |
| } | |
| .option-group select:focus { | |
| outline: none; | |
| border-color: #667eea; | |
| } | |
| .qr-preview { | |
| background: #f8f9fa; | |
| border: 2px dashed #e0e0e0; | |
| border-radius: 8px; | |
| padding: 30px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| min-height: 300px; | |
| } | |
| #qrcodeContainer { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| #qrcodeContainer canvas { | |
| max-width: 100%; | |
| border-radius: 8px; | |
| background: white; | |
| padding: 10px; | |
| border: 1px solid #e0e0e0; | |
| } | |
| .download-section { | |
| display: flex; | |
| gap: 10px; | |
| } | |
| .info-section { | |
| background: #f0f7ff; | |
| padding: 15px; | |
| border-radius: 8px; | |
| border-left: 4px solid #667eea; | |
| } | |
| .info-section p { | |
| font-size: 14px; | |
| color: #333; | |
| margin-bottom: 8px; | |
| } | |
| .info-section p strong { | |
| color: #667eea; | |
| } | |
| .examples { | |
| padding: 20px 30px; | |
| background: #f8f9fa; | |
| border-top: 1px solid #e0e0e0; | |
| } | |
| .examples h3 { | |
| font-size: 14px; | |
| color: #666; | |
| margin-bottom: 12px; | |
| } | |
| .examples button { | |
| margin-right: 8px; | |
| margin-bottom: 8px; | |
| padding: 8px 12px; | |
| background: white; | |
| border: 1px solid #e0e0e0; | |
| border-radius: 6px; | |
| cursor: pointer; | |
| font-size: 12px; | |
| transition: all 0.3s; | |
| } | |
| .examples button:hover { | |
| background: #667eea; | |
| color: white; | |
| border-color: #667eea; | |
| } | |
| .footer { | |
| padding: 15px; | |
| text-align: center; | |
| background: #f8f9fa; | |
| border-top: 1px solid #e0e0e0; | |
| color: #666; | |
| font-size: 12px; | |
| } | |
| @media (max-width: 768px) { | |
| .content { | |
| grid-template-columns: 1fr; | |
| } | |
| .options { | |
| grid-template-columns: 1fr; | |
| } | |
| .button-group { | |
| flex-direction: column; | |
| } | |
| .header h1 { | |
| font-size: 24px; | |
| } | |
| } | |