forked from andrecarlucci/MMM-DailyDilbert
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomics.css
More file actions
42 lines (32 loc) · 815 Bytes
/
Copy pathcomics.css
File metadata and controls
42 lines (32 loc) · 815 Bytes
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
/* The basic container */
.MMM-Comics .comic-container {
overflow: hidden;
/* To make the height of the container exact. */
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.MMM-Comics #comic-content {
white-space: nowrap;
position: relative;
overflow: hidden; /* Required to make ellipsis work */
text-overflow: clip;
top: 0%;
-webkit-transition: top 3s, height 3s;
-moz-transition: top 3s, height 3s;
transition: top 3s, height 3s;
}
.MMM-Comics .bw-image {
-webkit-filter: contrast(10) grayscale(1) invert(1);
filter: contrast(10) grayscale(1) invert(1);
}
.MMM-Comics img {
max-width: 100%;
max-height: 100%;
display: block;
margin: auto auto;
}
.MMM-Comics #msg {
line-height: 100px;
vertical-align: top;
}