-
Notifications
You must be signed in to change notification settings - Fork 0
/
calendar.css
107 lines (107 loc) · 2.08 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins",sans-serif;
}
.flex{
display: flex;
align-items: center;
justify-content: center;
}
.container{
width: 100%;
height: 500px;
background-color: rgb(33, 32, 32);
}
.calendar{
width: 430px;
height: 500px;
background-color: white;
box-shadow:
10px 10px 20px rgba(0,0,0,0.669),
-10px -10px 20px rgba(0, 0, 0, 0.436);
}
.calendar .month{
width: 100%;
height: 20%;
padding: 20px 30px;
background-color: #ff9a8b;
background-image: linear-gradient(
90deg,
#ff9a8b 0%,
#ff6a88 55%,
#ff99ac 100%
);
justify-content: space-between !important;
text-align: center;
}
.calendar .month img{
width: 26px;
height: 26px;
cursor: pointer;
transition: 0.1s;
}
.month img:hover{
opacity: 0.8;
}
.month h1{
text-transform: uppercase;
font-size: 30px;
}
.month p{
font-weight: 300;
color: rgba(0, 0, 0, 0.797);
font-family: cursive;
}
.weekdays{
width: 100%;
padding: 10px;
height: 10%;
padding-bottom: 0;
}
.weekdays div{
width: calc(430px/7);
height: 80%;
text-align: center;
font-size: 16px;
font-weight: 500;
margin: 0 50px;
transition: 0.2s;
}
.days{
width: 100%;
height: 70%;
flex-wrap: wrap;
margin: auto;
padding: 30px 10px;
padding-top: 0;
}
.days div{
width: calc(400px/7);
height: calc(400px/7);
text-align: center;
font-size: 13.5px;
font-family: cursive;
display: flex;
align-items: center;
justify-content: center;
transition: 0.1s;
}
.days .previous-days,
.days .next-days{
color: rgbd(0,0,0,0.349);
}
.days .today{
background-color:#ff6a88;
cursor: pointer;
color: white;
border-radius: 0;
transition: 0.2s;
}
.days div:not(.today):hover{
border-radius:0;
border: 0.5px solid black;
background-color: rgba(0,0,0,0.215);
cursor: pointer;
}