Ben Lin
2024-08-22 436b52186129e60ba72c20e43d2845bc3f899901
1
2
3
4
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
@import 'color.less';
@import 'transition/index.less';
@import 'var/index.less';
@import 'public.less';
@import 'ant/index.less';
@import 'theme.less';
@import 'entry.css';
 
input:-webkit-autofill {
  box-shadow: 0 0 0 1000px transparent inset;
  -webkit-text-fill-color: @text-color-base;
}
 
:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s !important;
}
 
html {
  overflow: hidden;
  text-size-adjust: 100%;
}
 
html,
body {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
 
  &.color-weak {
    filter: invert(80%);
  }
 
  &.gray-mode {
    filter: grayscale(100%);
    filter: progid:dximagetransform.microsoft.basicimage(grayscale=1);
  }
}
 
a:focus,
a:active,
button,
div,
svg,
span {
  outline: none;
}
 
// 保持 和 windi 一样的全局样式,减少升级带来的影响
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}