mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
Refactor body class codes to base.css
This commit is contained in:
@@ -47,9 +47,7 @@ const { title } = Astro.props;
|
||||
document.querySelector("html").className = theme;
|
||||
</script>
|
||||
</head>
|
||||
<body
|
||||
class="font-mono bg-skin-fill text-skin-base min-h-screen flex flex-col"
|
||||
>
|
||||
<body>
|
||||
<slot />
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -29,6 +29,9 @@
|
||||
.theme-dark #sun-svg {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
@apply font-mono bg-skin-fill text-skin-base min-h-screen flex flex-col;
|
||||
}
|
||||
section,
|
||||
footer {
|
||||
@apply max-w-3xl mx-auto px-4;
|
||||
|
||||
Reference in New Issue
Block a user