feat: 基础文章编辑功能
This commit is contained in:
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