【笔记】NexT8.8修改鼠标指针样式

前言

NexT8.8修改鼠标指针样式

存放鼠标

  • 将鼠标文件(.cur)放在hexo/source/cursor目录下(没有就创建一个cursor目录)

修改样式

修改主题配置文件

  • 打开注释
_config.next
1
2
custom_file_path:
style: source/_data/styles.styl

配置自定义样式

  • 创建(或修改)hexo/source/_data/styles.styl文件
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
// 鼠标样式
a {
cursor: url(/cursor/ayuda.cur), auto
}
a:active {
cursor: url(/cursor/work.cur), alias
}
p {
cursor: url(/cursor/texto.cur), auto
}
body {
cursor: url(/cursor/normal.cur), auto
}
.cd-top {
cursor: url(/cursor/No_Disponible.cur), auto
}
.ins-section .ins-section-header,.ins-section .ins-search-item {
cursor: url(/cursor/ayuda.cur),auto
}
.ins-section .ins-search-item .ins-search-preview {
cursor: url(/cursor/ayuda.cur),auto
}
.botui-actions-buttons-button {
cursor: url(/cursor/No_Disponible.cur), auto
}
button.botui-actions-buttons-button {
cursor: url(/cursor/No_Disponible.cur), auto
}
#emotion-toggle,
.emoji-item,
.emotion-box,
.emotion-item,
.on-hover,
.tieba-container span {
cursor: url(/cursor/No_Disponible.cur), auto
}
.highlight-wrap code {
cursor: url(/cursor/texto.cur), auto
}

完成