-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalender.css
More file actions
72 lines (67 loc) · 1.44 KB
/
calender.css
File metadata and controls
72 lines (67 loc) · 1.44 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
body{
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: 'Poppins',sans-serif;
background: url(33.jpeg);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.calender{
width: 300px;
height: auto;
background: #fff;
box-sizing: border-box;
box-shadow: 0 5px 50px rgba(0,0,0,.5);
}
.calender .image{
width: 100%;
height:200px;
background: url(dog6.jpeg);
background-size: cover;
padding: 20px;
box-sizing: border-box;
}
.calender .image h2,
.calender .image h3{
margin: 0;
padding: 0;
color: white;
text-shadow: 0 2px 2px rgba(0,0,0,.2);
}
.calender .image h3{
font-weight: 500;
}
.calender .date{
padding: 20px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(25px,1fr));
grid-gap: 10px;
box-sizing: border-box;
}
.calender .date div{
display: flex;
justify-content: center;
align-items: 25px;
color:black;
}
.calender .date div.day{
font-weight: 700;
}
.calender .date div.day:first-child,
.calender .date div.number:nth-child(7n+1){
color: #ff685d;
font-weight: 700;
}
.calender .date div.number.active,
.calender .date div.number:hover
{
background:yellowgreen;
color:whitesmoke;
font-weight: 700;
cursor: pointer;
}