-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
96 lines (95 loc) · 1.2 KB
/
styles.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
body{
font-family:'Helvetica Neue', Helvetica;
padding:1em;
}
ul{
margin:0;
font-size:.8em;
}
ul li:first-child{
margin-top:.5em;
}
ul li:last-child{
margin-bottom:.5em;
}
.target{
background: #FFFBE2;
border-top:none;
}
h1{
margin-bottom:0;
padding-bottom:.5em;
border-bottom:1px solid #ccc;
}
.day{
margin-bottom:1em;
padding:1em;
}
.day:first-of-type{
padding-left:0;
}
.day:last-of-type{
padding-right:0;
}
.day-header {
color:#ccc;
font-weight:normal;
}
h1 a,
.day-header a {
color: inherit;
text-decoration:none;
}
.day div {
border-bottom:1px solid #ccc;
padding-bottom:1em;
}
.day div:last-of-type{
border:none;
}
.day h2{
margin-bottom:0;
}
.day time{
font-size:.8em;
}
*{
box-sizing:border-box;
}
h2{
font-size:1em;
}
.day{
width: 20%;
float:left;
}
.week:after{
content:'';
display:block;
clear:both;
}
@media (max-width:40em){
body {
padding:1em;
}
.day{
width:100%;
margin-bottom:0;
border-bottom: 1px solid #ccc;
padding: 1em 0;
}
h1{
padding:0;
margin:0;
margin-top:1em;
}
.day div{
border: none;
padding-bottom:0;
}
.target{
border-left:none;
padding:.5em;
border-right:none;
}
}