yapi/client/styles/common.scss
2017-07-26 18:24:06 +08:00

55 lines
894 B
SCSS

@charset "utf-8";
@import '~antd/dist/antd.css';
html {
font-size:625%;
}
html, body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
SimSun, sans-serif;
margin: 0;
padding: 0;
height: 100%;
background: #f1f3f6;
}
div, article, p, table, tr, td, th, ul, ol, li, h1, h2, h3, form, dl, dt, dd {
margin: 0;
padding: 0;
box-sizing: border-box;
}
ul {
list-style-type: none;
}
a {
text-decoration: none;
&:active, &:hover, &:visited{
text-decoration: none
}
}
a:hover {
color: #636363;
}
em {
font-style: normal;
}
// 页面最外层元素 样式
.router-main {
display: -webkit-box;
-webkit-box-orient: vertical;
height: 100%;
.router-container{
min-height:calc(100% - 2.47rem);
}
}
.hidden {
display: none;
}