-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshare.css
120 lines (104 loc) · 2.44 KB
/
share.css
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
a {
text-decoration: none;
color: #3d3a33;
}
ul li {
list-style-type: none;
/* 移除列表项前的项目符号 */
padding-left: 0;
/* 移除列表项内部的左内边距 */
margin-left: 0;
/* 移除列表项内部的左外边距 */
}
#layout {
align-items: flex-start;
}
#main {
margin: 25px 10px;
background-color: #fff;
border-radius: 20px;
box-shadow: 0 0 10px 5px rgba(165, 170, 168, 0.253);
}
#title {
padding: 5px 20px;
background: linear-gradient(135deg, #17ead9, #6078ea);
border-radius: 10px;
}
#parentLink {
margin-right: 20px;
}
#menu {
position: sticky;
top: 25px;
margin: 25px 10px;
padding: 10px;
border-radius: 20px;
box-shadow: 0 0 10px 5px rgba(165, 170, 168, 0.253);
overflow: hidden;
}
#menu::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
/* 背景图片覆盖整个容器 */
background-position: center;
/* 背景图片居中 */
background-repeat: no-repeat;
/* 背景图片不重复 */
filter: blur(0px);
/* 添加模糊效果 */
z-index: -1;
/* 将伪元素置于内容下方 */
}
#menu>p:first-child {
padding: 5px 20px;
border-bottom: 2px solid #736e60;
border-radius: 10px;
color: #ffffff;
background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc');
}
#menu>p:first-child a {
color: #ffffff;
}
.ck-content pre {
background: linear-gradient(135deg, #000000, #434343);
color: #ff9b04;
border-radius: 10px;
font-family: 'Consolas', monospace;
color: linear-gradient(135deg, #7117ea, #ea6060);
}
#content pre {
background: linear-gradient(135deg, #000000, #434343);
color: #ff9b04;
border-radius: 10px;
font-family: 'Consolas', monospace;
color: linear-gradient(135deg, #7117ea, #ea6060);
}
#parentLink {
font-weight: bold;
}
#parentLink a {
padding-left: 10px;
color: #ffffff;
}
#childLinks ul li {
margin: 5px 10px;
padding: 0px 8px;
border-radius: 10px;
background: linear-gradient(135deg, #fad7a1, #e96d71);
}
#childLinks.grid ul li a {
border: none;
}
#childLinks.grid ul li a:hover {
color: white;
/* 鼠标放上时的文字颜色 */
background-color: rgba(255, 255, 255, 0.2);
/* 鼠标放上时的背景颜色 */
text-decoration: underline;
/* 鼠标放上时添加下划线 */
}