yapi/client/styles/common.scss

55 lines
894 B
SCSS
Raw Normal View History

2017-07-10 19:50:11 +08:00
@charset "utf-8";
@import '~antd/dist/antd.css';
html {
2017-07-11 19:12:13 +08:00
font-size:625%;
2017-07-10 19:50:11 +08:00
}
html, body {
2017-07-13 15:10:13 +08:00
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
SimSun, sans-serif;
2017-07-10 19:50:11 +08:00
margin: 0;
padding: 0;
height: 100%;
2017-07-25 18:11:53 +08:00
background: #f1f3f6;
2017-07-10 19:50:11 +08:00
}
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;
2017-07-17 11:01:05 +08:00
&:active, &:hover, &:visited{
text-decoration: none
}
2017-07-10 19:50:11 +08:00
}
a:hover {
color: #636363;
}
em {
font-style: normal;
}
// 页面最外层元素 样式
.router-main {
display: -webkit-box;
2017-07-11 15:03:02 +08:00
-webkit-box-orient: vertical;
2017-07-25 18:11:53 +08:00
height: 100%;
2017-07-26 16:20:20 +08:00
.router-container{
min-height:calc(100% - 2.47rem);
}
2017-07-10 19:50:11 +08:00
}
2017-07-26 18:24:06 +08:00
.hidden {
display: none;
2017-07-10 19:50:11 +08:00
}