-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
111 lines (91 loc) · 1.62 KB
/
styles.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
108
109
110
111
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background-color: blueviolet;
}
.wrapper {
background: #fff;
width: 450px;
border-radius: 10px;
}
.wrapper header {
display: flex;
align-items: center;
padding: 25px 30px;
justify-content: space-between;
}
header .current-date {
font-size: 1.45rem;
font-weight: 500;
}
header .icons span {
height: 38px;
width: 38px;
background-color: lightblue;
margin: 0 1px;
text-align: center;
cursor: pointer;
font-size: 1.9rem;
line-height: 38px;
border-radius: 50%;
}
header .icons span:last-child {
margin-right: -10px;
}
header .icons span:hover {
background-color: lightgrey;
}
.calender {
padding: 20px;
text-align: center;
}
.calender ul {
display: flex;
list-style: none;
flex-wrap: wrap;
}
.calender ul li {
position: relative;
width: calc(100%/7);
}
.calender .days {
margin-bottom: 20px;
}
.calender .days li {
cursor: pointer;
margin-top: 30px;
z-index: 1;
}
.calender .weeks li {
font-weight: 500;
}
.days li.inactive{
color:gray
}
.calender .days li::before {
position: absolute;
border-radius: 50%;
content: "";
height: 40px;
width: 40px;
top: -30%;
z-index: -1;
left: 15%;
transform: translate((-50%, -50%));
background-color: rgb(233, 227, 227);
}
.days li:hover::before {
background: lightblue;
}
.days li.active::before{
background-color: lightcoral;
}