39 lines
885 B
CSS
39 lines
885 B
CSS
/* Day cells */
|
|
.dow { text-transform: uppercase }
|
|
.cell {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
padding: .25em;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
height: var(--cell-h);
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: background-color .15s ease;
|
|
}
|
|
.cell h1 {
|
|
top: .25em;
|
|
right: .25em;
|
|
padding: 0;
|
|
margin: 0;
|
|
min-width: 1.5em;
|
|
transition: background-color .15s ease;
|
|
font-size: 1em;
|
|
}
|
|
.cell.today h1 {
|
|
border-radius: 2em;
|
|
background: var(--today);
|
|
border: .2em solid var(--today);
|
|
margin: -.2em;
|
|
}
|
|
.cell:hover h1 { text-shadow: 0 0 .2em var(--shadow); }
|
|
|
|
/* Fixed heights for cells and labels */
|
|
.week-row .cell, .week-row .week-label { height: var(--cell-h) }
|
|
|
|
.weekend { color: var(--weekend) }
|
|
.firstday { color: var(--firstday); text-shadow: 0 0 .1em var(--strong); }
|