global.scss 898 字节
Newer Older
1 2
@use 'src/styles/var';
/* stylelint-disable-next-line no-invalid-position-at-import-rule */
L
LeoKu 已提交
3
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');
4
/* stylelint-disable-next-line no-invalid-position-at-import-rule */
L
LeoKu 已提交
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');

@font-face {
  font-family: Fallback;
  src: local(system-ui), local(-apple-system), local(BlinkMacSystemFont),
    local(Segoe UI), local(Roboto), local(Ubuntu), local(Helvetica),
    local(Arial), local(sans-serif);
}

html,
body {
  height: 100%;
  margin: 0;
  font-size: 16px;
  font-family: Rubik, Fallback;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  user-select: none;
  -webkit-user-drag: none;
}

::selection {
31
  background: rgba(var.$color-text, 0.15);
L
LeoKu 已提交
32 33 34 35 36 37
}

#app {
  width: 100%;
  height: 100%;
}