mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
Add title css
This commit is contained in:
@ -4,6 +4,7 @@ import { AppPropsWithLayout } from 'types';
|
||||
import { ThemeProvider } from 'next-themes';
|
||||
import 'styles/prism-one-light.css';
|
||||
import 'styles/prism-one-dark.css';
|
||||
import 'styles/rua.css';
|
||||
|
||||
function MyApp({ Component, pageProps }: AppPropsWithLayout) {
|
||||
const getLayout = Component.getLayout ?? ((page) => page);
|
||||
|
@ -6,8 +6,12 @@ tags: ['functions', 'JavaScript']
|
||||
|
||||
import Layout from 'layouts/MDXLayout.tsx';
|
||||
|
||||
export default ({ children }) => <Layout>{children}</Layout>;
|
||||
|
||||
# Hello world
|
||||
|
||||
<time>2022-03-22</time>
|
||||
|
||||
## Hello
|
||||
|
||||
This is my first post.
|
||||
@ -19,5 +23,3 @@ console.log('Hello world.');
|
||||
### h3
|
||||
|
||||
this is h3 test
|
||||
|
||||
export default ({ children }) => <Layout>{children}</Layout>;
|
||||
|
@ -0,0 +1,7 @@
|
||||
#article h1 {
|
||||
font-weight: bold;
|
||||
margin: 0 0 0.5em 0;
|
||||
text-align: center;
|
||||
@apply text-gray-800 dark:text-gray-200;
|
||||
@apply text-5xl font-Barlow;
|
||||
}
|
||||
|
Reference in New Issue
Block a user