global.scss 931 字节
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
@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);
}

L
leoku  
LeoKu 已提交
14 15 16 17
:root {
  color-scheme: dark;
}

L
LeoKu 已提交
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
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 {
35
  background: rgba(var.$color-text, 0.15);
L
LeoKu 已提交
36 37 38 39 40 41
}

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