-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathX-Calendar.css
53 lines (51 loc) · 1.21 KB
/
X-Calendar.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* 年月位置互换 */
body #calendar-container .nav {
padding-left: 12px;
padding-right: 0;
margin-top: 1em;
}
body #calendar-container .nav .title {
display: flex;
align-items: center;
flex-direction: row-reverse;
font-weight: normal;
font-size: 1.6em;
}
body #calendar-container .nav .title .year {
color: var(--text-normal);
}
body #calendar-container .nav .title .year::after {
content: '年';
margin-right: var(--size-2-1);
margin-left: var(--size-2-1);
}
body #calendar-container .nav .title .month {
color: var(--text-accent);
font-weight: bold;
font-size: 1.2em;
}
/* 右侧按钮悬浮动画 */
body #calendar-container .nav .right-nav .arrow:hover,
body #calendar-container .nav .right-nav .reset-button:hover {
color: var(--text-accent);
--color-arrow: var(--text-accent);
}
/* 日历边距和颜色调整 */
.calendar .has-note.active .filled {
fill: #fff !important;
}
.calendar .has-note.active .hollow {
stroke: #fff;
}
.theme-dark .calendar .has-note.active .filled {
fill: #000 !important;
}
.theme-dark .calendar .has-note.active .hollow {
stroke: #000;
}
.calendar tr {
line-height: 1.2em;
}
.workspace-leaf-content[data-type='calendar'] .view-content {
padding: 0 4px;
}