Spaces:
Runtime error
Runtime error
| /* General Styles */ | |
| body { | |
| font-family: Arial, sans-serif; | |
| margin: 0; | |
| padding: 0; | |
| background-color: #f9f9f9; | |
| } | |
| /* Header */ | |
| h1 { | |
| text-align: center; | |
| color: #333; | |
| margin: 20px 0; | |
| } | |
| /* Forms */ | |
| form { | |
| width: 300px; | |
| margin: 0 auto; | |
| padding: 20px; | |
| background: #fff; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |
| } | |
| form label { | |
| font-weight: bold; | |
| margin-top: 10px; | |
| display: block; | |
| } | |
| form input { | |
| width: 100%; | |
| padding: 10px; | |
| margin-top: 5px; | |
| margin-bottom: 15px; | |
| border: 1px solid #ccc; | |
| border-radius: 4px; | |
| } | |
| form button { | |
| width: 100%; | |
| padding: 10px; | |
| background-color: #007bff; | |
| color: #fff; | |
| border: none; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| } | |
| form button:hover { | |
| background-color: #0056b3; | |
| } | |
| /* Buttons */ | |
| button { | |
| margin: 5px 0; | |
| padding: 10px; | |
| background-color: #28a745; | |
| color: white; | |
| border: none; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| } | |
| button:hover { | |
| background-color: #218838; | |
| } | |
| /* Menu Items */ | |
| .menu-item { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| margin: 10px; | |
| padding: 10px; | |
| background: #fff; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |
| } | |
| .menu-item img { | |
| width: 100px; | |
| height: 100px; | |
| border-radius: 50%; | |
| margin-bottom: 10px; | |
| } | |
| .menu-item h3 { | |
| margin: 5px 0; | |
| color: #333; | |
| } | |
| .menu-item p { | |
| margin: 5px 0; | |
| color: #555; | |
| } | |
| /* Cart Page */ | |
| .cart-items { | |
| list-style-type: none; | |
| padding: 0; | |
| } | |
| .cart-items li { | |
| margin: 10px 0; | |
| padding: 10px; | |
| background: #fff; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |
| } | |
| .total { | |
| font-size: 1.5em; | |
| text-align: center; | |
| margin-top: 20px; | |
| font-weight: bold; | |
| color: #333; | |
| } | |