| * { | |
| box-sizing: border-box; | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| background-color: #222; | |
| color: #fff; | |
| } | |
| .mini-story-generator { | |
| width: 100%; | |
| margin: 0 auto; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .card { | |
| display: flex; | |
| flex-direction: column; | |
| background-color: #333; | |
| padding: 20px; | |
| border-radius: 10px; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| margin: 20px; | |
| max-width: 600px; | |
| } | |
| .card-header { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| border-bottom: 1px solid #aaa; | |
| } | |
| .story-type button { | |
| background-color: #444; | |
| color: #fff; | |
| padding: 10px 20px; | |
| border: none; | |
| border-radius: 10px; | |
| cursor: pointer; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| margin-right: 10px; | |
| } | |
| .story-type button:hover { | |
| background-color: #555; | |
| } | |
| .story-type button:active { | |
| background-color: #666; | |
| } | |
| .story-container { | |
| margin-top: 20px; | |
| padding: 20px; | |
| border-radius: 10px; | |
| background-color: #444; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| .story-container p { | |
| color: #ccc; | |
| } |