-
Notifications
You must be signed in to change notification settings - Fork 1
/
calendar.css
246 lines (233 loc) · 4.33 KB
/
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
* {
border: none;
margin: 0;
padding: 0;
}
:root {
--main-font-family: '宋体', 'system-ui';
}
body {
margin-top: 24px;
}
a, a:hover, a:visited {
color: #d0d0d0;
text-decoration: none;
}
.no-wrap {
white-space: nowrap;
}
.cld {
width: 357px; /*51 * 7*/
margin: 0 auto;
text-align: center;
}
.cld .title {
display: flex;
background: #a4221a;
border-radius: 2px;
color: yellow;
font-size: 15px;
margin-bottom: 2px;
padding: 0 6px 0 4px;
white-space: nowrap;
}
.cld .title select {
color: yellow;
background: #a4221a;
}
.cld .title .animal {
margin: 0 -2px 0 -6px;
}
.cld .title .help {
margin-left: auto;
}
.cld .title .help a {
color: yellow;
font: bold 16px 'Times New Roman';
}
.cld .row {
display: flex;
}
.cld .cell {
color: black;
flex: 1 1 0;
}
.cld .weekend {
color: red;
}
.cld .head .cell {
background: #e0e0e0;
margin: 0 1px;
}
.cld .body {
z-index: 0; position: static; /* default z-index and position */
}
.cld .body .cell {
cursor: pointer;
margin-bottom: 2px;
}
.cld .body .cell.unresolvable {
cursor: default;
}
.cld .body .cell.out-of-month {
background: rgba(255, 255, 255, 0.90);
}
.cld .body .cell .background {
z-index: -10; position: absolute;
height: 51px;
width: 51px;
margin: 0;
}
.cld .body .cell .background.today {
background: url('images/webdings-Y-red.gif') 2px -2px / 51px 52px no-repeat;
}
.cld .body .cell .solar {
z-index: -5; position: relative;
font: bold 24px 'Arial Black';
margin: 0;
}
.cld .body .cell .solar.on {
color: blue;
}
.cld .body .cell .solar.off {
color: red;
}
.cld .body .cell .note {
z-index: -5; position: relative;
font: normal 12px var(--main-font-family);
white-space: nowrap;
margin: 0;
}
.cld .body .cell .note.holiday {
color: red;
}
.cld .body .cell .note.solar.festival {
color: blue;
}
.cld .body .cell .note.lunar.festival {
color: fuchsia;
}
.cld .body .cell .note.solar-term {
color: limegreen;
}
.cld .body .cell .note.first-day {
font: bold 11px var(--main-font-family);
}
.cld .ctl {
margin: 24px 12px 0 12px;
display: flex;
justify-content: space-between;
}
.cld .ctl .cmd {
border: 1px outset #eaeaea;
border-radius: 3px;
padding: 0 6px 2px 6px;
display: inline-block;
font: normal 15px 'Arial Black';
text-align: center;
width: 36px;
cursor: pointer;
}
.cld .details {
z-index: 0; position: static; /* default z-index and position */
margin: 24px auto 6px auto;
display: inline-block;
text-align: center;
overflow: hidden;
}
.cld .details .content {
margin: 0 auto;
text-align: left;
border: solid 3px navy;
border-radius: 3px;
background-color: navy;
font: normal 15px var(--main-font-family);
}
.cld .details .content.slide-up {
transform: translate(0, -105%);
opacity: 0;
transition: transform 2s ease 5s, opacity 2s ease 5s;
}
.cld .details .date .solar {
color: white;
}
.cld .details .date .lunar {
color: violet;
}
.cld .details .date .ganzhi {
color: yellow;
}
.cld .details .notes {
color: white;
}
.cld .details .notes .duty.on {
background: #88ffcc;
color: blue;
}
.cld .details .notes .duty.off {
background: #ffcccc;
color: red;
}
.cld .details .notes .solar.holiday {
background: #88ffcc;
color: red;
}
.cld .details .notes .lunar.holiday {
background: #ffcccc;
color: red;
}
.cld .details .notes .solar.festival {
background: #ccffcc;
color: blue;
}
.cld .details .notes .lunar.festival {
background: #ffcccc;
color: teal;
}
.cld .details .notes .solar-term {
background: #e0a0ff;
color: green;
}
.cld .details .notes .memo {
background: #ccffcc;
color: navy;
}
.footer {
position: absolute;
width: 100%;
margin: 0.5vmin auto;
text-align: center;
font: normal 3vmin var(--main-font-family);
color: #d0d0d0;
top: 92dvh;
}
.footer > div:first-child{
margin-bottom: 1.2vmin;
}
.footer #upgrade > button {
border: 1px outset #eaeaea;
border-radius: 1vmin;
padding: 0.25vmin 1vmin;
margin-bottom: 0.25vmin;
background-color: white;
color: green;
cursor: pointer;
}
.flash {
z-index: 10; position: absolute;
top: 96px;
width: 100%;
display: inline-block;
text-align: center;
}
.flash .content {
color: lawngreen;
font: bold 128px 'Arial Black';
}
.flash .content.fade-out {
opacity: 0;
transition: opacity 1s linear 0.5s;
}
.flash .content .hanzi {
font: normal 108px var(--main-font-family);
}