Skip to content

Commit 52c0f71

Browse files
committed
more
1 parent 502a18f commit 52c0f71

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

apps/svelte.dev/src/routes/blog/+page.svelte

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@
5252
.post {
5353
margin: 2em 0;
5454
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+
5568
&:first-child {
5669
margin: 0 0 2rem 0;
5770
padding: 0 0 4rem 0;
@@ -74,27 +87,8 @@
7487
7588
p {
7689
font-size: var(--sk-text-s);
77-
max-width: 30em;
7890
color: var(--sk-text-3);
7991
margin: 0;
8092
}
8193
}
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-
} */
10094
</style>

0 commit comments

Comments
 (0)