-
Notifications
You must be signed in to change notification settings - Fork 0
/
diary-rounded.css
62 lines (51 loc) · 1.58 KB
/
diary-rounded.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
/* Diary extension, https://github.com/GiovanniSalmeri/yellow-diary */
ul.diary {
padding-left: 0;
list-style-type: none;
overflow: auto;
}
ul.diary li {
background-color: #F7F7F7;
border-radius: 4px;
padding: 5px 5px 5px 75px;
margin-bottom: 10px;
clear: both;
}
ul.diary li div.date {
width: 60px;
height: 60px;
border-radius: 4px;
margin-left: -70px;
float: left;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
ul.diary li div.poster {
float: right;
margin-bottom: 7px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
ul.diary.future li div.date {
background-color: #FCF0AD;
}
ul.diary.past li div.date {
background-color: #C7C7C7;
}
ul.diary li div.date b {
display: none;
}
ul.diary li div.date span {
display: block;
text-align: center;
}
ul.diary li div.date span.wday, ul.diary li div.date span.month {
font-size: 12px;
line-height: 15px;
}
ul.diary li div.date span.mday {
font-size: 25px;
font-weight: bold;
line-height: 25px;
}
ul.diary li div.add a.calendar::before {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1.5em' height='1em' viewBox='0 0 36 24'%3E%3Cpath fill='%23808080' d='M20 20h-4v-4h4v4zm-6-10h-4v4h4v-4zm6 0h-4v4h4v-4zm-12 6h-4v4h4v-4zm6 0h-4v4h4v-4zm-6-6h-4v4h4v-4zm16-8v22h-24v-22h3v1c0 1.103.897 2 2 2s2-.897 2-2v-1h10v1c0 1.103.897 2 2 2s2-.897 2-2v-1h3zm-2 6h-20v14h20v-14zm-2-7c0-.552-.447-1-1-1s-1 .448-1 1v2c0 .552.447 1 1 1s1-.448 1-1v-2zm-14 2c0 .552-.447 1-1 1s-1-.448-1-1v-2c0-.552.447-1 1-1s1 .448 1 1v2z'/%3E%3C/svg%3E");
}