Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cksheuen committed Sep 12, 2024
1 parent 7d33dac commit 2d6f061
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/api/posts/postDirs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ export default defineEventHandler(async (event) => {

}
})
return allPostsData/* .sort((a, b) => a.cdate < b.cdate ? 1 : -1) */
return allPostsData.sort((a, b) => a.cdate < b.cdate ? 1 : -1)
})
15 changes: 14 additions & 1 deletion styles/github-markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,20 @@
border-style: none;
max-width: 100%;
box-sizing: content-box;
background-color: var(--color-canvas-default);
background: var(--clock-bg-800);
padding: 1em;
mask:
linear-gradient(to right,
transparent 0,
var(--clock-bg-800) 5%,
var(--clock-bg-800) 95%,
transparent 100%),
linear-gradient(to bottom,
transparent 0,
var(--clock-bg-800) 5%,
var(--clock-bg-800) 95%,
transparent 100%);
mask-composite: intersect;
}

.markdown-body code,
Expand Down

0 comments on commit 2d6f061

Please sign in to comment.