/* CRITICAL: Ensure html and body take up full height of the viewport */
html, body, #root {
height: 100%;
margin: 0;
}
/* Custom CSS to handle responsive text size */
.text-clamp-xl {
/* Increased font size for the main time display */
font-size: clamp(5rem, 25vw, 16rem);
}
.text-clamp-lg {
/* Increased font size for the delay seconds */
font-size: clamp(4rem, 20vw, 10rem);
}
.text-clamp-sm {
/* Increased font size for the smaller time display below delay */
font-size: clamp(1.5rem, 5vw, 3rem);
}
body {
background-color: #1a202c; /* Ensure the body has a dark background */
}
.settings-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}
@media (min-width: 768px) {
.settings-grid {
grid-template-columns: 1fr 1fr;
}
}
/* Removed fixed height and centered content. Now relies on content and padding. */
.time-display-container {
display: flex;
flex-direction: column;
align-items: center;
/* Tighter spacing between elements */
gap: 0.5rem;
}
/* Style for the editable title inputs */
.editable-title-input {
background-color: transparent;
border: none;
padding: 0;
margin: 0;
text-align: center;
font-weight: 600;
color: inherit;
width: 100%;
}
.editable-title-input:focus {
outline: none;
}
/* Style for the inline number inputs in settings */
.inline-number-input {
background-color: transparent;
border: none;
padding: 0;
text-align: right;
font-weight: 600;
color: white;
width: 60px; /* Adjusted width to show three digits */
-moz-appearance: textfield; /* Hide number arrows on Firefox */
}
.inline-number-input::-webkit-outer-spin-button,
.inline-number-input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0; /* Hide number arrows on Chrome, Safari, Edge */
}
.inline-number-input:focus {
outline: none;
}
.history-entry:nth-child(even) {
background-color: #1f2937; /* Darker gray for alternating rows */
}
.history-entry:nth-child(odd) {
background-color: #374151; /* Lighter gray for alternating rows */
}