-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
45 lines (40 loc) · 937 Bytes
/
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
body{
margin: 0 auto
}
.month{
display: grid;
grid-template-columns: repeat(7, 1fr);
grid-template-rows: repeat(4, 1fr);
}
.day {
border: 1px solid gainsboro;
width: auto;
height: 100px;
border-left: 3px solid mediumvioletred;
font-size: xx-large;
text-align: end;
}
.days_of_week {
border-bottom: 3px solid red;
border-left: 3px solid mediumvioletred;
text-align: center;
line-height: 3;
font-size: xx-large;
}
@media only screen and (max-width: 768px) {
.month{
grid-template-columns: repeat(6, 1fr);
grid-template-rows: repeat(7, 1fr);
grid-auto-flow: column;
}
.day {
border: 1px solid gainsboro;
border-bottom: 3px solid mediumvioletred;
text-align: left;
}
.days_of_week {
border-bottom: 3px solid mediumvioletred;
border-right: 4px solid red;
border-left: none;
}
}