-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalendar-heading.css
More file actions
24 lines (23 loc) · 1.05 KB
/
Copy pathcalendar-heading.css
File metadata and controls
24 lines (23 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* === Calendar Heading Styles === */
/* This CSS snippet styles the calendar heading in Obsidian, applying colours to each day of the week. */
.container#calendar-container .calendar > thead > tr:first-of-type > th:nth-child(1) {
color: rgb(var(--drac-red-rgb));
}
.container#calendar-container .calendar > thead > tr:first-of-type > th:nth-child(2) {
color: rgb(var(--drac-pink-rgb));
}
.container#calendar-container .calendar > thead > tr:first-of-type > th:nth-child(3) {
color: rgb(var(--drac-purple-rgb));
}
.container#calendar-container .calendar > thead > tr:first-of-type > th:nth-child(4) {
color: rgb(var(--drac-cyan-rgb));
}
.container#calendar-container .calendar > thead > tr:first-of-type > th:nth-child(5) {
color: rgb(var(--drac-green-rgb));
}
.container#calendar-container .calendar > thead > tr:first-of-type > th:nth-child(6) {
color: rgb(var(--drac-yellow-rgb));
}
.container#calendar-container .calendar > thead > tr:first-of-type > th:nth-child(7) {
color: rgb(var(--drac-pink-rgb)); /* Repeats to complete the cycle */
}