-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcal.css
More file actions
143 lines (118 loc) · 2.83 KB
/
Copy pathcal.css
File metadata and controls
143 lines (118 loc) · 2.83 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
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
.circle {
width: 12px;
height: 12px;
border-radius: 50%; /* Make it a circle */
display: inline-block; /* Allows setting width and height */
}
.chapter {
background-color: #71ff4d;
}
.localization {
background-color: #e1ff4d;
}
.site-update {
background-color: #c14dff;
}
.calendar-container {
width: 400px;
margin: 0 auto;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
font-family: Arial, sans-serif;
background-color: #16171ad0;
justify-content: center;
align-content: center;
border-radius: 5px;
}
@media screen and (max-width: 600px) {
.calendar-container {
width: 90vw;
}
}
.calendar-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
color: white;
font-size: 1.4em;
}
.calendar-header button {
background-color: #FF4D4D;
color: white;
border: none;
font-weight: bold;
font-size: 1.1em;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
#nextMonth:active, #prevMonth:active {
background-color: #2c2c2c;
color: white;
translate: 0px 2px;
}
.current-date {
text-align: center;
}
.calendar-body {
padding: 10px;
}
.calendar-weekdays {
display: grid; /* Ensure grid layout */
grid-template-columns: repeat(7, 1fr); /* 7 columns, equal width */
grid-gap: 5px;
margin-bottom: 15px;
font-weight: bold;
color: white;
}
.calendar-weekdays div {
text-align: center; /* Center the text within each day */
}
.calendar-days {
display: grid;
grid-template-columns: repeat(7, 1fr);
grid-gap: 5px;
}
.calendar-days div {
padding: 8px;
border-radius: 5px;
background-color: #FF4D4D;
color: white;
transition: background-color 0.3s ease;
text-align: center;
font-weight: bold;
text-align: center; /* Existing, keep this */
font-size: 0.9em;
line-height: 1.8rem; /* Equal to height, for vertical centering */
width: 1.8rem;
height: 1.8rem;
}
.calendar-days div:hover {
background-color: #2c2c2c;
color: white;
}
.calendar-days div.today { /* Increased specificity */
background-color: #ffffff;
color: rgb(0, 0, 0);
}
.calendar-days div.past {
background-color: #782525; /* An example color for past days */
}
.calendar-days div.empty {
background-color: #78252563; /* An example color for past days */
}
.novel {
color: #ff4dca;
}
.status-updates {
display: flex; /* Arrange items in a row */
padding-bottom: 10px;
flex-wrap: wrap; /* Allow items to wrap to the next line */
gap: 10px; /* Space between items */
justify-content: center; /* Center items horizontally */
color: white;
align-items: center; /* Align circle and text vertically */
}
.circle {
border-radius: 25px;
}