-
Notifications
You must be signed in to change notification settings - Fork 5
/
banner_ics.css
87 lines (76 loc) · 1.53 KB
/
banner_ics.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
.ics-event-container {
display: flex !important;
align-items: center;
}
.ics-event {
display: block !important;
font-size: 0.9em;
}
.ics-event .title {
font-size: 1.2em;
font-weight: bold;
}
.ics-icon {
font-size: 0.6em; /* change icon size */
display: block;
position: relative;
width: 5em;
height: 7em;
background-color: #fff;
border-radius: 0.6em;
box-shadow: 0 1px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
overflow: hidden;
margin-right: 18px;
flex-shrink: 0;
padding: 0 !important;
min-height: 0 !important;
}
.ics-icon * {
display: block;
width: 100%;
font-size: 1em;
font-weight: bold;
font-style: normal;
text-align: center;
margin: 0 !important;
min-height: 0 !important;
}
.ics-icon .m {
font-size: 1.3em;
position: absolute;
top: 0;
padding: 0.1em 0 !important;
color: #fff;
background-color: #007bff;
}
.ics-icon .day {
font-size: 1.1em;
position: absolute;
bottom: 0.1em;
color: black;
padding: 0 !important;
}
.ics-icon .d {
font-size: 2.4em;
letter-spacing: -0.05em;
padding: 0.9em 0 0 0 !important;
color: black;
}
.ics-event-description {
overflow-x: auto;
}
.ics-event-description div {
padding: 0 !important;
margin: 0 !important;
}
.ics-event-description a {
display: inline-block;
max-width: 25em;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: bottom;
}
html.dark-mode .ics-event {
color: #c5d1d3;
}