Commit 68222ba 1 parent 16a6adc commit 68222ba Copy full SHA for 68222ba
File tree 3 files changed +90
-88
lines changed
3 files changed +90
-88
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -284,7 +284,6 @@ textarea[readonly] {
284
284
@import "./Article.css" ;
285
285
@import "./GlobalBar.css" ;
286
286
@import "./icons.css" ;
287
- @import "./ListArticle.css" ;
288
287
@import "./StateToggle.css" ;
289
288
@import "./Tabs.css" ;
290
289
@import "./FeedView.css" ;
Original file line number Diff line number Diff line change
1
+ < style nonce ="{{ csp_nonce }} ">
2
+
3
+ .list-article {
4
+ margin : 0.75rem 0 ;
5
+ }
6
+
7
+ .list-article-inner {
8
+ margin : 0 auto;
9
+ overflow : hidden;
10
+ }
11
+
12
+ .list-article-slider {
13
+ display : flex;
14
+ flex-flow : row nowrap;
15
+ align-items : stretch;
16
+ --focus-offset : var (--focus-offset-in ); /* Don't clip focus ring. */
17
+
18
+ .outbound {
19
+ padding : calc (2 * var (--button-border-width ));
20
+ flex : 1 1 100% ;
21
+ width : 100% ;
22
+ display : grid;
23
+ /* XXX: Using grid here is starting to look a little silly. */
24
+ grid-template-areas :
25
+ "meta1"
26
+ "meta2" ;
27
+ grid-template-rows : 1fr 1fr ;
28
+ gap : 0.5rem ;
29
+
30
+ text-decoration : none;
31
+ /* We set the color on the container to set the color of the ellipsis generated by text-overflow. */
32
+ color : var (--quiet-text-color );
33
+
34
+ .meta1 {
35
+ grid-area : meta1;
36
+ color : var (--quiet-text-color );
37
+ text-transform : uppercase;
38
+ font-size : smaller;
39
+ }
40
+ .meta2 {
41
+ grid-area : meta2;
42
+ }
43
+ .meta1 ,
44
+ .meta2 {
45
+ white-space : nowrap;
46
+ text-overflow : ellipsis;
47
+ overflow : hidden;
48
+ }
49
+ .title {
50
+ color : var (--text-color );
51
+ }
52
+ .snippet {
53
+ color : var (--quiet-text-color );
54
+ padding-left : 0.5rem ;
55
+ }
56
+ }
57
+
58
+ read-toggle ,
59
+ .view-link {
60
+ flex : 0 0 var (--bar-height );
61
+ }
62
+ read-toggle {
63
+ button {
64
+ width : 100% ;
65
+ height : 100% ;
66
+ }
67
+ }
68
+ .view-link {
69
+ }
70
+
71
+ .outbound-icon ,
72
+ read-toggle button ,
73
+ .view-link {
74
+ font-size : var (--icon-size );
75
+ display : flex;
76
+ flex-flow : row nowrap;
77
+ align-items : center;
78
+ justify-content : center;
79
+
80
+ .icon {
81
+ flex : 0 0 auto;
82
+ display : block;
83
+ align-self : center;
84
+ justify-self : center;
85
+ }
86
+ }
87
+
88
+ }
89
+ </ style >
90
+
1
91
{% for article in articles %}
2
92
< div class ="list-article ">
3
93
< div class ="list-article-inner ">
You can’t perform that action at this time.
0 commit comments