-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
97 lines (90 loc) · 1.69 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
* {
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
height: 100vh;
background-color: #f2f4f6;
font-family: '맑은 고딕', sans-serif;
}
.calendar {
border-radius: 10px;
position: relative;
width: 300px;
height: 300px;
}
.calendar-box {
display: block;
position: absolute;
top: 35px;
left: 0;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
border-radius: 30px;
}
.calendar-box.hide {
display: none;
}
h1 {
margin: 20px 0;
font-size: 43px;
color: #af5b4a;
}
.calendar .input-area input[type='text'] {
width: 200px;
height: 35px;
border: 2px solid #1e457f;
padding: 5px;
}
/*-------.calendar-nav------*/
.calendar-nav {
display: flex;
margin-top: 5px;
justify-content: space-between;
padding: 20px;
background-color: #5cd17b;
border-radius: 20px 20px 0 0;
text-align: center;
}
.calendar-nav span {
display: block;
font-size: 16px;
color: #fff;
}
.calendar-nav span.nav-month {
margin-bottom: 5px;
font-size: 20px;
font-weight: bold;
}
/*-------.calendar-grid------*/
.calendar-grid {
padding: 15px;
background-color: #fff;
border-radius: 0 0 20px 20px;
}
.calendar-grid ul {
display: grid;
grid-template-columns: repeat(7, 1fr);
text-align: center;
}
.calendar-grid ul li {
padding: 15px 10px;
cursor: pointer;
}
.calendar-grid ul li.today {
border: 1px solid #5cd17b;
border-radius: 50px;
font-weight: bold;
}
.calendar-grid ul li:nth-child(7n + 1) {
color: #ff4b3e;
}
.notCurrDay {
color: #cecece !important;
}
.select {
background: #5cd17b;
color: #fff;
border-radius: 50px;
font-weight: bold;
}