Add title css

This commit is contained in:
DefectingCat
2022-03-26 10:39:22 +08:00
parent 5d89ed048d
commit dfc1905d03
3 changed files with 12 additions and 2 deletions

View File

@ -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);

View File

@ -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>;

View File

@ -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;
}