-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
48 lines (43 loc) · 1.08 KB
/
style.css
File metadata and controls
48 lines (43 loc) · 1.08 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
#calendar-grid,
.day-headers {
display: grid;
grid-template-columns: repeat(7, 1fr); /* Creates 7 equal columns */
max-width: 1000px;
margin: 0 auto; /* Centers the calendar on the page */
}
.day-headers div {
text-align: center;
font-weight: bold;
padding: 10px;
background-color: #f0f0f0; /* Light gray background */
border: 1px solid #ddd; /* Light borders */
}
.day-box {
border: 1px solid #ccc;
min-height: 120px; /* This ensures they are rectangles, not squares */
padding: 5px;
background-color: #fff;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
.day-number {
font-weight: bold;
font-size: 1.1rem;
margin-bottom: 5px;
}
.day-events {
font-size: 0.8rem;
color: #0056b3;
line-height: 1.2;
}
/* Make buttons and inputs bigger and add space between them */
button,
select,
input {
padding: 5px; /* Makes the clickable area larger */
margin: 8px; /* Pushes them away from each other */
min-height: 48px; /* This is the standard size for touch safety */
min-width: 48px;
font-size: 1rem; /* Makes text easier to read */
}