-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdaybyday.css
99 lines (87 loc) · 1.64 KB
/
daybyday.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
.day-of-week,
.date-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
}
.month-name {
font-family: Helvetica;
font-size: 20px;
}
.calendar {
border-width:.15em;
border-style:solid;
border-color: grey;
border-radius:3%;
}
.day-of-week {
margin: .25em;
margin-top: .75em;
border-bottom: .15em;
border-bottom-style:solid;
border-bottom-color:grey;
}
.day-of-week > * {
/* font-size: 0.7em; */
/* font-weight: 500; */
/* letter-spacing: 0.1em; */
/* font-variant: small-caps; */
text-align: center;
font-family: Helvetica;
font-weight: bold;
}
.day-by-day {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.month-name {
grid-column-start: 1;
grid-column-end: 4;
text-align: center;
}
.date-grid button{
position: relative;
border: 0;
width: 4.5ch;
height:4.5ch;
border-radius: 50%;
background-color: transparent;
}
.date-grid > *{
font-weight:normal;
}
.date-grid > *:nth-child(7n-6){
color:red;
}
.date-grid > *:nth-child(7n){
color:red;
}
.weekend {
color:red;
}
.arrow {
place-self: center;
border-radius: 50%;
background-color: rgba(0,0,0,0.3);
display:flex;
text-align:center;
justify-content:center;
width:40px;
height:40px;
}
.arrow > button {
border-radius: 100%;
border:none;
color: white;
text-align: center;
font-size:30px;
background-color: rgba(0,0,0,0);
padding:0px;
/* position: relative; */
/* top: 50%; */
/* margin: 0 auto; */
/* display: inline-block; */
/* transform: translateY(-50%); */
}
.other-month{
opacity:0;
}