feat: 基础文章编辑功能
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
:root {
|
||||
--layout-width: 1200px;
|
||||
}
|
||||
|
||||
4
src/styles/css-reset.css
Normal file
4
src/styles/css-reset.css
Normal file
@@ -0,0 +1,4 @@
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
12
src/styles/github-markdown.css
Normal file
12
src/styles/github-markdown.css
Normal file
@@ -0,0 +1,12 @@
|
||||
.markdown-body pre code{
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.markdown-body h1,
|
||||
.markdown-body h2,
|
||||
.markdown-body h3,
|
||||
.markdown-body h4,
|
||||
.markdown-body h5,
|
||||
.markdown-body h6 {
|
||||
border-bottom: none ;
|
||||
}
|
||||
27
src/styles/global.css
Normal file
27
src/styles/global.css
Normal file
@@ -0,0 +1,27 @@
|
||||
@import "modern-normalize";
|
||||
@import "css-reset.css";
|
||||
|
||||
:root {
|
||||
--layout-width: 980px;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: var(--layout-width);
|
||||
flex: 1;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 32px;
|
||||
}
|
||||
Reference in New Issue
Block a user