Spaces:
Running
Running
| body { | |
| font-family: sans-serif; | |
| margin: 0; | |
| padding: 20px; | |
| } | |
| h1 { | |
| text-align: center; | |
| color: #333; | |
| } | |
| .playground { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| max-width: 800px; | |
| margin: 0 auto; | |
| background-color: #f7f7f7; | |
| padding: 20px; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | |
| } | |
| @media (min-width: 768px) { | |
| .playground { | |
| flex-direction: row; | |
| } | |
| .input-section, .result-section { | |
| flex: 1; | |
| } | |
| } | |
| .input-section, .result-section { | |
| padding: 15px; | |
| background-color: white; | |
| border-radius: 8px; | |
| box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); | |
| } | |
| select, input, button { | |
| width: 100%; | |
| padding: 8px; | |
| margin-bottom: 10px; | |
| border: 1px solid #ddd; | |
| border-radius: 4px; | |
| } | |
| button { | |
| background-color: #4CAF50; | |
| color: white; | |
| border: none; | |
| cursor: pointer; | |
| font-weight: bold; | |
| transition: background-color 0.3s; | |
| } | |
| button:hover { | |
| background-color: #45a049; | |
| } | |
| #result { | |
| font-size: 24px; | |
| font-weight: bold; | |
| color: #333; | |
| margin: 20px 0; | |
| padding: 10px; | |
| background-color: #f0f0f0; | |
| border-radius: 4px; | |
| text-align: center; | |
| } | |
| #formula-code { | |
| font-family: monospace; | |
| background-color: #f5f5f5; | |
| padding: 10px; | |
| border-radius: 4px; | |
| overflow-x: auto; | |
| } | |
| .param-container { | |
| margin-bottom: 10px; | |
| } | |
| .param-label { | |
| display: block; | |
| margin-bottom: 5px; | |
| font-weight: bold; | |
| } |