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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
@import './base.css';
#app {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
font-weight: normal;
}
a,
.green {
text-decoration: none;
/*高亮色*/
/*color: hsla(160, 100%, 37%, 1);*/
color: #00BDEF;
transition: 0.4s;
}
@media (hover: hover) {
a:hover {
/*background-color: hsla(160, 100%, 37%, 0.2);*/
color: #00F8F3;
text-decoration: underline;
}
}
@media (min-width: 1024px) {
body {
display: flex;
place-items: center;
}
#app {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 0 2rem;
}
}
.item i {
background: linear-gradient(to right, #00F8F3, #00BDEF);
}
.item{
transition: 0.4s;
}
.item:hover{
background-color:rgba(255,255,255,0.05);
}
.details h3,
.item i{
color:#ffffff;
}
/*滚动条优化*/
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
border-radius: 0;
}
::-webkit-scrollbar {
-webkit-appearance: none;
width: 6px;
height: 6px;
}
::-webkit-scrollbar-thumb {
cursor: pointer;
border-radius: 5px;
background: rgba(0, 0, 0, 0.15);
transition: color 0.2s ease;
}
|