Spaces:
Sleeping
Sleeping
| * { | |
| 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: 900px; | |
| margin: 0 auto; | |
| background: white; | |
| border-radius: 16px; | |
| 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; | |
| text-align: center; | |
| } | |
| header h1 { | |
| font-size: 2.5em; | |
| margin-bottom: 10px; | |
| } | |
| header p { | |
| opacity: 0.9; | |
| font-size: 1.1em; | |
| } | |
| header code { | |
| background: rgba(255, 255, 255, 0.2); | |
| padding: 4px 8px; | |
| border-radius: 4px; | |
| } | |
| main { | |
| padding: 30px; | |
| } | |
| .prompt-section { | |
| margin-bottom: 20px; | |
| } | |
| .prompt-section label { | |
| display: block; | |
| font-weight: 600; | |
| margin-bottom: 8px; | |
| color: #333; | |
| } | |
| #prompt { | |
| width: 100%; | |
| padding: 15px; | |
| border: 2px solid #e0e0e0; | |
| border-radius: 8px; | |
| font-size: 1em; | |
| font-family: inherit; | |
| resize: vertical; | |
| transition: border-color 0.3s; | |
| } | |
| #prompt:focus { | |
| outline: none; | |
| border-color: #667eea; | |
| } | |
| .settings-section { | |
| margin-bottom: 20px; | |
| } | |
| details { | |
| border: 1px solid #e0e0e0; | |
| border-radius: 8px; | |
| padding: 15px; | |
| } | |
| summary { | |
| cursor: pointer; | |
| font-weight: 600; | |
| color: #667eea; | |
| user-select: none; | |
| } | |
| summary:hover { | |
| color: #764ba2; | |
| } | |
| .settings-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 20px; | |
| margin-top: 15px; | |
| } | |
| .setting label { | |
| display: block; | |
| margin-bottom: 8px; | |
| font-weight: 500; | |
| color: #555; | |
| } | |
| .setting input[type="range"] { | |
| width: 100%; | |
| cursor: pointer; | |
| } | |
| .button-section { | |
| display: flex; | |
| align-items: center; | |
| gap: 15px; | |
| margin-bottom: 30px; | |
| } | |
| .generate-btn { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| color: white; | |
| border: none; | |
| padding: 15px 40px; | |
| font-size: 1.1em; | |
| font-weight: 600; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| transition: transform 0.2s, box-shadow 0.2s; | |
| } | |
| .generate-btn:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4); | |
| } | |
| .generate-btn:active { | |
| transform: translateY(0); | |
| } | |
| .generate-btn:disabled { | |
| opacity: 0.6; | |
| cursor: not-allowed; | |
| } | |
| .status { | |
| font-size: 1.5em; | |
| } | |
| .output-section h3 { | |
| color: #333; | |
| margin-bottom: 15px; | |
| } | |
| .output { | |
| background: #f8f9fa; | |
| border: 2px solid #e0e0e0; | |
| border-radius: 8px; | |
| padding: 20px; | |
| min-height: 150px; | |
| font-family: 'Courier New', monospace; | |
| white-space: pre-wrap; | |
| word-wrap: break-word; | |
| line-height: 1.6; | |
| color: #333; | |
| } | |
| .output.empty { | |
| color: #999; | |
| font-style: italic; | |
| } | |
| .output.error { | |
| color: #dc3545; | |
| background: #fff5f5; | |
| border-color: #dc3545; | |
| } | |
| footer { | |
| background: #f8f9fa; | |
| padding: 20px; | |
| text-align: center; | |
| color: #666; | |
| font-size: 0.9em; | |
| } | |
| footer code { | |
| background: white; | |
| padding: 4px 8px; | |
| border-radius: 4px; | |
| border: 1px solid #e0e0e0; | |
| } | |
| @media (max-width: 768px) { | |
| header h1 { | |
| font-size: 2em; | |
| } | |
| .settings-grid { | |
| grid-template-columns: 1fr; | |
| } | |
| .button-section { | |
| flex-direction: column; | |
| align-items: stretch; | |
| } | |
| } | |