| body { |
| font-family: Arial, sans-serif; |
| line-height: 1.6; |
| margin: 0; |
| padding: 20px; |
| transition: background-color 0.3s, color 0.3s; |
| } |
|
|
| .dark-mode { |
| background-color: #333; |
| color: #fff; |
| } |
|
|
| h1, h2, h3 { |
| color: #333; |
| } |
|
|
| .dark-mode h1, .dark-mode h2, .dark-mode h3 { |
| color: #fff; |
| } |
|
|
| .grid-container { |
| display: grid; |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
| gap: 20px; |
| padding: 20px; |
| } |
|
|
| .grid-item { |
| background-color: #f0f0f0; |
| padding: 20px; |
| border-radius: 5px; |
| } |
|
|
| #timer { |
| font-size: 48px; |
| margin: 20px 0; |
| } |
|
|
| .button { |
| background-color: #4CAF50; |
| border: none; |
| color: white; |
| padding: 10px 20px; |
| text-align: center; |
| text-decoration: none; |
| display: inline-block; |
| font-size: 16px; |
| margin: 4px 2px; |
| cursor: pointer; |
| transition: background-color 0.3s; |
| } |
|
|
| .button:hover { |
| background-color: #45a049; |
| } |
|
|
| input[type="text"], input[type="password"], input[type="number"] { |
| width: 100%; |
| padding: 12px 20px; |
| margin: 8px 0; |
| display: inline-block; |
| border: 1px solid #ccc; |
| border-radius: 4px; |
| box-sizing: border-box; |
| } |
|
|
| .script { |
| border: 1px solid #ddd; |
| padding: 10px; |
| margin-bottom: 10px; |
| border-radius: 5px; |
| } |
|
|
| .script pre { |
| white-space: pre-wrap; |
| word-wrap: break-word; |
| } |
|
|
| .tomato-rating { |
| font-size: 20px; |
| } |
|
|
| #task-list { |
| list-style-type: none; |
| padding: 0; |
| } |
|
|
| #task-list li { |
| margin-bottom: 10px; |
| } |
|
|
| #task-list input[type="checkbox"] { |
| margin-right: 10px; |
| } |
|
|
| #login-form, #register-form { |
| max-width: 300px; |
| margin: 0 auto; |
| padding: 20px; |
| border: 1px solid #ddd; |
| border-radius: 5px; |
| } |
|
|
| #statistics { |
| background-color: #f9f9f9; |
| padding: 15px; |
| border-radius: 5px; |
| margin-bottom: 20px; |
| } |
|
|
| .dark-mode #statistics { |
| background-color: #444; |
| } |
|
|
| #admin-panel { |
| background-color: #f0f0f0; |
| padding: 20px; |
| border-radius: 5px; |
| margin-top: 20px; |
| } |
|
|
| .dark-mode #admin-panel { |
| background-color: #555; |
| } |
|
|
| @media (max-width: 600px) { |
| body { |
| font-size: 16px; |
| padding: 10px; |
| } |
|
|
| .grid-container { |
| grid-template-columns: 1fr; |
| } |
|
|
| #timer { |
| font-size: 60px; |
| } |
|
|
| .button { |
| width: 100%; |
| padding: 15px 30px; |
| font-size: 18px; |
| margin: 10px 0; |
| } |
|
|
| #settings, #task-manager, #statistics { |
| width: 100%; |
| } |
| } |