-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalendar.css
More file actions
71 lines (63 loc) · 1.35 KB
/
Copy pathcalendar.css
File metadata and controls
71 lines (63 loc) · 1.35 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
body {
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: 'Poppins', sans-serif;
&::before {
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: inherit;
filter: blur(10px);
}
}
.calendar {
position: relative;
width: 300px;
background-color: #fff;
box-sizing: border-box;
box-shadow: 0 5px 50px rgba(#000, 0.5);
border-radius: 8px;
overflow: hidden;
}
.calendar__date {
padding: 20px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(25px, 1fr));
grid-gap: 10px;
box-sizing: border-box;
}
.calendar__day {
display: flex;
align-items: center;
justify-content: center;
height: 25px;
font-weight: 600;
color: #262626;
&:nth-child(7) {
color: #ff685d;
}
}
.calendar__number {
display: flex;
align-items: center;
justify-content: center;
height: 25px;
color: #262626;
&:nth-child(7n) {
color: #ff685d;
font-weight: 700;
}
&--current,
&:hover {
background-color: #009688;
color: #fff !important;
font-weight: 700;
cursor: pointer;
}
}