-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
127 lines (107 loc) · 2.25 KB
/
style.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");
* {
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: 100vh;
background-color: rgb(33, 32, 32);
}
/* @CoderMo */
.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: #0093e9;
background-image: linear-gradient( 90deg, #0093e9 0%, #037cc2 55%, #59c1fd 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;
color: #fff
}
.month p {
font-weight: 300;
color: #fff;
font-family: cursive;
}
/* @CoderMo */
.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 5px;
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: #fff;
}
.days .today {
background-color: #0093e9;
cursor: pointer;
color: white;
border-radius: 50%;
transition: 0.2s;
}
.days .today:hover {
background-color: #0093e9;
}
.days div:not(.today):hover {
border-radius: 0;
border: 0.5px solid white;
background-color: rgba(0, 0, 0, 0.215);
cursor: pointer;
}