Add configurable legend to footer
This commit is contained in:
@ -167,3 +167,44 @@ details.calendar-event-details[open] summary ~ * {
|
||||
0% {opacity: 0; transform: translateY(-10px)}
|
||||
100% {opacity: 1; transform: translateY(0)}
|
||||
}
|
||||
|
||||
.calendar-legend {
|
||||
padding: 5px;
|
||||
border: var(--calendar-border);
|
||||
border-radius: 5px;
|
||||
background-color: #eee;
|
||||
margin: 12px 2px 2px 2px;
|
||||
}
|
||||
.calendar-legend-list {
|
||||
margin: 0;
|
||||
}
|
||||
.calendar-legend-heading {
|
||||
font-size: 18px;
|
||||
margin-bottom: 6px;
|
||||
text-decoration: underline black;
|
||||
}
|
||||
.calendar-legend-item {
|
||||
margin-bottom: 4px;
|
||||
list-style: none;
|
||||
font-size: 13px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: left;
|
||||
}
|
||||
.calendar-legend-item-color {
|
||||
display: inline-block;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
.calendar-legend-item-description {
|
||||
word-break: break-word;
|
||||
word-wrap: break-word;
|
||||
hyphens: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
.calendar-legend-item-link {
|
||||
display: flex;
|
||||
}
|
||||
|
Reference in New Issue
Block a user