timesite/styles.css
2025-07-14 18:43:59 -07:00

102 lines
1.9 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #000000;
color: #FFFFFF;
font-family: 'IBM Plex Mono', monospace;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
overflow: hidden;
}
.time-container {
text-align: center;
}
.time {
font-size: clamp(1.3rem, 5vw, 8vh);
font-weight: 300;
letter-spacing: 0.05em;
margin-bottom: 3rem;
line-height: 1;
white-space: nowrap;
}
.time.utc {
margin-bottom: 1rem;
}
.timezone {
font-size: clamp(1rem, 3vw, 2rem);
font-weight: 400;
opacity: 0.8;
}
.header {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #999999;
padding: 2rem;
text-align: left;
width: 100%;
position: relative;
}
.header h1 {
font-size: 3rem;
font-weight: 300;
margin: 0;
}
.status-box {
position: absolute;
top: 2rem;
right: 2rem;
background-color: #1a1a1a;
padding: 1rem 1.5rem;
border-radius: 8px;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(0, 0, 0, 0.3);
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.status-label {
font-size: 0.8rem;
color: #666666;
margin-bottom: 0.25rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.status-value {
font-size: 1.2rem;
color: #cccccc;
font-family: 'IBM Plex Mono', monospace;
font-weight: 300;
}
.footer {
font-family: Tahoma, Arial, sans-serif;
color: #333333;
padding: 2rem;
text-align: center;
font-size: 1rem;
background-color: #666666;
box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.9), 0 -4px 8px rgba(0, 0, 0, 0.8), 0 -2px 4px rgba(0, 0, 0, 0.6);
width: 100%;
margin: 0;
}
.footer a {
color: #222222;
text-decoration: none;
}
.footer a:hover {
text-decoration: underline;
}