forked from cl-lw/HTML-CSS-JavaScript-projects-for-beginners
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
87 lines (76 loc) · 1.35 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
*{
margin: 0;
padding: 0;
font-family: sans-serif;
box-sizing: border-box;
}
.container{
width: 100%;
height: 100vh;
background-color: salmon;
display: flex;
justify-content: center;
align-items: center;
}
.calender{
background-color: black;
color: lightgray;
width: 450px;
height: 520px;
border-radius: 10px;
box-shadow: 4px 4px 8px rgba(0, 0, 0, .4);
}
.month{
width: 100%;
height: 120px;
background-color: lightseagreen;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
border-radius: 10px 10px 0 0;
}
.month h1{
font-size: 30px;
font-weight: 400;
text-transform: uppercase;
}
.month p{
font-size: 16px;
}
.weekdays{
width: 100%;
height: 50px;
display: flex;
}
.weekdays div{
font-size: 15px;
font-weight: bold;
letter-spacing: 1px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.days{
width: 100%;
display: flex;
flex-wrap: wrap;
padding: 2px;
}
.days div{
font-size: 14px;
margin: 3px;
width: 57.5px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
}
.days div:hover:not(.empty){
border: 2px solid gray;
cursor: pointer;
}
.today{
background-color: lightseagreen;
}