File tree Expand file tree Collapse file tree 1 file changed +13
-19
lines changed
apps/svelte.dev/src/routes/blog Expand file tree Collapse file tree 1 file changed +13
-19
lines changed Original file line number Diff line number Diff line change 52
52
.post {
53
53
margin : 2em 0 ;
54
54
55
+ &:where(:first-child, :nth-child(2 ))::before {
56
+ content : ' Latest post • ' attr (data-pubdate );
57
+ color : var (--sk-text-4 );
58
+ font-family : var (--sk-font-ui );
59
+ font-size : var (--sk-text-xs );
60
+ font-weight : 400 ;
61
+ text-transform : uppercase ;
62
+ }
63
+
64
+ &:nth-child (2 )::before {
65
+ content : ' Older posts' ;
66
+ }
67
+
55
68
&:first-child {
56
69
margin : 0 0 2rem 0 ;
57
70
padding : 0 0 4rem 0 ;
74
87
75
88
p {
76
89
font-size : var (--sk-text-s );
77
- max-width : 30em ;
78
90
color : var (--sk-text-3 );
79
91
margin : 0 ;
80
92
}
81
93
}
82
-
83
- .post :where(:first-child , :nth-child (2 ))::before {
84
- content : ' Latest post • ' attr (data-pubdate );
85
- color : var (--sk-text-4 );
86
- font-family : var (--sk-font-ui );
87
- font-size : var (--sk-text-xs );
88
- font-weight : 400 ;
89
- text-transform : uppercase ;
90
- }
91
-
92
- .post :nth-child (2 )::before {
93
- content : ' Older posts' ;
94
- }
95
-
96
- /* .posts a:hover,
97
- .posts a:hover > h2 {
98
- color: var(--sk-theme-3);
99
- } */
100
94
</style >
You can’t perform that action at this time.
0 commit comments