-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewsfeed.css
62 lines (52 loc) · 993 Bytes
/
newsfeed.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
iframe.newsfeed-fullarticle {
width: 100vw;
/* very large height value to allow scrolling */
height: 3000px;
top: 0;
left: 0;
border: none;
z-index: 1;
}
.region.bottom.bar.newsfeed-fullarticle {
bottom: inherit;
top: -90px;
}
.newsfeed-list {
list-style: none;
max-width: 500px;
max-height: 1000px;
overflow: hidden;
position: relative;
}
.newsfeed-list:before {
content: '';
width: 100%;
height: 100%;
position: absolute;
top:0;
left:0;
background:linear-gradient(transparent 50%, black);
}
.newsfeed-list li {
text-align: justify;
margin-bottom: 0.5em;
}
.newsfeed-image {
min-width: 200px;
min-height: 200px;
background-position: center 10px;
background-size: contain;
background-repeat: no-repeat;
order: 0;
}
.newsfeed-list .newsfeed-image {
min-width: 100px;
min-height: 100px;
}
.MMM-anotherNewsFeed .container {
display: flex;
gap: 10px;
}
.MMM-anotherNewsFeed .container.withImage * {
text-align: left;
}