This commit is contained in:
@ -1,7 +1,7 @@
|
||||
---
|
||||
/* 在博客翻新时期使用的占位 Layout,讲究的就是极简 */
|
||||
|
||||
import BaseLayout from '../layout/BaseLayout.astro'
|
||||
import FullLayoutV1 from './FullLayoutV1.astro'
|
||||
|
||||
interface Props {
|
||||
title?: string
|
||||
@ -10,11 +10,11 @@ interface Props {
|
||||
const { title = '小帕的小窝' } = Astro.props
|
||||
---
|
||||
|
||||
<BaseLayout title={title}>
|
||||
<FullLayoutV1 title={title}>
|
||||
<div class="main">
|
||||
<slot />
|
||||
</div>
|
||||
</BaseLayout>
|
||||
</FullLayoutV1>
|
||||
|
||||
<style>
|
||||
.main {
|
||||
@ -29,6 +29,12 @@ const { title = '小帕的小窝' } = Astro.props
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
|
||||
& :global(h1) {
|
||||
font-size: 2rem;
|
||||
font-weight: 700;
|
||||
margin-block: 1rem;
|
||||
}
|
||||
|
||||
& :global(a) {
|
||||
color: var(--color-link);
|
||||
text-decoration: none;
|
||||
|
||||
Reference in New Issue
Block a user