mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-13 12:59:24 +08:00
66 lines
1.2 KiB
SCSS
66 lines
1.2 KiB
SCSS
@use './var.scss' as *;
|
|
@use "../assets/fonts/font.css";
|
|
|
|
body {
|
|
--margin: 14px; // 通用外边距
|
|
--padding: 16px; // 通用内边距
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#app {
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
font-family: var(--current-font-family), -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
html {
|
|
font-size: 14px;
|
|
}
|
|
|
|
body {
|
|
overflow: hidden;
|
|
color: var(--color-text-2);
|
|
background-color: #f5f7fd; // body背景颜色
|
|
text-rendering: optimizeLegibility;
|
|
// font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
// font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, \5fae\8f6f\96c5\9ed1, Arial,
|
|
// sans-serif;
|
|
}
|
|
|
|
body[arco-theme='dark'] {
|
|
background-color: #373739; // body背景颜色-深色模式
|
|
}
|
|
|
|
#app {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
// min-height: 800px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
ul {
|
|
list-style: none !important;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
a,
|
|
a:focus,
|
|
a:hover {
|
|
cursor: pointer;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
:root {
|
|
--current-font-family: 'PingFang SC';
|
|
}
|