#yet-another-timer .timer-card { border: 1px solid #ccc; border-radius: 8px; padding: 15px; margin: 10px; background-color: #f9f9f9; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); width: 250px; /* Adjust as needed */ display: inline-block; /* Or use flexbox/grid for layout */ vertical-align: top; } #yet-another-timer .timer-card.paused { background-color: #eee; opacity: 0.7; } #yet-another-timer .timer-card .title { font-weight: bold; font-size: 1.2em; margin-bottom: 10px; border-bottom: 1px solid #eee; padding-bottom: 5px; } #yet-another-timer .timer-card .content p { margin: 5px 0; font-size: 0.9em; max-width: 33em; } #yet-another-timer .timer-card .actions { margin-top: 15px; text-align: right; } #yet-another-timer .timer-card .button { padding: 5px 10px; margin-left: 5px; cursor: pointer; border: 1px solid #aaa; border-radius: 4px; background-color: #e0e0e0; } #yet-another-timer .timer-card .button:hover { background-color: #d0d0d0; } #yet-another-timer .timer-card .delete-button { background-color: #f8d7da; border-color: #f5c6cb; color: #721c24; } #yet-another-timer .timer-card .delete-button:hover { background-color: #f5c6cb; } .yat-add-form { display: flex; flex-flow: column; gap: 1rem; } img { height: 40px; width: 40px; }