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;
|
document.querySelector("html").className = theme;
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body
|
<body>
|
||||||
class="font-mono bg-skin-fill text-skin-base min-h-screen flex flex-col"
|
|
||||||
>
|
|
||||||
<slot />
|
<slot />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -29,6 +29,9 @@
|
|||||||
.theme-dark #sun-svg {
|
.theme-dark #sun-svg {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
body {
|
||||||
|
@apply font-mono bg-skin-fill text-skin-base min-h-screen flex flex-col;
|
||||||
|
}
|
||||||
section,
|
section,
|
||||||
footer {
|
footer {
|
||||||
@apply max-w-3xl mx-auto px-4;
|
@apply max-w-3xl mx-auto px-4;
|
||||||
|
|||||||
Reference in New Issue
Block a user