ant-design/site/theme/static/not-found.less
米老朱 6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00

35 lines
602 B
Plaintext

#page-404 {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 100;
width: 100%;
height: 100%;
background-image: url('https://os.alipayobjects.com/rmsportal/NOAjOBbnYCrNzrW.jpg');
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
background-attachment: fixed;
section {
position: absolute;
top: 48%;
left: 55%;
margin: -103px 0 0 -120px;
text-align: center;
}
h1 {
color: @primary-color;
font-weight: 500;
font-size: 120px;
}
p {
color: @site-text-color;
font-size: 18px;
}
}