220 lines
3.1 KiB
CSS
220 lines
3.1 KiB
CSS
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background-color: #1f1f1f;
|
|
color: #ffffff;
|
|
}
|
|
|
|
H1 {
|
|
text-align: center
|
|
}
|
|
|
|
|
|
.jetbrains-mono {
|
|
font-family: 'JetBrains Mono Nerd Font', monospace;
|
|
font-optical-sizing: auto;
|
|
font-weight: 300;
|
|
}
|
|
|
|
|
|
.parent {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
overflow: auto;
|
|
justify-content: space-between;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.vblock {
|
|
display: flex;
|
|
margin: auto;
|
|
justify-content: space-between;
|
|
flex-direction: row;
|
|
padding: 10px;
|
|
}
|
|
|
|
.hblock {
|
|
margin: auto;
|
|
}
|
|
|
|
#currentTime {
|
|
font-size: 3em;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.time-blocks {
|
|
display: flex;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.time-block {
|
|
padding: 10px 15px;
|
|
background-color: #2a2a2a;
|
|
border-radius: 5px;
|
|
min-width: 60px;
|
|
text-align: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.label-block {
|
|
background-color: #2a2a2a;
|
|
min-width: 16px;
|
|
flex-shrink: 0;
|
|
font-weight: 450;
|
|
}
|
|
|
|
.multi-rows-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.time-row {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
.next-break {
|
|
font-size: 2em;
|
|
text-align: center;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
.time-block.break-current {
|
|
border: 2px solid #d4a017;
|
|
color: #d4a017;
|
|
}
|
|
|
|
.time-block.break-next {
|
|
border: 2px solid #6b9ac0;
|
|
color: #6b9ac0;
|
|
}
|
|
|
|
|
|
.calendar-container {
|
|
margin-top: 30px;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.calendar-container .hblock {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#currentDate {
|
|
font-size: 2em;
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
color: #ffffff;
|
|
word-break: keep-all;
|
|
}
|
|
|
|
.calendar-table thead tr {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 6px;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.calendar-table tbody {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.calendar-table tbody tr {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.calendar-table th,
|
|
.calendar-table td {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 65px;
|
|
height: 45px;
|
|
padding: 0;
|
|
background-color: #2a2a2a;
|
|
border-radius: 5px;
|
|
font-size: 1em;
|
|
border: none;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.calendar-table th {
|
|
background-color: #3a3a3a;
|
|
font-weight: 400;
|
|
color: #e0e0e0;
|
|
}
|
|
|
|
.calendar-table td {
|
|
background-color: #2a2a2a;
|
|
}
|
|
|
|
.calendar-table th.weekend-text {
|
|
color: #6b9ac0;
|
|
}
|
|
|
|
.calendar-table td.weekend-text {
|
|
color: #6b9ac0;
|
|
background-color: #2a2a2a;
|
|
}
|
|
|
|
.calendar-table td.today-text {
|
|
color: #d4a017;
|
|
background-color: #2a2a2a;
|
|
font-weight: 700;
|
|
border: 2px solid #d4a017;
|
|
}
|
|
|
|
.calendar-table td.other-month {
|
|
opacity: 0.4;
|
|
background-color: #232323;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.time-blocks {
|
|
gap: 10px;
|
|
}
|
|
|
|
.time-block {
|
|
padding: 8px 12px;
|
|
min-width: 50px;
|
|
}
|
|
|
|
.calendar-container {
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.calendar-table th,
|
|
.calendar-table td {
|
|
width: 50px;
|
|
height: 38px;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.calendar-table {
|
|
border-spacing: 4px;
|
|
}
|
|
|
|
.calendar-table thead tr,
|
|
.calendar-table tbody tr {
|
|
gap: 4px;
|
|
}
|
|
}
|